Restoring an Instance
To restore a backup of an AD LDS instance, stop the AD LDS instance using the Services Administrative Tool and then use the Windows interface of Backup to perform the restore operation. If objects in the directory are inadvertently deleted or modified and if those objects are replicated in a configuration set, you must authoritatively restore those objects so that the correct version of the objects are replicated.
To restore a backup of an AD LDS instance
- After stopping the AD LDS instance, open Backup. Click Start, point to All Programs, point to Accessories, point to System Tools, and then click Backup.
- In Backup or Restore Wizard, click the link for Advanced Mode.
- In Advanced Mode, click the Restore and Manage Media tab.
- Select the backup file for the instance to restore by clicking its check box.
- In Restore files to, click Original location.
- From the Tools menu, click Options. In the Restore tab of Options, click Always replace the file on my computer. Click OK.
- Click Start Restore.
- When the Confirm Restore dialog appears, click OK.
- When the restore is done, click Close in the Restore Progress dialog.
After restoring a backup of an AD LDS instance, perform the following steps.
To perform an authoritative restore of an AD LDS instance
- Open an AD LDS tools command prompt. Click Start, point to All Programs, point to AD LDS, and then click AD LDS Tools Command Prompt.
- At the command prompt, type "dsdbutil".
- At the dsdbutil prompt, type "authoritative restore"
- At the authoritative restore prompt, type one of the commands listed in the following table.
The following table lists authoritative restore commands.
Command | Description |
---|---|
restore database | Performs authoritative restore of the entire directory database |
restore object dn | Performs authoritative restore of the directory object whose distinguished name is represented by dn |
restore subtree dn | Performs authoritative restore of the directory subtree whose distinguished name is represented by dn |
For more information about restoring an AD LDS instance, see Restore an AD LDS instance in the Active Directory Lightweight Directory Services Help.
Related topics