--- Bob Bob wrote:
<snip>
> 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
job.

HTH,
Joe
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
  • Re: Help jgd42-rsync

Reply via email to