2008 backup and restoration of the Active Directory

Source: Internet
Author: User

Install Windows Server backup Management Console backup:

A. Back up data using the command line tool:

[Manual backup] wbadmin start backup-backuptarget: e:-include: D:

Command parameters are described as follows:

Start backup: Start backup

Backuptarget: backup storage location

Include: backup target

Automatic Backup: Open the command prompt and enter 'wbadmin get disk' to display available disks.

Wbadmin enable backup-addtarget: disk Identifier-schedule: 22: 00-include: D:-allcritical

Command parameters are described as follows:

Enable backup: enables backup.

Addtarget: The storage location of the backup target. Enter the unique disk identifier.

SCHEDULE: Backup execution time

Include: backup target

Allcritical: includes the system disk partition volume


B. Data Restoration

Open the command prompt: Enter "wbadmin get versions" to display the available backup set version. You must use the unique identifier of the Backup set version, for example, 04/19/2013-

Wbadmin start recovery-version: 04/19/2013-05-51-itemtype: file-items: D: \ file1.doc-recoverytarget: D :\

Command parameters are described as follows:

Start recovery: start recovery

Version: the backup version to be restored. Enter the unique identifier of the Backup version.

Itemtype: the type to be restored, such as volume, app, and file.

Items: Backup list included in the project

Recoverytarget: directory to be restored

C: Task Plan:

1. Use the wbadmin command to create a backup script and save the following command in the backup_d.bat file.

Wbadmin start backup-backuptarget: e:-include: D:-quiet

Command explanation: Quiet: Run this command without prompting the user.

2. Click Start> program> System Tools> Task Scheduler to open the task scheduler.

D. Active Directory backup:

Open the command prompt and enter "wbadmin /?", The command in the system status is displayed.

Run wbadmin start systemstatebackup-backuptarget: F: To start system status backup.

E. Restore the Active Directory:

1. Unauthorized Restoration:

Restart the server, press F8 at startup, select "Directory Service Restoration mode", click another user, and log on to the local machine with ". \ Administrator" as the user name.

Open the command prompt, enter "wbadmin get versions", view the backup set, and enter "wbadmin start systemstaterecovery"-version: 04/19/2013-

2. Authorization Restoration:

Restart, press F8 at startup, enter safe mode, and perform unauthorized restoration. Do not restart the computer after the non-authorization is completed, and enter "ntdsutil" at the command prompt ", press enter to continue with the command "Activate instance NTDs", and then enter the command "authoritative restore" to enter the authorization recovery mode. Run the "Restore object Cn = usera, Dc = Benet, Dc = com" command to restore usera.


2008 backup and restoration of the Active Directory

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.