combining two backup targets

dean gaudet
Fri, 10 May 2002 20:15:40 -0700 (PDT)

i've got two backup targets /backup/twinlark/{home,root}, and i'd like to
turn them into one ... i know i can just move the mirrors together easily,
but that doesn't take care of the increments.

home belongs at root/home, and i was just silly when i started using
rdiff-backup several months ago.

i'm curious if there's any expected problems if i try the following:

cd /backup/twinlark
mv home root/home
cd root
mkdir rdiff-backup-data/increments/home
mv home/rdiff-backup-data/increments rdiff-backup-data/increments/home

then for each of home/rdiff-backup-data/increments.T.dir timestamp T
i'd create rdiff-backup/data/increments/home.T.dir

and finally:

mv home/rdiff-backup-data/increments*dir rdiff-backup-data

this seems like it would work -- the root and home backups obviously don't
contain the same increment timestamps, but that shouldn't matter as long
as i "stitch" the trees together like above, right?