English 中文(简体)
将大量档案从一个服务器转到另一个服务器
原标题:Transferring large number of files from one server to another
  • 时间:2012-05-04 06:02:18
  •  标签:
  • ssh
  • cpanel

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

图像将在新的服务器上开辟一条不同的道路,这样就只能迁移整个计算机应用系统。

解决这一问题的任何容易途径?

事先得到帮助。

问题回答

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





相关问题
ssh issue in a loop

I have a script that connects to a server using ssh. While in a loop, it fails to connect to the second server after connecting to the first one. I guess I have to quit from that server to come back ...

Python SSH paramiko issue - ssh from inside of ssh session

import paramiko client = paramiko.SSHClient() client.load_system_host_keys() ip = 192.168.100.6 client.connect(ip, username= root , password= mima ) i, o, e = client.exec_command( apt-get install ...

Trying to get a terminal to work in Emacs

I ve been having a lot of problems with emacs and trying to get the terminal to work with: M-x term I installed cygwin and I fixed up my .emacs to include the paths: (setenv "PATH" (concat "...

How can I debug a Perl CGI script?

I inherited a legacy Perl script from an old server which is being removed. The script needs to be implemented on a new server. I ve got it on the new server. The script is pretty simple; it ...

ActionScript 3 and SSH

Is there a library for SSH in ActionScript 3? If not, I d appreciate some ideas on how to have Flash integrate with SSH. I have a Flash prototype programmed out, and my client wants to see some ...

Solving thread cleanup on paramiko

I have an automated process using paramiko and have this error: Exception in thread Thread-1 (most likely raised during interpreter shutdown) .... .... <type exceptions.AttributeError >: ...

how to use ping in a script

I want a bash script that ll do: for c in computers: do ping $c if ping is sucessfull: ssh $c check something done If I only do ssh and the computer is iresponsive, it takes forever ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

热门标签