Active Directory Lightweight Directory Services – Backup

Backing up AD LDS is similar to backing up Active Directory: either take a backup of the System State via Windows Server Backup, or via the command line AD LDS utility dsdbutil.exe.

To back up an AD LDS instance via PowerShell, call dsdbutil with the required parameters.  Also note that the folder that dsdbutil is saving the backup to must be empty of all files and subfolders.

This script can be run via .ADLDSBackup.ps1 InstanceName.  A backup will be placed in C:\backup\InstanceName\adamntds.dit.

One Comment

  1. The Active Directory Lightweight Directory Service (AD LDS) is Microsoft’s light-weight implementation of Active Directory. The service was formerly known as Active Directory Application Mode (ADAM) and can be run on any computer running Microsoft Windows Server. Providing similar functionality as AD, the lightweight implementation does not require the administrator create domains or domain controllers. It does provide a Data Store to place directory data and a Directory Service with a LDAP interface. One server can run multiple instances of AD LDS.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.