Tag: rsync
-
Rsync error when connecting to CentOS: rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
We helped rebuild a backup VM which receives data over rsync today; the first rsync attempt failed with the vague error message: rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6] The problem ended up being that the rsync package was not installed. A simple: yum install…
-
Performing a dry run with rsync
One of the many useful options rsync offers is the ability to do a dry-run – in effect showing you what it would do without actually making any changes. To achive this we use the -n flag, like so: rsync -n /source /destination In practice we would likely use the -n switch…
-
Using rsync with a non-standard SSH port
There are many reasons you may be using an SSH port other than 22; perhaps you changed it as a security measure, or perhaps you have multiple machines behind your firewall which you are port forwarding to and thus have to use other ports in addition to 22. Rsync is an extremely powerful file…