Click to See Complete Forum and Search --> : how to migrate the whole website from one server to another?
Simon Lee
04-03-2002, 03:36 AM
Dear all,
I just install the new linux server. since there are a lot of web files in folders and their subdirectories, Please give an effective ways to move all the files and the sub directories from the old server to the new one, thanks
Simon
Hmm - over the network I presume?
Method 1 - FTP
==============
Set up and FTP service (like proFTPD on the old webserver, then use something like gftp to select the whole lot and copy it across.
Method 2 - NFS
==============
Pretty much the same - set up an NFS server on the old webserver then from the new one, mount it using mount -t nfs xxx.xxx.xxx.xxx:/somewhere /mnt/somewhere, then just copy the whole lot accross with 'cp -r [source] [dest]'
There are HowTos out there for setting up the various servers.
Was this what you were getting at?
mdwatts
04-03-2002, 06:54 AM
I posted a suggestion in your other thread on the similiar topic.
It would have been somewhat easier for us including yourself if you had kept these two questions combined within a single topic. Just a suggestion.
The Whizzard
04-03-2002, 05:59 PM
wget -m http://whateversite.com