Help
jgd42-rsync at yahoo.com
jgd42-rsync at yahoo.com
Thu Nov 11 21:38:13 GMT 2004
--- 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
More information about the rsync
mailing list