3) Transferring to the New Server
1 | Telnet/SSH into machine1 if you have not already. |
2 | Type:ftp MACHINE2 Replace MACHINE2 with the host name (www.example.com) or IP address (192.168.1.1) of the new server.
You should be prompted for a username and password. This is the username and password that you use to login via FTP to your new server. |
3 | Type the following:asc
cd /PATH/TO/NEW/DIRECTORY
put /PATH/TO/DUMP.SQL Here you should change:- /PATH/TO/NEW/DIRECTORY – this is the path to the directory in which you want to place the database backup. If you are unsure what to specify here, you can usually omit the entire cd /PATH/TO/NEWDIRECTORY/ command.
- /PATH/TO/DUMP.SQL – this is the same path that you specified in step 1.
|
4 | Once these commands have finished, type:close
quit |
5 | Verify that DUMP.SQL is in /PATH/TO/NEW/DIRECTORY on the new server. |
Copyright © 2023 MH Sub I, LLC dba vBulletin. All rights reserved. vBulletin® is a registered trademark of MH Sub I, LLC dba vBulletin.
scp filename username@ipaddress:/path/to/whereever
[Note: This is only aavailable on servers with scp installed.]
-dandaman32