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'm reading this article on caveats and best-practices for running DCs in VMs. It states that the only way to back up a virtualized DC would be to use Windows Server Backup on the guest, due to interactions with Active Directory, and USN rollback, and yadda yadda. Is this accurate? My organization uses DPM 2007 for backups, with system states and full disk backups (from within the guest server, not the VHD from the host) going on each virtual DC daily. If using DPM is supported, what are the correct practices to back up and restore virtual DCs?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

A brief and very simplified explanation:

When "restoring", using a snapshot, the active directory database on the DC in question will not update its own invocation ID, leaving other DC's unaware of the fact that it has been restored.

Since the information about object "up-to-dateness" in an active directory partition in correlation to its replication partners depend on self-contained information (in the form of database and object USN's), the Domain Controller can not possibly be aware that it has been restored either, and so you run the risk of leaving objects on the DC in a stale state.

This is not just yadda yadda, blah blah blah, this is serious stuff, you might end up destroying more than you rebuild.

The issue of USN rollbacks due to unsupported recovery methods like snapshot reverts is covered extensively in this KB-article: http://support.microsoft.com/kb/875495. Here is an example from the real world

The bottom line is:

Snapshots are not valid as AD DS backups!

If you intend to back up your Domain Controller for active directory disaster recovery purposes (which I can only recommend), be sure to back up the system state of the VM, not the VHD. I haven't used DPM myself, but as I understand you can have DPM automatically retrieve the system state backup from wbadmin on the VM

share|improve this answer
    
If I only back up the System State, and the whole VM itself is shot, how would I go about getting it back up and running again? Just make a fresh VM image with a new Windows install and restore the system state? –  Bigbio2002 Feb 17 '12 at 15:46
    
As long as the VM has the same HW configuration and OS, yes. –  Mathias R. Jessen Feb 17 '12 at 16:02
    
I see. Another option I've heard is to restore the last full-system backup, boot into DSRM, then restore the system state. Is this valid too? Which is the "correct" method? –  Bigbio2002 Feb 17 '12 at 17:51

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.