Rsync and snapshot backups

Steve zflyer at
Tue Nov 20 19:24:04 GMT 2007

I'm currently using rsync to backup home directories using this:

rsync -avx --delete --backup --backup-dir=/u1/home.bak /u0/home/
/u1/home >> ${log}

I'm trying to move to snapshot backups using this:

rsync -avx --delete --backup --backup-dir=/u1/home.bak
--link-dest=../home.current /u0/home/ /u1/home_${datetime} >> ${log}

This works except I no longer get deleted source files moved to
backup-dir.  Is there a way to get this behavior with the link-dest

Thank you,

More information about the rsync mailing list