Backup with rsync until one month

Michael B Allen mba2000 at
Wed Nov 26 06:50:49 EST 2003

> Hello,
> I use rsync in the company to make a backup every 4 hours.
> but I would like to do in a way like this, that the rsync make a backup of
> the changed files until one month long.
> EX:- file.bak.001 file.bak.002 .....
> This file will be to get always, and so i can get the all files untill an
> one month old version of the file.
> Is it possible?

I don't think you need rsync at all for this. Just use fine to identify
which files are older than 1 month and use rename to change the file


A program should be written to  model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the  potential for it  to be applied  to tasks that are
conceptually similar and, more  important, to tasks that have not
yet been conceived.

More information about the rsync mailing list