merging rdiff-backups?
Gregor Zattler
texmex@uni.de
Fri, 30 Aug 2002 22:03:08 +0200
Hi Ben,
* Ben Escoto <bescoto@stanford.edu> [28. Aug. 2002]:
> >>>>> "GZ" == Gregor Zattler <texmex@uni.de>
> >>>>> wrote the following on Wed, 28 Aug 2002 13:02:05 +0200
>
> GZ> Hi, until now i rdiff-backup my "/home".
>
> GZ> Now i plan to rdiff-backup "/" too (with "/home" (and with or
> GZ> without "/var" and "/usr")). Is it possible to merge the old
> GZ> rdiff-backups for "/home" to the new rdiff-backup for "/" or to
> GZ> use it as a "seed"?
>
> It's possible, but you will have to do it "manually", and it's kind of
> a pain. Suppose you ran:
>
> rdiff-backup /home /backup
>
> Then you would:
>
> mv /backup /tmp
> mkdir /backup
> mv /tmp/rdiff-backup-data /backup
> mv /tmp /backup/home
>
> cd /backup/rdiff-backup-data
> mv increments tmp
> mkdir increments
> mv tmp increments/home
this sounds reasonable.
> And now look at all the increments.<time>.dir files in
> /backup/rdiff-backup-data. For each one, rename it to
> /backup/rdiff-backup-data/increments/home.<time>.dir,
uuups.
> and then touch a
> new increments.<time>.dir file in the same place, but this time make
> sure it has the same ownership and permissions as your root
> directory. Now you can run:
>
> rdiff-backup / /backup
>
> and the /home information will still be available. (Hmm, of course
> you really shouldn't run that, or at least --exclude /backup first.)
>
> I think this should work, but it is off the top of my head so I
> may be forgetting some steps.
Thanks for your explanation. I will test it, when i have spare
time. I then will report my succes (hopefully).
Ciao, Gregor
--
"The future is here. It's just not widely distributed yet."
-- William Gibson