Securely synchronize a folder from a remote machine with SSH

categories:

rsync -vaz -e ssh user@server.domain.be:/home/user/ /home/user/

Source : user@server.domain.be:/home/user/ Target : /home/user/

-a : archive mode, preserve owner/group and permissions -v : verbose -z : compress data during transfer -e : the remote shell to use

Output : receiving file list ... done created directory /home/user ./ 28403/ BEXX0014/ 28403.xml error.xml . sent 876 bytes received 1294165 bytes 2590082.00 bytes/sec total size is 1644823 speedup is 1.27




Thanks for reading this post!


If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!