On Sunday 04 November 2007, Roger Mason wrote: > Did you have to do anything special to make it work from cron?
No, but then the crontab entry is simply: > 47 4 * * * /root/backup.sh The backup.sh is essentially: rdiff-backup \ --print-statistics \ --exclude /mnt \ --exclude /dev \ --exclude /proc \ --exclude /tmp \ --exclude /var/tmp \ --exclude /var/cache/squid/ \ --exclude /var/lib/mysql/ \ --exclude /var/lib/postgresql/data/base/ \ --exclude /var/lib/postgresql/data/global/ \ --exclude /var/lib/postgresql/data/pg_clog/ \ --exclude /var/lib/postgresql/data/pg_subtrans/ \ --exclude /var/lib/postgresql/data/pg_tblspc/ \ --exclude /var/lib/postgresql/data/pg_xlog/ \ --exclude /sys \ --exclude /usr/portage \ --exclude /usr/portage/distfiles \ --exclude /var/run \ / [EMAIL PROTECTED]::/home/backups/hostname/ -- [EMAIL PROTECTED] mailing list