[Samba] AD Backup Best Practice

Viktor Trojanovic
Sun, 10 Feb 2019 19:50:35 -0000

On Sun, 10 Feb 2019 at 20:46, Luke Barone via samba <samba at
lists.samba.org>
wrote:

> In our organization, we tested the crap out of different backup methods
> before rolling out AD. Here's what we tested and worked:
>
> 1. All DCs are VMs, on at least two different VM hosts (either running
> Virtualbox, Xen or KVM)
> 2. All domains have at least two DCs
> 3. We shutdown (nicely) DC2, and backup the disk image and machine
> definition file to our backup server
> 4. We turn on DC2 again.
>
> Steps 3 and 4 are done via cron scripts
>
> To restore, we expect DC1 and DC2 to have COMPLETELY been destroyed.
> Otherwise, we spin up a new VM and join as another DC. When we restore from
> complete failure, we take the nightly backup, and spin up the VM on a new
> host. Done.


Thanks for this real-life example. I'm curious, since you say that both DCs
are in a VM and you tested various methods, have you tried using snapshots
instead of powering down DC2?

Viktor