
نوشته اصلی توسط
2JZ
سلام
چرا با ftp ؟
از scp یا rsync روی بستر sftp (ssh) استفاده کنید.
روی ۲ سرور rsync نصب کنید.
کد:
# On Both server
yum install rsync -y
apt-get install rsync
# On New Server
rsync -avzhe USERNAME@oldserver.com:/path/to/file /path/to/file
ممنون از راهنمایی شما .
برای کد apt-get install rsync ارور -bash apt-get: not commond میده
- - - Updated - - -
ضمنا بعد از زدن اون کد این اتفاق میفته
کد:
rsync -avzhe gsmd@5.9.71.75:/public_html /home/gsmdevelo/public_html/suppoertsending incremental file list
drwxr-xr-x 4096 2016/10/14 13:15:43 suppoert
drwxr-xr-x 4096 2016/10/14 13:15:43 suppoert/5.9.71.75
-rw-r--r-- 44 2015/11/04 10:05:04 suppoert/5.9.71.75/index.html
sent 111 bytes received 14 bytes 250.00 bytes/sec
total size is 44 speedup is 0.35
[root@server ~]#