Max Waterman schrieb: > Andreas Olsson wrote: >> fre 2009-02-27 klockan 11:47 +0200 skrev Max Waterman: >> >>> Is there a way to make sure the target filesystem is mounted? >>> >>> The problem is that a recent reboot failed to mount the backup >>> filesystem and so when rdiff-backup ran, it filled up the root file >>> system.... >>> >> >> Not sure if that is a job best done inside rdiff-backup. How about >> simply wrapping rdiff-backup in a (shell-)script which makes the >> necessary checks before running the backup? >>
What about the cheap,good,reliable solution: Don't back up to the root of the mounted FS, but to a sub-subdirectory. (example: Your backup FS: /mnt/backup Backup to: /mnt/backup/machine1/backup ) Then rdiff-backup will fail when the FS is not mounted. (assuming you haven't specified --create-full-path. Don't!) Jakob _______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
