I am trying to transfer my database from one server to another but seem to be running into problems.
I got through Step One just fine with PuTTy and I think I have gotten through most of Step Two. My problem arises after I get through typing bin. This is what I have typed in:
cd /home/lethal/public_html
And this command does not seem to be working. Here is what I am getting.
"550 /home/lethal/public_html:No such file or directory"
What am I doing wrong here?
Step Two - Transfer to new server
- Telnet/SSH into machine1, and from the command prompt type the following:
cd /path/to/yourbackupdirectory - Then type
ftp MACHINE2
Replace MACHINE2 with the host name (eg. www.example.com ) or IP address (eg. 192.168.0.0 ) of your new server. This should open a connection and ask for your username/password, then it should say ftp> - Type the following, hitting enter after each line:
bin
cd /path/to/newdirectory
put dump.sql - It should take between 20 seconds and a few minutes depending on the size of the file. Now type:
- close
quit - verify dump.sql is in the /path/to/new area on the new server.
cd /home/lethal/public_html
And this command does not seem to be working. Here is what I am getting.
"550 /home/lethal/public_html:No such file or directory"
What am I doing wrong here?
Comment