rsync incremental backup
I want to write a script which does rsyc backups with a 7 day rotating incremental backup. The incrementals will go into subdirectories named after the day of the week, and the current full backup goes into a directory called "current". Anyone is having idea about rsync script.
Thanx & Regards
Use cp -alp for the 7 day incrementals. 'date +%a' should give you the current day of the week.
Most likely, you'll want two scripts: one to perform rotation on the backup system, and one (a one-liner really) to perform your RSYNC backup.
I do something similar, though not precisely the same, on my systems.
|All times are GMT -5. The time now is 04:42 AM.|