Tyler makes some good points. Anyway, tar is working fine for me with the
escaping syntax provided by John Rouillard: exec /bin/tar -c "$@". While
some have argued that tar is better for localhost backups and others have
argued that rsync is better for localhost backups, I'm guessing the
difference in my particular use case is negligible. With the amount of work
on my plate at present, I'm not about to go tweaking a backup that is
working perfectly well for my purposes, so I guess the tar vs. rsync
question will rage on for all eternity. :-)
Thanks, everyone, for your helpful suggestions!
-Frank
On Wed, Nov 17, 2010 at 5:10 AM, Tyler J. Wagner <ty...@tolaris.com> wrote:
> You could do this, and many other things to back up your BackupPC server
> differently from your other hosts. The best reason not to is the law of
> diminishing returns.
>
> My BackupPC server uses SSH+rsync directly as root, and archives
> everything from / down, except for virtual filesystems
> and /var/lib/backuppc itself. It finishes a full in 20 minutes and and
> incremental in ten. This is about as fast as the other servers it
> archives.
>
> So, do you implement (and support) a totally different method for the
> local host, using a dangerously powerful setuid executable that is
> detached from your package manager (not receiving updates), just to save
> a few minutes?
>
> Or do you just use what works well enough to begin with, and which is
> identical to your other backups?
>
> Regards,
> Tyler
>
> On Wed, 2010-11-17 at 09:55 +0000, Pedro M. S. Oliveira wrote:
> > Hi,
> > I'm a bit late on this conversation, but why not use rsync instead of tar
> on the local machine?
> > I'm not talking about rsync over ssh to localhost but plain old rsync. I
> can see some advantages (on speed, diskspace, and cputime).
> > Here's how i did it:
> >
> > 1 - copy your rsync executable file to your backuppc bin directory
> > 2 - set this rsync suid root, be sure to only allow this rsync to be
> executed by backuppc user.
> > 3 - on localhost setup on backuppc config set:
> > RsyncClientPath = /opt/BackupPC/bin/rsync
> > RsyncClientCmd = /opt/BackupPC/bin/rsync $argList+
> > RsyncClientRestoreCmd = $rsyncPath $argList+
> >
> > This way you can continue to use rsync on the local machine without the
> overhead of ssh and tcp/ip.
> > Don't forget to save backuppc config (/etc/backuppc) to somewhere else to
> be easier to restore the config in case of need.
> > And if you are backingup / don't forget to exclude /mnt /dev /sys /media
> /mnt /proc
> >
> > If you need some assistance with this setup just drop me a line
> >
> > Cheers,
> > Pedro
>
> --
> "A competent and self-confident person is incapable of jealousy in
> anything. Jealousy is invariably a symptom of neurotic insecurity."
> -- Lazarus Long, "Time Enough for Love", by Robert A. Heinlein
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/