Transferring large number of files from one server to another

陌路散爱 提交于 2019-12-11 06:29:11

问题


I am moving servers and our images directory has around 15,000 images (2GB in size) which needs to be moved on to new server.

Images will have a different path on new server so can't just migrate whole CPANEL.

Any easy way to resolve this issue?

Thanks for help in advance.


回答1:


use SFTP from one server to the other http://support.cs.utah.edu/index.php?option=com_content&view=article&id=33&Itemid=59

edit: In answer to yr question below: Don't need local download, sftp is direct server to server. Use sftp from SSH shell on source server like so

$ cd source_directory
$ sftp user@otherserver
Password:
Connected to otherserver
sftp> cd target_directory  //this is changing dir on remote server not local
sftp> put filename

or for all files from source dir to target dir

sftp> put *



来源:https://stackoverflow.com/questions/10443458/transferring-large-number-of-files-from-one-server-to-another

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