![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
| Linux and Unix Error ! Redhat,suse,centos,mandrake,Free BSD,Sun |
![]() |
|
transfer all files/folders/sub-folder from one server to another server
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Administrator
Posts: 18,702
Join Date: Jan 2006
Rep Power: 10
IM:
|
I want to transfer all files/folders/sub-folder from one server to another server? need a linux comand for this... what is this "scp" command??? |
|
|
|
|
|
|
|
|
#2 (permalink) |
|
Administrator
Posts: 18,702
Join Date: Jan 2006
Rep Power: 10
IM:
|
lets say you want to copy all the home directories from one machine to another. as root: rsync -a /home root@my.other.server.ip:/home look at rsync --help in order to see what all the options do. -a is a mix of a number of options (archive mode) scp is "secure copy" basically it copies files over SSH from one box to another. that would also work in this situation but rsync is the more proper tool for the job. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|