TopicLinux →
Simple definition
An effective copying and file synchronization tool.
Technical definition
rsync compares data and transfers only what is necessary, locally or via SSH.
What is it used for ?
Synchronize directories or perform some backups.
Practical example
rsync -av /data/ server:/backup/ can synchronize a folder to a remote server.
Common issues
- Option –delete used without precaution
- Unpreserved permissions
- Source path with final slash misunderstood
Related terms
Key takeaway: Exact behavior and commands may vary depending on versions, products and architectures.