rsync'ing an rdiff-backup repository
Kevin Korb
kmk at sanitarium.net
Fri Aug 19 12:53:28 MDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If it works it works. Using rrsync just makes it much easier as you
don't have to anticipate the options that rsync will be using.
On 08/19/11 14:51, 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.
>
> OK, I'll add --hard-links to my rsync command line.
>
>>> 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 following seems to be working. Should it be OK?
>
> command="rsync --server -vlogDtprz --delete .
> /backup",from="12.34.56.78",no-port-forwarding,no-X11-forwarding,no-pty
>
> - 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/
iEYEARECAAYFAk5OsSgACgkQVKC1jlbQAQcloACgtXQj8Ohr4cH2qfEBWS9HFTdO
9C0AoLpQ14MgKX3RL2WzXKhy/1D8uG6j
=A3g1
-----END PGP SIGNATURE-----
More information about the rsync
mailing list