Originally published at: http://www.howtogeek.com/175008/the-non-beginners-guide-to-syncing-data-with-rsync/
The rsync protocol can be pretty simple to use for ordinary backup/synchronization jobs, but some of its more advanced features may surprise you. In this article, we’re going to show how even the biggest data hoarders and backup enthusiasts can wield rsync as a single solution for all of their data redundancy needs.
Very nice article and thanks for your time.
Please follow-up with another Rsync article on how to accomplish 30 day backup retention using a cron script and how to recover/restore files that were backed up using this article's shell script.
Yes! a "Non-Beginner" guide. This was fantastic, more like this would be great.
I agree, more non-beginner guides would be awesome.
A couple of things:
Every time you call the date function, the time will change. I don't understand why you don't use the text file you created more often rather than simply making a side note.
I thought that date string didn't look correct, so I typed it out in a terminal and verified that it does indeed put colons in the string. You need to pipe it through sed or something else and change the colons to something else, or it will probably create problems for someone somewhere (even on Linux, I've seen the snapshot utility cause issues if I don't modify the default filename).
Otherwise, an excellent article! I learned a couple of things and will probaby be referring to it from time to time.
This topic was automatically closed after 10 days. New replies are no longer allowed.