Is there any option available of rsync, to prevent previously backed-up files from being deleted?

Solution Verified - Updated -

Issue

Is there any option available of rsync, to prevent previously backed-up files from being deleted?

Eg :
We have one file name "test" which need to be back up. First rsync will copy the file at destination. Then we updated the file "test" at source. Next time when we do rsync, at destination it should be new file and old file should be renamed with some date format ( file12112012 ).

Environment

Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content