Thursday, March 1, 2012

scp太慢了

在转移5G文件到新服务器时用scp只有60k,换用rsync+ssh,4M速度!
[cc]rsync -ave ssh greendome:/home/ftp/pub/ /home/ftp/pub/[/cc]

[cc]$ rsync -avz -e "ssh -i /home/thisuser/cron/thishost-rsync-key" remoteuser@remotehost:/remote/dir /this/dir/[cc]

No comments:

Post a Comment