[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Using dd and gzip to backup LVM backed domUs
I've read that there can be problems with MySQL databases (for instance) unless you do FLUSH TABLES WITH READ LOCK; before creating the snapshot, but this would not be a problem if you used this method to do a cold backup (i.e., creating an LVM snapshot while the domU is shut down). Now I'm wondering if it would be best possible to take an LVM snapshot and a xen checkpoint at the same time so that if the domU does need to be restored, the data not committed to disk would still be in RAM (loaded from the checkpoint file), so there would not be any loss of data upon restore. Also, if someone could explain to me the dangers of hot backups with LVM snapshots, or point me to a website explaining it, that would be very helpful. Thanks again. On Fri, Oct 17, 2008 at 4:40 PM, Javier Guerra <javier@xxxxxxxxxxx> wrote: > On Fri, Oct 17, 2008 at 4:30 PM, Agent Rooker <agentrooker@xxxxxxxxx> wrote: >> I'm trying to come up with the best way to backup my xen domUs. I >> have a logical volume containing an ext3 root filesystem for each >> domU. Basically, I want to back up the whole filesystem in such a way >> that I could restore the image on another xen server in the case of >> hardware failure. My idea so far is to back up the logical volume >> with a command of this form (from the dom0): > > as always, it's much better to do a backup from the DomU itself. > > -- > Javier > -- Agent Rooker _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |