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

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

Re: [rdiff-backup-users] target filesystem


From: Jakob Unterwurzacher
Subject: Re: [rdiff-backup-users] target filesystem
Date: Fri, 27 Feb 2009 13:53:15 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

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




reply via email to

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