--relative option

Ben Escoto bescoto@stanford.edu
Sun, 24 Mar 2002 22:46:05 -0800


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

>>>>> "KP" == Kris Persson <kris.persson@beaglehole.com>
>>>>> wrote the following on Mon, 25 Mar 2002 16:18:02 +1200

  KP> I want to back up selected parts of the file system to a backup
  KP> partition, which will then contain the same tree structure as
  KP> the source tree. For example,

  KP> $ rdiff-backup /home/sue /home/john /var/spool/mail /etc \
  KP> backupserver:/backup

  KP> should create this tree on backupserver:
    ...

Well, each rdiff-backup process only backs up one source directory,
and deals with one mirror directory, with a single rdiff-backup-data
directory in it, so your example doesn't work exactly.  How about:

rdiff-backup / backupserver::/backup

?  That would produce the directory structure you asked for.  If you
didn't want to back up everything under / you could use regular
expressions with --exclude to exclude the unwanted files.


--
Ben Escoto

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

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

iD8DBQE8nsee+owuOvknOnURAo0UAJ4qp6to86uKjQEcr4HJvsv8B3tmCQCeP3Up
q/F/ndxrc+Ff3JeaO//6ATs=
=jnp3
-----END PGP SIGNATURE-----

--==_Exmh_589065336P--