Active Directory Backup and Restore in Windows 2008
Focus: Active Directory Backup and restore
Taking backup
1. Open command prompt and execute “wbadmin start systemstatebackup -backuptarget:e:\”
- In Windows 2008, need to install the Windows server backup feature, as it is not installed by default.
2. Confirm that the backup is successful using the command “wbadmin get versions”
Restoration
1. Restart the server in Directory Service Restore Mode (DSRM)
2. Get the version ID of the available backup using “wbadmin get versions”
3. Run the restoration using the command “wbadmin start systemstaterecovery -version:versionID"
Making the Restoration Authoritative
1. At a command prompt, type ntdsutil, and then press ENTER.
2. Type authoritative restore, and then press ENTER.
3. You will be prompted as "Active Instance not set. To set an active instance use "Activate Instance ".
4. Type activate instance ntds and then press ENTER
5. Then type the command restore subtree dc=Domain_Name,dc=xxx
and then press ENTER:
Note: In windows 2008, Restore database command is not supported as it may cause some serious problems.
Taking backup
1. Open command prompt and execute “wbadmin start systemstatebackup -backuptarget:e:\”
- In Windows 2008, need to install the Windows server backup feature, as it is not installed by default.
2. Confirm that the backup is successful using the command “wbadmin get versions”
Restoration
1. Restart the server in Directory Service Restore Mode (DSRM)
2. Get the version ID of the available backup using “wbadmin get versions”
3. Run the restoration using the command “wbadmin start systemstaterecovery -version:versionID"
Making the Restoration Authoritative
1. At a command prompt, type ntdsutil, and then press ENTER.
2. Type authoritative restore, and then press ENTER.
3. You will be prompted as "Active Instance not set. To set an active instance use "Activate Instance ".
4. Type activate instance ntds and then press ENTER
5. Then type the command restore subtree dc=Domain_Name,dc=xxx
and then press ENTER:
Note: In windows 2008, Restore database command is not supported as it may cause some serious problems.
Comments
Post a Comment