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!


Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!