RE: how do I copy from server to server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian McDonald wrote:
> Is there a way to copy server to server using command line ftp or
something
> like it?
> I am moving servers and I need to copy the entire html directory about 500
> megs.
> I really don't want to have to ftp down to my pc and ftp back up to the
new
> server.

server1
=======

cd /dir/of/html
tar cvfz backup.tgz *
ftp <server2>
login
pass
put backup.tgz
quit


server2
=======

cd /to/where/you/uploaded/the/file
mv backup.tgz /dir/of/html/folder
tar xvfz backup.tgz



done.

Alex, that worked great Thanks

Brian
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 1/6/2005


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux