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

Re: [Xen-users] Backup domU image at runtime



OK, Thank you very much!

And how could I make a backup of a whole domU at runtime? is that possible?

Now what I'm doing is backing up the files of domU with rdiff-backup but I'd like a system that allow to restore a domU quickly (now I've to reinstall the whole SO and restore the files and applications)

Thanks!





On Fri, Mar 9, 2012 at 9:17 AM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
On Fri, Mar 9, 2012 at 2:50 PM, Alberto Asuero <albertoasuero@xxxxxxxxx> wrote:
> Hello!
>
> I'm running xen 3.4.1, I've a partition with lots of virtual machines mount
> at /vserver/images/domains. Inside that folder I've all the img disk
> (created with dd) of each virtual machine.
>
> # ls  /vserver/images/domains
>
> # win_xp.img win7.img ubuntu.img debian.img w2008.img gentoo.img
>
> Could I run a cp or rdiff-backup over /vserver/images/domains when these
> virtual machines are running?

No.

At the very least, you need to either:
- pause the vms first (xm pause ..., xm resume ...), or
- if the "partition" is on LVM, create an LVM snapshot first, mount
it, and THEN back it up (don't forget do delete the snapshot
afterwards).

--
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.