Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am looking to backup my Domain Controller with Bacula. I figure for this I probably want to use Windows Backup to create a local backup of the critical data locally and then have bacula grab that bkf file (or whatever it is these days).

However the instructions from MS here dsy there is an option for critical volumes or a "Enable system recovery checkbox". However, I only see:

  • System State
  • Bare Metal
  • The various drives in the system

I can I back up the critical AD and DNS data without backing up the entire server?

share|improve this question
    
Is your DNS integrated with AD? –  jscott Aug 16 '10 at 17:16

2 Answers 2

up vote 6 down vote accepted

As Massimo says, you'll need to perform a System State backup and then cover that backup with Bacula.

The standard way of performing such a backup file-level backup of the system state on prior versions of Windows was to use ntbackup to write out a BKF file with the system state and cover that file with backup.

Windows Server 2008 removes ntbackup and adds the "Windows Backup" functionality. You can do a system state backup with wbadmin start systemstatebackup -quiet -backuptarget:X:, replacing X: with a destination volume. You'll get a folder hierarchy in that volume, "X:\WindowsImageBackup", that will contain the backup set.

Beware, though-- if you attempt the backup on to the "C:" volume you'll receive a "ERROR - The location for backup is a critical volume" in a stock W2K8 install. You can send the backup to some other volume or you can set a flag to work around this "feature". Microsoft has an article describing how to override this behavior, which basically amounts to creating a REG_DWORD value named "AllowSSBToAnyVolume" set to "1" at "HKLM\SYSTEM\CurrentControlSet\Services\wbengine\SystemStateBackup".

share|improve this answer
    
7GB for two users and a couple dozen DNS entries (System State) ... seems a bit excessive :-) Know if it is possible to make this any more specific or do I actually need all that data? –  Kyle Brandt Aug 16 '10 at 18:57
1  
There is no supported (or easily restorable) method of backup for Active Directory backup except for a System State backup. It seems wasteful, but it's what Microsoft decided. –  Evan Anderson Aug 16 '10 at 19:13
    
So the new backup seems pretty ill suited for my scheduling needs (Can't specify network drive, has to be once a day etc). Do you know if I cam just make wbadmin commands as scheduled tasks? (Edit: Nevermind, command line can't backup to mapped drive either) –  Kyle Brandt Aug 19 '10 at 13:33
    
@Kyle: You can definitely run wbadmin from a scheduled task. –  Evan Anderson Aug 19 '10 at 14:16

Historically, Active Directory backup/restore has always been associated with full system state backups; this is in my opinion a very unfortunate design choice by Microsoft, particularly pre-Windows 2008, when a system state backup could only be restored on the very same hardware where the backup was created.

So, in order to take a full AD backup on a domain controller, you'll have to take a full system state backup, as per the article you linked; DNS data will be automatically included if your DNS zones are AD-integrated (they should). In the unlucky case in which they are not, they you should also backup the DNS zone files (which by default reside in the system directory, so are usually included anyway).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.