Frederik wrote:
> On 5/19/07, Andrew Ferguson <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED]



_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to