Last update at :2024-02-09,Edit by888u
Building a website often requires backup data transfer. The general operation is to backup, download and upload. Another way is to install the Pagoda plug-in - the Pagoda panel has the Pagoda data synchronization tool, but the Pagoda data synchronization tool costs 9.8 yuan, so there are There is no free way. Let’s introduce a free and fast way.
So how to quickly transfer files between these two servers?
Here we use the scp command to quickly transfer files between two intranet servers. The scp syntax is as follows:
scp –r remote username @IP address: file name local directoryFor example, we want to transfer www.tar.gz from the www/wwwroot/www.laoliublog.cn directory on the server with the intranet IP of 10.10.1.1 to the www/web/www.laoliublog.cn folder on the current server. , the command is as follows:
scp -r root @10.10.1.1:/www/wwwroot/www.laoliublog.cn/www.tar.gz www/web/www.laoliublog.cnThe following prompt will appear:
cp: cannot stat `root': No such file or directory The authenticity of host '10.10.10.1(***.***.***.***)' can't be established. RSA key fingerprint is 3b:99:9c:f4:0b:fc:17:ea:96:8a:47:f0:c1:0f:91:0a. Are you sure you want to continue connecting (yes/no)?After entering yes, you will be asked to enter the password of the remote server (10.10.1.1). After entering it correctly, you can see the transfer progress.
The actual test is very fast. An 8G file on the intranet can be transferred in just a few minutes.
Recommended site searches: foreign PHP hosts, American multi-IP site group VPS, which Hong Kong server is fast, Hong Kong servers, asp.net hosts, how about Hengtian hosts, Korean cheap servers, ICP filing query system, already filed Domain name, US domain name registration,
发表评论