Schedule backups of your AD LDS instance using Dsdbutil

By | April 9, 2009

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!

One thought on “Schedule backups of your AD LDS instance using Dsdbutil

Leave a Reply

Your email address will not be published.

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