On Fri, Jul 29, 2011 at 04:38:25PM +0200, Felix Rios wrote:
> Thanks for all good suggestions,
>
> I think the main problem seems to be how to handle the logs at from B
> and C. I want to have all the logging from B and C available at A. Maybe
> syslog could be usable here in some way.
>
Ah, okay. In that case I would probably initiate rdiff-backup on B
with cron, and use a script like this (untested!):
On B:
#!/bin/sh
rdiff-backup \
--print-statistics \
C::/ /m/C 2>&1 | ssh A 'cat - >> /var/log/rdiff-backup.log'
And in B's crontab:
30 3 * * * lockf -s -t 0 /var/run/rdiff-backup.lock
/usr/local/whatever/rdiff_backup_daily.sh
The lockf(1) call is to prevent accidental overlap on long running
backups. Perhaps your backups are fast and you don't need that.
_______________________________________________
rdiff-backup-users mailing list at [email protected]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki