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

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



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®.