I need a good backup program.

Colin Watson cjwatson at ubuntu.com
Fri Jan 24 15:09:48 UTC 2014


On Fri, Jan 24, 2014 at 09:01:03AM -0500, Paul Cartwright wrote:
> On 01/24/2014 03:12 AM, Colin Watson wrote:
> > Ditto, after an ill-advised experiment with duplicity (which I decided
> > was entirely unsuitable for full-system backups).  I actually use a
> > reasonably sophisticated wrapper tool written by a friend of mine, but
> > it's still rsync under the hood:
> >
> >   http://www.greenend.org.uk/rjk/rsbackup/
> I just spent the last hour trying to get this to work, without success..
> I use rsync daily, so I'm not an idiot, but this program isn't the
> easiest thing to try to configure, even for a localhost to a local drive..

Well, I'm using a somewhat old version, but all it takes with what I
have, for a fictional single machine called "machine", is:

  /etc/rsbackup/config:

    lock /var/run/rsbackup.lock
    include /etc/rsbackup/local
    include /etc/rsbackup/hosts.d

  /etc/rsbackup/local:

    store /path/to/backup/drive
    device backup
    prune-age 62

  /etc/rsbackup/hosts.d/machine:

    host machine
      hostname localhost
      volume root /

  /etc/cron.d/local-rsbackup:

    PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin

    52 0 * * * root rsbackup.daily

Seems straightforward enough to me.  You need additional "volume" lines
for additional filesystems, possibly some excludes, and if you're
backing up multiple hosts (as I do) then it's a few more lines per host
and the ssh/rrsync configuration I just mentioned in another post.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list