rsync | Synchronise between systems
Sync
rsync command
rsync <source> <dest>
Local
Between the same system between directory
rsync -av /var/log /tmp
Remote
Between the local directory and the remote directory
rsync -av /tmp username@remote_host:/tmp
Compare
Compare the content of the source and remote directory
rsync -anv <source> <dest>
No Comments