[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Backup solution
Artur Linhart wrote: > OK, but - if You create the LVM snapshot volume and make the backup of it, > You assume the OS running in VM has written everything correctly to the > logical volume and the logical volume is in consistent state. > [snip] > But this assumption seems to be dangerous for me, especially by Windows DomU > - how can You be sure, the OS hdd driver has written everything to the > logical volume before You create the snapshot volume? > > In general, you don't. However, like I said earlier, for production system you'd generally design a system that MUST be able to survive a power failure/hard reboot anyway. Part of doing this is ensuring that applications ALWAYS flush disk cache (with fsync, etc.) on every write (to transaction logs, datafiles, etc). Oracle AFAIK does this by default, MySQL can be setup to do so. As for "the logical volume is in consistent state", when snapshots are mounted there's an automated journal replay (if you use journaling filesystem), meaning it should always be in consistent state. I believe it basically comes down to this : if your domU can survive a power failure/hard reboot, it should be able to use LVM snapshots for backup. As others have pointed, this is not the only available backup solution. You should choose one that fits your need best. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |