Export (0) Print
Expand All

Back Up AD LDS Instance Data

Updated: August 8, 2008

Applies To: Windows Server 2008

You should back up Active Directory Lightweight Directory Services (AD LDS) data and log files regularly to ensure the continued availability of data to applications and users in the event of a system failure.

By default, each instance of AD LDS that is running on an AD LDS server stores its database file, Adamntds.dit, and the associated log files in %program files%\Microsoft ADAM\instance_name\data, where instance_name is the AD LDS instance name. Include these files as part of the regular backup plan of your organization. You back up data for an AD LDS instance by backing up these files.

In the following sections, back up your AD LDS instance data by using the following tools:

For more information about installing Windows Server Backup, see Installing Windows Server Backup (http://go.microsoft.com/fwlink/?LinkId=96495).

For general information about Windows Server 2008 Windows Server Backup, you can view the Help on your server. To display Help, open Windows Server Backup, and then press F1.

Membership in the local Backup Operators group, 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).

ImportantImportant
Before you back up the AD LDS folder of an instance, use the Services snap-in to confirm that the instance is started. To start Services, click Start, click Administrative Tools, and then click Services. Because the instance service must be running when the files are backed up, you must use a backup utility (such as Windows Server Backup) that can back up open files.

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

  2. On the Action menu, click Backup once.

  3. In the Backup Once Wizard, on the Backup options page, click Different options, and then click Next.

  4. On the Select backup configuration page, click Custom, and then click Next.

  5. Select the volume or volumes that contain the AD LDS database and log files, and then click Next.

    noteNote
    You can install the AD LDS database and log files on separate volumes.

  6. On the Specify destination type page, select Local drives or Remote shared folder, depending on whether you want your backup to be stored locally or remotely.

  7. On the Select backup destination page, specify the appropriate drive where you want the backup to be stored.

  8. Complete the wizard to begin the backup operation.

CautionCaution
If you backed up data from an NTFS file system volume, we recommend that you restore the data to an NTFS volume of the same version to prevent loss of data.

With the Dsdbutil.exe tool, you can create installation media that corresponds only to the AD LDS instance that you want to back up, as opposed to backing up entire volumes that contain the AD LDS instance.

Membership in the local Backup Operators group, 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).

  1. Click Start, right-click Command Prompt, and then click Run as administrator to open an elevated command prompt.

  2. Type the following command, and then press ENTER:

    dsdbutil
    
  3. At the dsdbutil: prompt, type the following command, and then press ENTER:

    activate instance <instance_name>
    

    where <instance_name> is the name of the AD LDS instance that you want to create the installation media for.

    Example:

    activate instance instance1
    

    At the dsdbutil: prompt, type the following command, and then press ENTER:

    ifm
    
  4. At the ifm: prompt, type the command for the type of installation media that you want to create, and then press ENTER:

    create full <location>
    

    where <location> is the path to the folder where you want the installation media to be created. You can save the installation media to a network shared folder or to any other type of removable media.

    Example:

    create full C:\Backup\instance1
    
  5. To exit dsdbutil:

    1. At the ifm: prompt, type quit, and then press ENTER.

    2. At the dsdbutil: prompt, type quit, and then press ENTER.

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

Community Additions

ADD
Show:
© 2014 Microsoft