rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] [ANN] SafeKeep


From: Kurt Yoder
Subject: Re: [rdiff-backup-users] [ANN] SafeKeep
Date: Wed, 7 Feb 2007 11:57:53 -0500

Looks like SafeKeep is a wrapper script to run rdiff-backup?

If you don't like its XML config files, you can do what I do: make a separate backup script for each rdiff-backup like so:

#!/bin/sh
echo
echo $0
/bin/df -l | /bin/grep -q '/backup/disk1'$
if [ $? = 1 ]; then echo 'backup volume not mounted'; exit 1; fi
/usr/bin/rdiff-backup -v0 --preserve-numerical-ids --print-statistics \
        --exclude "/home/.old" \
        --exclude "/old" \
        --exclude "/proc/*" \
        --exclude "/sys/*" \
        --exclude "/tmp/*" \
        --exclude "/tmp/.*" \
        --exclude "/usr/local/backups/*.dump.gz" \
        --exclude "/usr/local/pgsql/*.log*" \
        --exclude "/usr/local/pgsql/data/base/*" \
        --exclude "/usr/local/pgsql/data/pg_xlog/*" \
        --exclude "/usr/local/src" \
        --exclude "/usr/old" \
        --exclude "/var/lib/postgres/data/base/*" \
        --exclude "/var/lib/postgres/data/global/*" \
        --exclude "/var/lib/postgres/data/pg_clog/*" \
        --exclude "/var/lib/postgres/data/pg_xlog/*" \
        --exclude "/var/lib/postgres/data.*" \
        --exclude "/var/lib/postgres.*" \
        --exclude "/var/local/swapfile" \
        --exclude "/var/old" \
        --exclude "/var/run/postgresql/*" \
        --exclude "/var/tmp/.*" \
        --exclude "/var/tmp/*" \
        mybackedupserver.com::/ /backup/disk1/mybackedupserver/


I have around 15 of these scripts in my backup directory /var/backups/ rsync_scripts. There is one for each backed-up machine. A few of them use straight rsync instead of rdiff-backup. I use cron to invoke run- parts on /var/backups/rsync_scripts every evening. It's easy to set up, there is no configuration file format to learn, and I have complete control over how the backups run.

Run-parts is apparently native to Debian, but should be re-usable elsewhere, eg http://www.hmug.org/HowTos/Run-Parts.html.

On Feb 7, 2007, at 2:46 AM, David Kempe wrote:

Hi Dimi,
that looks great but there is no way I am going to use it if it has xml for the config files. I have a passionate hate for using xml in config files as do many sysadmins... just check out the low adoption of heartbeat 2 for verification of that :) if you want to reconsider the design, the nagios config file format with its ideas of inheritance is far superior and would map beautifully to this product.

despite that, I will check it out :)

thanks

dave

Dimi Paun wrote:
Hello everybody,

I'm happy to announce a new project built around rdiff-backup: SafeKeep.
     http://safekeep.sourceforge.net/





_______________________________________________
rdiff-backup-users mailing list at address@hidden
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/ RdiffBackupWiki





reply via email to

[Prev in Thread] Current Thread [Next in Thread]