Export (0) Print
Expand All

Appendix B: Restore an AD LDS Instance with a Backup Taken with Dsdbutil.exe

Updated: August 27, 2007

Applies To: Windows Server 2008

If Dsdbutil.exe was used to create the installation media (backup) of your Active Directory Lightweight Directory Services (AD LDS) instance data, restore this AD LDS instance using the following procedure.

You cannot use Windows Server Backup to restore an existing or retired AD LDS instance with a backup that was created with Dsdbuti.exe.

You can install an AD LDS replica from media using an AD LDS data backup that was created with Dsdbutil.exe.

  1. Stop the AD LDS instance that you just created, as follows:

    1. Click Start, point to Administrative Tools, and then click Services.

    2. In Services, right-click the AD LDS instance, and then click Stop.

      noteNote
      If you accidentally start a restore of an AD LDS instance over a currently running AD LDS instance, we recommend that you immediately restart the computer, stop the AD LDS instance, and then perform the restoration again.

  2. Delete the files in 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 name.

  3. To copy the AD LDS backup that was created with Dsdbutil.exe into the folder that contained the original AD LDS database and log files, type the following command, and then press ENTER:

    xcopy /os <location>\adamntds.dit %ProgramFiles%\Microsoft ADAM\instance_name\data\adamntds.dit
    

    where <location> is the path to the folder where the installation media was created.

    Example:

    xcopy /os C:\Backup\instance1\adamntds.dit  %ProgramFiles%\Microsoft ADAM\instance1\data\adamntds.dit
    
  4. Start the AD LDS instance as follows: Click Start, point to Administrative Tools, and then click Services.

  5. In Services, right-click the AD LDS instance, and then click Start.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft