backup rsync

Marcus Schopen lists at localguru.de
Mon Sep 1 09:37:15 EDT 2014


Am Samstag, den 30.08.2014, 17:10 +0200 schrieb Simon Matter:
> > Am Freitag, den 29.08.2014, 07:56 -0700 schrieb David R Bosso:
> >> --On August 29, 2014 at 4:27:57 PM +0200 Marcus Schopen
> >> <lists at localguru.de> wrote:
> >>
> >> > Hi,
> >> >
> >> > I'm planing to use lvm snaps and rsync for a daily disaster recovery
> >> > backup on my master cyrus (2.4.12 Ubuntu 12.04 LTS):
> >>
> >> Have you tested lvm snaps for this purpose yet?  When I tried to use lvm
> >> snapshots in this way a few years ago, it absolutely killed performance
> >> on
> >> the volume with the active snapshots.  Hopefully things have improved,
> >> but
> >> I wouldn't bet on it.
> >
> > Yes, I've tested it and don't see any performance problems while the
> > snaphot is active. My problem is how to backup about 140 GB mailspool in
> > an acceptable time slot. What tools are recommended?
> >
> > If using rsync what options are best practice?
> 
> I suggest -aH to preserve single instance storage in the backup.

So, rsync -aH to keep hardlinks in the spool.

What about 

 -A, --acls    preserve ACLs (implies -p)
 -X, --xattrs  reserve extended attributes

Ciao!
Marcus




More information about the Info-cyrus mailing list