Create an LDIF File for Recovering Back-Links for Authoritatively Restored Objects
Applies To: Windows Server 2008, Windows Server 2008 R2
When you perform an authoritative restore in a domain where deletions of Active Directory objects occurred, the Ntdsutil tool generates a text (.txt) file that identifies the objects that have been restored. You can use this .txt file to generate an LDAP Data Interchange Format (LDIF) file (.ldf) in other domains that might have back-links from the restored objects.
This procedure generates the .ldf file that you need to recover back-links in this domain. Perform this procedure on a domain controller in the domain that might have the back-links.After you complete this procedure, you must use the Ldifde tool to run the .ldf file on a domain controller in the same domain, as described in Run an LDIF File to Recover Back-Links.
Note
To ensure that current group objects are updated, run the .ldf file on a domain controller other than the domain controller that you use to generate the .ldf file.
Before you perform this procedure, you must:
Copy the .txt file that Ntdsutil created during the authoritative restore procedure, which you performed on the first domain controller, to a location on this domain controller or a network share.
Restore this domain controller from backup.
After you restore this domain controller from backup, perform this procedure while the domain controller is still running in Directory Services Restore Mode (DSRM).
To perform this procedure, you must provide the Administrator password for DSRM.
To create an .ldf file for restoring back-links for authoritatively restored objects
In DSRM, click Start, click Run, type ntdsutil, and then press ENTER.
At the
ntdsutil:
prompt, typeauthoritative restore
, and then press ENTER.At the
authoritative restore:
prompt, type the following command, and then press ENTER:create ldif files from <TextFilePath>
Where
<TextFilePath>
is the location and file name of the .txt file that Ntdsutil created during the initial authoritative restore of the object whose back-links you want to restore, for example, d:\ldif\ar_20080609_091558_objects.txt.Ntdsutil displays a message stating that one or more specified objects have back-links in this domain and an .ldf file has been created in the current working directory.
At the
authoritative restore:
andntdsutil:
prompts, typequit
.