rsync'ing an rdiff-backup repository

Grant emailgrant at
Fri Aug 19 12:51:13 MDT 2011

>> 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 .

- Grant

More information about the rsync mailing list