laurent22 / rsync-time-backup

Time Machine style backup with rsync.
3.36k stars 443 forks source link

Update symlink and remove .inprogress only after success #264

Closed qinjunjerry closed 8 months ago

qinjunjerry commented 8 months ago

Update symlink only after success. Otherwise the symlink 'latest' gives wrong info to the next backup on what have been backed up and what haven't.

laurent22 commented 8 months ago

Thanks for the update. I agree that logic for the inprogress file makes sense, I'm not sure why it wasn't already like this!