|
From: | Max Waterman |
Subject: | Re: [rdiff-backup-users] target filesystem |
Date: | Fri, 27 Feb 2009 15:03:17 +0200 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
Jakob Unterwurzacher wrote:
Sounds like a good tip...thanks! :)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 Max. |
[Prev in Thread] | Current Thread | [Next in Thread] |