<TABLE cellSpacing=0 cellPadding=5 border=0><TBODY><TR vAlign=top><TD class=Mstepnum>1
</TD><TD class=Msteptext width="100%">Telnet/SSH into the server where your vBulletin is currently installed. We will call this machine1.</TD></TR><TR vAlign=top><TD class=Mstepnum>2</TD><TD class=Msteptext width="100%">Type:
</TD></TR><TR vAlign=top><TD class=Mstepnum>3</TD><TD class=Msteptext width="100%">Once it has returned to the prompt, verify that DUMP.SQL exists in the directory you specified. If you did not specify a full directory, the file will be in the directory you are currently in.
2) Transferring to the New Server
<TABLE cellSpacing=0 cellPadding=5 border=0><!--<tr><td nowrap="nowrap">Step Num</td><td>Instruction</td></tr>--><TBODY><TR vAlign=top><TD class=Mstepnum>1</TD><TD class=Msteptext width="100%">Telnet/SSH into machine1 if you have not already.</TD></TR><TR vAlign=top><TD class=Mstepnum>2</TD><TD class=Msteptext width="100%">Type:
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.
</TD></TR><TR vAlign=top><TD class=Mstepnum>3</TD><TD class=Msteptext width="100%">Type the following:
</TD></TR><TR vAlign=top><TD class=Mstepnum>4</TD><TD class=Msteptext width="100%">Once these commands have finished, type:
3) Restoring the Database on the New Server <TABLE cellSpacing=0 cellPadding=5 border=0><!--<tr><td nowrap="nowrap">Step Num</td><td>Instruction</td></tr>--><TBODY><TR vAlign=top><TD class=Mstepnum>1</TD><TD class=Msteptext width="100%">On the new server, if necessary, create the database which your vBulletin will be installed in. Refer to your host for specific information on how this is done.</TD></TR><TR vAlign=top><TD class=Mstepnum>2</TD><TD class=Msteptext width="100%">Telnet/SSH into machine2.</TD></TR><TR vAlign=top><TD class=Mstepnum>3</TD><TD class=Msteptext width="100%">Type:
</TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>
</TD><TD class=Msteptext width="100%">Telnet/SSH into the server where your vBulletin is currently installed. We will call this machine1.</TD></TR><TR vAlign=top><TD class=Mstepnum>2</TD><TD class=Msteptext width="100%">Type:
mysqldump --opt -Q -uUSERNAME -p DATABASENAME > /PATH/TO/DUMP.SQL
> c:\dump.sql
In this line, you should change the following: > c:\dump.sql
- USERNAME 每 this is the username you use to access MySQL. It is specified in your config.php file.
- DATABASENAME 每 the name of the database which your vBulletin is installed into. It is specified in your config.php file.
- /PATH/TO/DUMP.SQL 每 this is the path to the file that will be outputted. If you are unsure what to put here, simply use vb_backup.sql or something similar.
</TD></TR><TR vAlign=top><TD class=Mstepnum>3</TD><TD class=Msteptext width="100%">Once it has returned to the prompt, verify that DUMP.SQL exists in the directory you specified. If you did not specify a full directory, the file will be in the directory you are currently in.
2) Transferring to the New Server
<TABLE cellSpacing=0 cellPadding=5 border=0><!--<tr><td nowrap="nowrap">Step Num</td><td>Instruction</td></tr>--><TBODY><TR vAlign=top><TD class=Mstepnum>1</TD><TD class=Msteptext width="100%">Telnet/SSH into machine1 if you have not already.</TD></TR><TR vAlign=top><TD class=Mstepnum>2</TD><TD class=Msteptext width="100%">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.
</TD></TR><TR vAlign=top><TD class=Mstepnum>3</TD><TD class=Msteptext width="100%">Type the following:
asc
cd /PATH/TO/NEW/DIRECTORY
put /PATH/TO/DUMP.SQL
put c:dump.sql
Here you should change: cd /PATH/TO/NEW/DIRECTORY
put /PATH/TO/DUMP.SQL
put c:dump.sql
- /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.
</TD></TR><TR vAlign=top><TD class=Mstepnum>4</TD><TD class=Msteptext width="100%">Once these commands have finished, type:
close
quit
</TD></TR><TR vAlign=top><TD class=Mstepnum>5</TD><TD class=Msteptext width="100%">Verify that DUMP.SQL is in /PATH/TO/NEW/DIRECTORY on the new server.</TD></TR></TBODY></TABLE>quit
3) Restoring the Database on the New Server <TABLE cellSpacing=0 cellPadding=5 border=0><!--<tr><td nowrap="nowrap">Step Num</td><td>Instruction</td></tr>--><TBODY><TR vAlign=top><TD class=Mstepnum>1</TD><TD class=Msteptext width="100%">On the new server, if necessary, create the database which your vBulletin will be installed in. Refer to your host for specific information on how this is done.</TD></TR><TR vAlign=top><TD class=Mstepnum>2</TD><TD class=Msteptext width="100%">Telnet/SSH into machine2.</TD></TR><TR vAlign=top><TD class=Mstepnum>3</TD><TD class=Msteptext width="100%">Type:
mysql -uUSERNAME -p NEWDBNAME < /PATH/TO/NEW/DUMP.SQL
You should change the following parts of this line: - USERNAME - this is the new username which you will use to access MySQL. If you do not know this value, you should contact your host.
- NEWDBNAME - the name of the new database that you created in the first part of this step.
- /PATH/TO/NEW/DUMP.SQL - this is the path to the backup file that you transferred to this server in step 2.
</TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>