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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
