rsync'ing an rdiff-backup repository

Kevin Korb kmk at sanitarium.net
Thu Aug 18 19:37:01 MDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/18/11 21:32, Grant wrote:
> I'm rsync'ing an rdiff-backup repository to a different machine and I
> have a few questions I'm hoping you guys can help me out with.

For a backup repository with craploads of hard links I recommend using
something block level instead of file level.  Using pvmove on a Linux
LVM(2) volume would be best case.

> Should I use --archive?  Or maybe -rlD instead?

You should use --archive and --hard-links.  If you don't use
- --hard-links your data size will simply explode.

> Can I restrict an SSH key to rsync?  I can do it with rdiff-backup
> with command="rdiff-backup --server" but I can't figure out how to do
> it with rsync.

See rrsync.  It comes with the rsync source tree in the support directory.

> The rdiff-backup repository I'm syncing from is on a USB hard disk.  I
> do want to use --delete so I'm worried that the repository copy could
> be deleted if the USB disk is not mounted.  Am I better off creating a
> second rdiff-backup repository instead of rsync'ing the first one?
> 

Shouldn't be too difficult to script a check for the correct mounted
filesystem.

> - Grant

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5Nvj0ACgkQVKC1jlbQAQdbAACfWUoaR1Uw1DI5laC2IjmS0Zu8
EJEAnijtgVLn8uQvXl7a05i7O9JSGoHL
=J41P
-----END PGP SIGNATURE-----


More information about the rsync mailing list