Re: About doing backups with kvm guests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Kenni Lund" <kenni@xxxxxxx> wrote:

> I'm also very interested in how to make backups of Windows guests on
> LVM. But will the shadow copy feature in amanda not only backup the
> files within the Windows machine? I don't think I fully understand
> the
> method - How do you then do a full restore, eg. with no working
> Windows machine? Would you then have to do a clean install of Windows
> in order to get the partition and bootloader setup correctly, after
> which you can do the restore by overwriting all files?

You can just shut down the VM, make a snapshot, start the VM, dd the snapshot, and finally drop the snapshot.

Or, if that's too much downtime, you can xm save, snapshot, copy save dumpfile, xm restore, dd snapshot, backup dumpfile, and clean up.

If that's too much downtime, you can xm pause, snapshot, xm unpause, etc., but you will have issues with your restore because it will look like the VM crashed and you may or may not lose data.

Personally, I only back up data and never have useful data on a Windows installation volume (or even a native Windows volume, if I can help it). I can reimage a Windows machine with a single command and it only takes a few minutes. (Hint: use Sysprep.) Besides, reinstalling Windows machines is better than restoring them since they progressively bit rot.

-- 
Christopher G. Stach II
http://ldsys.net/~cgs/
_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux