You are not logged in.

#1 2011-02-20 22:12:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

rsync experts: rsyncing source with hardlinks correctly

Backintime is an incremental backup tool.  It is my understanding that it uses hardlinks to keep book on unchanged files between backups.  I'd like to mirror my backintime repo to another HDD.  As I read through the rsync manpage, there is a -H option which preserves hardlinks.  I want to be sure that I'm rsyncing my repo the correct way and would love some feedback from experienced rsync users.  Here is my rsync line:

rsync -avxuH --progress --exclude /media/cge/lost+found --delete-after /media/backintime/ /media/aa_data/backup/backintime/

Thanks in advance!

Last edited by graysky (2011-02-20 22:20:40)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2011-02-20 22:59:39

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: rsync experts: rsyncing source with hardlinks correctly

Yep, that'll do the job poifectly smile

If you have the CPU to spare, I'd also you the --checksum option too, "to be sure, to be sure"

Offline

#3 2011-02-20 23:53:21

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: rsync experts: rsyncing source with hardlinks correctly

Nice, thanks for the suggestion.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB