rsync with ssh remote backup

感情迁移 提交于 2019-12-24 07:34:28

问题


I'm using rsync with ssh to perform remote backup but I am having trouble with one server (telling that host is unreachable) while it works with other servers.

rsync -avz --delete -e ssh [USER]@[IP]:[PATH] .

回答1:


Maybe this server use another port than the default one, then you have to specify this port :

rsync -avz --delete -e "ssh -p [PORT]" [USER]@[IP]:[PATH] .


来源:https://stackoverflow.com/questions/38955707/rsync-with-ssh-remote-backup

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!