rsnapshot / sourceforge-issues

Issues imported from sourceforge. These are just to track down everything on github. After closing all issues, we remove the repo again. Please don't open any issues here!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rollback should fill in without replacing existing files

bebehei opened this issue · comments

Reported by hashproduct on 2010-08-17 04:55 UTC
The purpose of "rollback" is to avoid breaking the chain of hard links from one snapshot to the next. In light of that, the current behavior of deleting the backup-point destination and copying it again is wasteful. Using "cp -al --no-clobber" would achieve the goal of filling in missing files without reversing the progress made by rsync before the error.

Discussion: https://sourceforge.net/mailarchive/message.php?msg\_name=1282018709.10648.29.camel%40mattlaptop2.local