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/
Home Products Support Community News


Re: [Xen-users] Xen Backup Method

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen Backup Method
From: Molly Bloom <psalviato@xxxxxxxxx>
Date: Wed, 8 Apr 2009 09:49:27 +0200
Delivery-date: Wed, 08 Apr 2009 00:50:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=C7qih+BHB4y37sXQN5kkr9VQBHNrziyZensj876jOvk=; b=OMyDTskdgFSyzZBoLRP2O6vgUzsX9Cud+zKIB10hAV7waD6slRr5UP4cp7SeCpP0Uf pZiHPAWglkQy2e/xRlAIPHzChlCrkT/jn4PKxDEkcuyGFh1F8NB2RUU7cNCYsRaJEUd2 GUPhZlelid7QfhfcNKbFTSexlKHBD4aoXtC9E=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QwnMr39RnTvLwPVf8ebTymXxxHJG0bbr1yhpfge8d8umiYYPkcw7kmYGyWSrL1m/ie gsx4keZ4CVfcBtYJwhFMBhiFOunERaEGcJfwgZa4mu90VVEH5m/me5VKNrzhAJJw+NRj 6NDtF9m7NQ95yOAATtd/MrPkj10vHpHQQQXpE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <90eb1dc70904071612v55d6c566hd71ca85e043b79a6@xxxxxxxxxxxxxx>
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>
References: <49D4C940.6090807@xxxxxxxxxxxxxxx> <90eb1dc70904020806k3b65018eh9378f7554295eb45@xxxxxxxxxxxxxx> <EBEEB3C8FBD6B0448AEDF986B303BEB60ED883D9@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1239130017.8471.34.camel@xxxxxxxxxxxxxxxxxxx> <90eb1dc70904071230n98b98cdudbf78db6f4ee3ed6@xxxxxxxxxxxxxx> <1239138775.8471.56.camel@xxxxxxxxxxxxxxxxxxx> <90eb1dc70904071432g74b91394td6e89dddc74ee987@xxxxxxxxxxxxxx> <1239144394.8471.85.camel@xxxxxxxxxxxxxxxxxxx> <90eb1dc70904071612v55d6c566hd71ca85e043b79a6@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I've been told that Rsnapshot is an excellent way to get a good backup.
Would you agree?


2009/4/8 Javier Guerra <javier@xxxxxxxxxxx>
On Tue, Apr 7, 2009 at 5:46 PM, Kevin Fox <Kevin.Fox@xxxxxxx> wrote:
> Not exactly. I think the whole ext4 uber thread on
> create/write/rename/no fsync thing showed that there are cases when that
> can have bad results. I think your pretty safe doing it with ext3 (but
> there was some mention of a 5 second window that may be a problem).

i haven't tested ext4 yet; but some of those issues are shrugged off
with a "XFS does that since forever".  and in the end all the blame is
to the application, and rsync is the best behaved copy i've seen.

i've done several disaster tests with both 'cp -a' and rsync, using
ext3, XFS and JFS, both with local and AoE disks, pulling the plug on
the initiator, the target and the switches.

in short:

ext3 is the most resilient, by far.  the journal rollback (with
data="" goes a long way in the past to guarantee only correctly
copied files are there.
cp loses data on all three filesystems
rsync never loses data on ext3, and only one file on ~3% cases on XFS
jfs always loses thousands of files.

so, i prefer ext3, and if need more than 8TB in one filesystem, i use
XFS without real worries.  always copying with rsync, of course. it
seems that cp does the 'braindead' (quoting Linus) method.

i guess ext4 will be like XFS, but with data="" it should be a
little like ext3.  in any case, rsync does it correctly.


Xen-users mailing list

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>