WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen backups using LVM Snapshots

On Wed, Oct 15, 2008 at 2:17 AM,  <lists@xxxxxxxxxxxxx> wrote:
> Each DomU with a database has a cron that dumps the db with mysqldump.  Later 
> on, Dom0 will do an LVM Snapshot of all DomUs and then do a file system 
> backup of the Snapshots.  I do no actions on the DomUs.  No shutdown or 'xm 
> pause/save/...'


as you must have seen already, those snapshots mount as 'dirty'
filesystems, since they're exact copies of an already mounted
filesystem.  therefore, you have to run fsck on mount (usually
automatic on journalling filesystems).  depending on the journalling
algorithm, you risk having non-written data.

much safer, and easier IMHO, is to do a regular network backup.
something as simple as pulling via rsync the files you need.  (i
really like rsnapshot)

-- 
Javier

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users