SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
changing backup directory structure
Author Message
Post changing backup directory structure 
Hi.

I'm setting up a backup system with rdiff-backup and was wondering if anyone had dealt with the following scenario:

Let's say I am backing up directory A and then at some time, t, I decided I only want to back up sub-directory A/B and not the rest of A. If I want to restore a version of directory A/B from before time t, then I need to hide the 'rdiff-backup-data' directory at A/B so that the backup is done based on the older 'rdiff-backup-data' in directory A. Is there a cleaner way to merge the rdiff-backup-datas if I am often changing the directories that I want to backup in this way?

Thanks.

Post changing backup directory structure 
Let's say I am backing up directory A and then at some time, t, I
decided I only want to back up sub-directory A/B and not the rest of A.
If I want to restore a version of directory A/B from before time t, then
I need to hide the 'rdiff-backup-data' directory at A/B so that the
backup is done based on the older 'rdiff-backup-data' in directory A.

Just back up into the directory you've been backing up into before t, but
tell rdiff-backup to exclude everything from A but B. This way, there will
be no rdiff-backup-data directory in A/B/.

When restoring, the following will happen: When you use --restore-as-of with
a time stamp before t, everything will be restored as normal. With a time
stamp after t, only B will be restored. rdiff-backup will treat it as if the
rest didn't exist when backing up.

Please see the man page, section "File Selection", for more info.
(http://www.nongnu.org/rdiff-backup/rdiff-backup.1.html)

--
Maik Schreiber * http://www.blizzy.de

GPG public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1F11D713
Key fingerprint: CF19 AFCE 6E3D 5443 9599 18B5 5640 1F11 D713

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB