server/copying
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Mar 14 15:29:40 UTC 2005
On Sun, Mar 13, 2005 at 12:44:33AM -0800, Kaizilege Karoma wrote:
> I have two servers, each of them installed fedora,
> one fedora core 2 and the other fedora core 3, i want
> to copy the whole directory that contain my website
> from one server to the other.
> please help by example (Showing the whole command.
> Eg. I am copying from 195.44.x.x to 195.44.x.x
Use rsync (essentially same syntax as scp, but better and faster and
resumeable). It will even copy timestamps and all if you use -a.
ie:
rsync -a /sourcedir remotehost:/destdir
It connects over ssh by default.
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list