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

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.