combining two backup targets

Ben Escoto bescoto@stanford.edu
Sat, 11 May 2002 01:35:53 -0700


--==_Exmh_1928641801P
Content-Type: text/plain; charset=us-ascii

>>>>> "DG" == dean gaudet <dean-list-rdiff-backup@arctic.org>
>>>>> wrote the following on Fri, 10 May 2002 20:15:40 -0700 (PDT)

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

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

Yes, all this looks good.

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

Moving them would be better because they carry the timestamps and
permission information for your home directory.

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

rdiff-backup-data/increments*dir carry the information for root, so
the above would switch the information from home to root, which
probably isn't what you want.

    Instead, if you want to do everything right (if you skip this step
entirely not too much bad would happen), for each of
home/rdiff-backup-data/increments.T.dir, if
rdiff-backup-data/increments.T.dir doesn't exist, create it by

cp -a rdiff-backup-data/increments.U.dir rdiff-backup-data/increments.T.dir

where U is the closest time to T (and thus has about the right
timestamps and permissions).


--
Ben Escoto

--==_Exmh_1928641801P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.5 01/15/2001

iD8DBQE83Nfn+owuOvknOnURAnpaAJoCZTGcYd29i6T74oKbbY3aAThkpACggbpD
PuEvJdhvdWgDhq3TqsXEHEQ=
=lCs3
-----END PGP SIGNATURE-----

--==_Exmh_1928641801P--