I have tried copying a domU and its config file as a means of creating a full backup of a domU but I get filesystem errors when I try to roll back to the old file. How does every one else here backup there domU''s. Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Mon, Aug 28, 2006 at 08:37:48PM -0400, Edson Manners wrote:> I have tried copying a domU and its config file as a means of creating a > full backup of a domU but I get filesystem errors when I try to roll back > to the old file. How does every one else here backup there domU''s. Thanks.You can do it your way - but you''ve got to shutdown the domu before backing it up. If your root partition is an XFS-filesystem, you might be able to dump a running domu-filesystem-image after calling xfs_freeze (inside the domu). However, I wouldn''t recommend using XFS as root filesystem. The other option is to use some kind of network backup client in your domu or tar/cpio/dump all necessary partitions somewhere. I just tar all my domu''s root-partitions into a network filesystem directory. Regards, FB _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tuesday 29 August 2006 10:53, FB wrote:> You can do it your way - but you''ve got to shutdown the domu before > backing it up. If your root partition is an XFS-filesystem, you might > be able to dump a running domu-filesystem-image after calling xfs_freeze > (inside the domu). However, I wouldn''t recommend using XFS as root > filesystem. > > The other option is to use some kind of network backup client in your domu > or tar/cpio/dump all necessary partitions somewhere. > > I just tar all my domu''s root-partitions into a network filesystem > directory.I use LVM, and a script running in dom0 I knocked up to create snapshots of each running domU in turn, then rdiff-backup to send the data off somewhere else. -- Mike Williams _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 29 Aug 2006, at 6:04 PM, Mike Williams wrote:> On Tuesday 29 August 2006 10:53, FB wrote: >> You can do it your way - but you''ve got to shutdown the domu before >> backing it up. If your root partition is an XFS-filesystem, you might >> be able to dump a running domu-filesystem-image after calling >> xfs_freeze >> (inside the domu). However, I wouldn''t recommend using XFS as root >> filesystem. >> >> The other option is to use some kind of network backup client in >> your domu >> or tar/cpio/dump all necessary partitions somewhere. >> >> I just tar all my domu''s root-partitions into a network filesystem >> directory. > > I use LVM, and a script running in dom0 I knocked up to create > snapshots of > each running domU in turn, then rdiff-backup to send the data off > somewhere > else.Hi Mike, I''d read about problems with LVM snapshots on earlier 2.6 kernels and didn''t immediately turn up anything that indicated it had been resolved. Any issues to watch out for or has it all been relatively plain sailing for you? James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christoph Purrucker
2006-Aug-29 12:30 UTC
Re: [Xen-users] How to make a copy (backup) of domU
Hi Mike,> I use LVM, and a script running in dom0 I knocked up to create snapshots of > each running domU in turn, then rdiff-backup to send the data off somewhere > else.You mount the snapshot-LVs in your Dom0 to backup your files, right? You do not image the whole LV ''dd''-like. I''m wondering how to create and keep in sync a stand-by server with all my DomU. Has someone a patented solution to do the job? cu cp _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tuesday 29 August 2006 13:30, Christoph Purrucker wrote:> > I use LVM, and a script running in dom0 I knocked up to create snapshots > > of each running domU in turn, then rdiff-backup to send the data off > > somewhere else. > > You mount the snapshot-LVs in your Dom0 to backup your files, right?Yes. rdiff-backup is a superb backup program.> You > do not image the whole LV ''dd''-like.God no, what a waste of time and space.> I''m wondering how to create and > keep in sync a stand-by server with all my DomU. Has someone a patented > solution to do the job?DRBD -- Mike Williams System Administration Manager - Comodo Office Tel Europe: +44 (0) 161 8747070 Fax Europe: +44 (0) 161 8771767 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tuesday 29 August 2006 13:28, James Gallagher wrote:> > I use LVM, and a script running in dom0 I knocked up to create > > snapshots of > > each running domU in turn, then rdiff-backup to send the data off > > somewhere > > else.> I''d read about problems with LVM snapshots on earlier 2.6 kernels and > didn''t immediately turn up anything that indicated it had been > resolved. Any issues to watch out for or has it all been relatively > plain sailing for you?I''m on 2.6.16.18 and snapshots are still marked experimental. All I do is create the snapshot, mount it, run the backup, umount it, and remove the snapshot. No problems so far. This is only for testing Xen though. -- Mike Williams System Administration Manager - Comodo Office Tel Europe: +44 (0) 161 8747070 Fax Europe: +44 (0) 161 8771767 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users