Copy a directory from local machine to remote machine using rsync

rsync -avz -e 'ssh -p 22002' /root/backup/monitoring_201909280430 root@172.20.64.205:/root/backup/

References
https://stackoverflow.com/questions/17828236/how-to-copy-a-directory-from-local-machine-to-remote-machine

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.