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

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

Re: [rdiff-backup-users] Equivalent of rsync's -R (--relative) option?


From: Andrew Ferguson
Subject: Re: [rdiff-backup-users] Equivalent of rsync's -R (--relative) option?
Date: Sat, 19 May 2007 18:21:45 -0400
User-agent: Thunderbird 1.5.0.10 (Macintosh/20070221)

Frederik wrote:
> On 5/19/07, Andrew Ferguson <address@hidden> wrote:
>> Did you try:
>>
>> rdiff-backup /home/user /mnt/backup/home/user
>>
>> ? --create-full-path should handle creating the full path of
>> /mnt/backup/home/user if it doesn't exist.
> 
> Yep, thought about that too, but I don't like this solution too much because:
> 
> - it forces me to run rdiff-backup separately for each directory I
> want to backup (say I want to backup /etc, /var, and /home, I have to
> run three times rdiff-backup)
> - It will create an rdiff-backup-data directory in each of these
> directories, so if I want to restore one of them, I always have to
> keep in mind to remove the rdiff-backup-data directory after restoring
> it by copying the files.

Why are you restoring by copying and then deleting the rdiff-backup-data
dir? You can use rdiff-backup to restore, as is recommended, and it will
not only take care of that issue, but it will preserve all metadata and
allow you to restore from previous backup points.

> I wonder how backupninja handles this, as it exactly backups different
> directories with full path and only one rdiff-backup-data directory
> IIRC.

Use include/exclude files to specify exactly which files you want to
backup. I'm sure that's how backupninja handles this as it's the only
way I can think of that only results in a single rdiff-backup-data
directory.

Andrew

-- 
Andrew Ferguson - address@hidden





reply via email to

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