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] Re: 100% safe way to backup domU: (was Yet another backu

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: 100% safe way to backup domU: (was Yet another backup)
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Fri, 12 Jan 2007 17:33:44 +0000
Cc: Ligesh <myself@xxxxxxxxxx>, Ulrich Windl <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>, Roger Lucas <roger@xxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Jan 2007 09:33:06 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Z3E5iqtW7eaNnbAEGrhp6RUVlGTEfDN+rR6v99W05L6VDTKmWPUvJn8hkoDW7rB16i/sK20jxJhfApBN/ZH8KkItXT2KJLpTdpUGoZPJyXd7YQ3Lm5G3b+zSyXLLCBbAx7DSzLt9C3NnDQtRfxXafwQsJHcCaMnd+ytnyik8xvE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200701121552.19156.mark.williamson@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200610210406.25460.mark.williamson@xxxxxxxxxxxx> <200701120328.15461.mark.williamson@xxxxxxxxxxxx> <20070112101127.GA23576@xxxxxxxxxx> <200701121552.19156.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)
Mark Williamson wrote:
 Is there a way to get a complete image out of an LVM? The only way I found
to extract files from an LVM snapshot was to mount it, but when you do that
you are mounting a badly corrupted file system, and trying to take backup
from it.

I think you should just be able to backup the device file that you'd usually mount. Just treat the snapshot's device file as *the* file to backup.
Unfortunately, backing up devices is rife with risks, due to databases (which may have things in RAM not yet written to disk but which will mess up things that *have* been written to disk if they don't happen), and due to disk paging (stuff that to a user looks like it's been written to disk may not have actually made it to the disk yet, it may not be paged out yet). The sync command helps with the latter, but can't do anything about the former.

Thinking about these things is why people who make industrial grade backup software get paid.



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

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