Windows Server 2016-wbadmin command-line backup domain controller

Source: Internet
Author: User

In the previous chapter we talked about the Windows Server 2016-graphical backup domain controller approach, in this chapter we talk about how to back up a domain controller from the command line Wbadmin. In Windows Server active Directory, System State data typically includes the COM + Class registration database, the registry, boot files, system files, the SYSVOL directory, and so on.

Before running Wbadmin, we first need to know which command lines are supported in the current operating system. The simplest way to do this is to run wbadmin/? Under the command line, as follows:

1, understand wbadmin related help information:

    1. To view the available disk identifiers: Wbadmin get disks:

3. To view the previous backup set: Wbadmin get versions

Backup system disk C drive to D drive: Wbadmin start backup–backuptarget:d:-include:c:

–backuptarget behind and back to the destination. The include is specified after the drive letter or content that needs to be backed up. The data to be backed up in the example is the contents of the C: \ disk. If the content that needs to be backed up contains several different drive characters, the two paths can be implemented with only a single comma. The system asks if you want to enter "Y" When you start the backup, and after the backup is complete, we can see if the success information is backed up by Wbadmin get versions.

4. Back up the system state to the D drive: Wbadmin start systemstatebackup–backuptarget:d:

Enter Y as prompted to confirm the start of the backup operation.

5. The backup was successful and we can see that the backup file has been generated with the current timestamp as the log name.

At this point, the currently backed up information is viewed through wbadmin get versions.

Simple steps to backup through the command line have been introduced for everyone, hope can help everyone. In a production environment, we can save this command as a bat script by setting a scheduled task to make a scheduled backup of the system state of the domain controller to improve the content of the data security. Thanks for your support.

Windows Server 2016-wbadmin command-line backup domain controller

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.