jgd42-rsync at jgd42-rsync at
Thu Nov 11 21:38:13 GMT 2004

--- Bob Bob wrote:
> One issue I have is I'd like to preverve the last weeks worth of deleted 
> data on my backup server "just in case" someone needs it.

I use the following options to accomplish that:
  --backup --backup-dir=/backup.$yesterday
where $yesterday is a env var set using `date` like so (for bash):
  yesterday=`date -d yesterday +%Y%m%d`

Then on the server I delete all backup.$eightdaysago directories via a cron


More information about the rsync mailing list