Microsoft Technet describes how to back up an AD LDS instance using either Windows Server Backup or Dsdbutil.exe. Interestingly, the Dsdbutil method leverages the Install From Media (IFM) feature to perform the backup. Here’s a small batch file that you can use to schedule the backup using the Task Scheduler.
@echo off
rd /s c:\backup\adlds\Instance1\ /q
%windir%\system32\dsdbutil.exe “ac i Instance1” ifm “create full c:\backup\adlds\Instance1” q q
Enjoy!
For a Powershell version, see my next post:
http://www.open-a-socket.com/index.php/2009/04/21/schedule-backups-of-your-ad-lds-instance-using-dsdbutil-2/
Tony