问题原文
原帖链接 · Joris Weimar · CC BY-SA 3.0
I have a VPS running Ubuntu 16.04 with 2T storage where I'd like to put my data, which currently resides on a 1T flash drive. I'd like to be able to go back in history to retrieve older versions of files.
I've looked at "duplicity" but read a lot of stories about it being slow, and taking a lot of space because of the need to create frequent full backups.
Then, I arrived at "rdiff-backup" as a solution to this, but it doesn't handle resume very well. I wasn't able to even get the initial sync up to my server because of interruptions. I tried to first rdiff-backup to a local directory, and then rsync (-a) that to my VPS. But when I then tried to rdiff-backup from my original directory, it wouldn't work (weird error about too many incrementals).
I'm now considering rsnapshot, or maybe wrapping rdiff-backup in my own tool that can handle resumes better (by for example doing rdiff-backup incrementally directory per directory).
Should rdiff-backup work how I tried to make it work? (local dir 1 rdiff-> local dir 2, local dir 2 rsync-> remote dir, local dir 1 rdiff-> remote dir) And if not, would rsnapshot be a good alternative?
已采纳解答
原帖链接 · shodanshok · CC BY-SA 3.0
I strongly suggest you to use rsnapshot, configuring it to retry multiple times if a connection problem is detected. For example, to enable the multi-tries approach with 3 max tries, please add the following line to your rsnapshot.conf file:
rsync_numtries 3
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
