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 domU backups

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] xen domU backups
From: James Pifer <jep@xxxxxxxxxxxxxxxx>
Date: Wed, 15 Oct 2008 08:17:10 -0400
Delivery-date: Wed, 15 Oct 2008 05:18:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48F5ABA6.6040008@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Mailscanner-null-check: 1224678298.05477@ZF/LJgGmLcUyu4EDWi1BKA
References: <1223999524.22685.24.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <87wsgbrokk.fsf@xxxxxxxxxxxxx> <48F5ABA6.6040008@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> Sometimes it helps.   If you do a save-backup-restore that helps even 
> more, but be aware that if you ever restore and start the backup then it 
> will continue doing what it did at the time of the backup.  In fact, 
> everything it had in progress at the time of the backup will be done 
> again.   At the "mostly harmless" end of the spectrum you'll get mail 
> messages that were in a queue re-sent; at the other end of the spectrum 
> ... Well, that depends on the applications.
> 
> You need the cooperation of those applications because you can't just 
> blindly restore (and restart) the backed up domU image and hope that 
> everything will be fine.

Thanks for the replies. 

So, right now, the only way to make a backup of a disk based image file,
is to shutdown the domU, copy the img file, and restart the domU.
Correct?

I suppose for linux pv's I could at least do this from a script during
the night, ie:

xm stop [domU-name]
cp --sparse=always blah blah
xm start [domU-name]

Windows I would have to stop manually, otherwise they are shut down
hard. I have a somewhat recent version of the GPLPV drivers installed,
but I have yet to see my Windows domU's shutdown nicely. I have not
spent much time troubleshooting, but I believe I have the shutdown
monitor service install.

Thanks,
James


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

<Prev in Thread] Current Thread [Next in Thread>