On Wed, Mar 30, 2011 at 07:48:36PM +0100, Jenny Hopkins wrote:
On 30 March 2011 19:22, Chris G cl@isbd.net wrote:
I'm aiming to use rsync's --link-dest option to do some incremental backups but I'm not absolutely sure I've got its use correct.
What I'm going to do is maintain incremental backups for the last seven days, so they'll be in directories named for the days of the week. The script will work out values for today and yesterday and then do (example for today):-
rm -fr /backup/Wed rsync -a --link-dest=/backup/Tue fromSource /backup/Wed
Will this do what's intended? I'm less interested in detailed syntax errors but want to be sure I will get 7 days of incremental backups.
Have a look at dirvish: http://www.dirvish.org/
It's a bit inactive isn't it, nothing much has happened since 2005.
I have looked at some others like ccollect, duplicity and rsnapshot but they all seem to be unnecessarily complex for very little (if any) gain over using rsync directly.