Install an AD LDS Replica From Media
Applies To: Windows Server 2008
You can use this procedure to install an Active Directory Lightweight Domain Service (AD LDS) replica from media. When you do this, you restore a backup of another AD LDS instance from the same configuration set, rather than performing a simple AD LDS replica installation.
Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (http://go.microsoft.com/fwlink/?LinkId=83477).
If Dsdbutil.exe was used to create the installation media (backup) of your AD LDS instance data, skip steps 1 through 7 and begin this procedure with step 8.
To install an AD LDS replica from media
Click Start, point to Administrative Tools, and then click Windows ServerBackup.
On the Action menu, click Recover.
Follow the steps in the Recovery Wizard to specify the location of the source backup data and to identify the specific backup from which you want to recover instance data.
In Select recovery type, click Files and folders, and then click Next.
In Select items to recover, browse to and select the folder that contains the instance data files. By default, AD LDS database and log files are located in %ProgramFiles%\Microsoft ADAM\instance_name\data where instance_name is the AD LDS instance name.
In Specify recovery options, click Another location, specify a temporary location for the recovered files, and then click Next.
To complete the restore, click Recover.
At a command prompt, type the following command, and then press ENTER:
Follow the steps in the Active Directory Lightweight Directory Services Setup Wizard:
On the Select Options page, click A replica of an existing instance, and then click Next.
On the Joining a Configuration Set page, type the host name or Domain Name System (DNS) name of the computer where one of the remaining AD LDS instances of the configuration set is installed. Then, type the Lightweight Directory Access Protocol (LDAP) port number in use by that AD LDS instance, and then click Next.
On the Administrative Credentials for the Configuration Set page, click the account that is used as the AD LDS administrator for your first AD LDS instance.
On the Copying Application Information page, select From the restored backup files in these folders, specify the correct location of the installation media files in the Restored data folder field, leave the Restored data recovery folder field empty, and then click Next.
On the Copy Application Partition page, select the application directory partitions that you want to replicate to the new AD LDS instance.
Accept the default values on the remaining Active Directory Lightweight Directory Services Setup Wizard pages by clicking Next on each page, and then click Finish on the Completing the Active Directory Lightweight Directory Services Setup Wizard page.
You can also use this procedure to restore a retired AD LDS replica from media. However, we recommend that you first perform a metadata cleanup of any retired AD LDS replica that you plan to restore from media. For more information about metadata cleanup, see Appendix A: Metadata Cleanup for the Retired AD LDS Instances.