[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Re: include other filesystems?
From: |
freeslkr |
Subject: |
[rdiff-backup-users] Re: include other filesystems? |
Date: |
Mon, 9 Feb 2009 20:01:44 +0000 (UTC) |
On Mon, 09 Feb 2009 09:22:49 +0200, Yuval Hager wrote:
> On Sunday 08 February 2009, freeslkr wrote:
>> If you've got an old backup repo with, for example, user data in /home
>> as opposed to /data/home, you'll want to rearrange the repo before
>> re-running rdiff-backup.
> How do I re-arrange the repo? With the amount of metadata kept - is it
> possible at all?
Thinking about it, I don't know that you can *move* your backup history
in the way that I off-handedly suggested (e.g. move the backup history
of /home to that of /data/home). Maybe someone else on this list knows
if this is possible.
By default, rdiff-backup will preserve the backup history of /home; it
just won't be linked to /data/home. It will look like the directories
/home/* were deleted and /data/home/* were created as new directories.
You can save some time on the first run of rdiff-backup after the
change by copying /backup/repo/home to /backup/repo/data/home, etc.
One other thought is that you can use bind-mounts instead of symlinks,
if your OS supports it. In this case /home and /usr/local/data are
empty directories in their respective file-systems, /data/home is
mounted on /home, and /data/usr/local/data is mounted on /usr/local/data.
Now your old globbing-filelist will work as expected, history and all.