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.
|