|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Re: Mounting domU filesystem on Dom0. (xm mount)
On Thu, 15 Mar 2007, Ligesh wrote:
In fact, that's a nice way to do perfect backup. Take an lvm snapshot
and also save the ram image, and you can restore the state perfectly.
Don't forget that you need to get memory and LVM snapshots in the _exact_
time. But if you "xm pause" just before snapshot+save, it might actually
work (I really don't know).
However, you won't have "perfect" state. You will, for example, probably
have a nice mess with your network connections if you restore the ram
image after some connections have already timed out. It _might_ be a
problem.
lvm2 snapshot
e2fsck -f -y /dev/lvm-snapshot
mount -o ro /dev/lvm-snapshot /mnt/backup
rsync /mnt/backup
You don't need forced fsck. Journal reply should be enough. But occational
full fsck might be useful nevertheless.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|