I've been looking into doing offsite backups of running xen VMs. The
method being considered is making a snapshot of the VMs disk,
mounting this, and then rsyncing it to the backup server. This has of
course a number of issues with regards to consistency e.g. status of
database files etc. Some of these are easy to solve (in the case of
databases, doing some kind of dump before the snapshot is made, for
instance) but some are not so easy e.g. files which are being edited
just as the snapshot is taken.
One issue I have noticed is that of filesystem inconsistency, the
snapshot of course being at a lower level than the filesystem. TO
deal with this, I have been running fsck on the snapshot, which has
worked so far, but I guess it's only a matter of time before I get a
filesystem state which fsck can't automatically handle.
Have any of you looked at any of these issues?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!