将大量文件从一台服务器传输到另一台服务器 [英] Transferring large number of files from one server to another

查看:168
本文介绍了将大量文件从一台服务器传输到另一台服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在移动服务器,我们的图像目录中大约有15,000张图像(大小为2GB),需要将其移到新服务器上。

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.

图像会有不同的图像

有什么简单的方法可以解决此问题?

Any easy way to resolve this issue?

感谢您的帮助。

推荐答案

使用SFTP从一台服务器访问另一台服务器
http://support.cs.utah.edu/index .php?option = com_content& view = article& id = 33& Itemid = 59

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

编辑:回答以下您的问题:
不需要本地下载,sftp是直接服务器到服务器。像这样在源服务器上的SSH shell中使用sftp

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>放*

这篇关于将大量文件从一台服务器传输到另一台服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆