How to backup old files before override them in rsync?
Issue
- Using rsync to sync files between two servers.
- Before rsync overriding the old files in the target server, how can I backup/keep those old files before the new files overriding them?
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.