PDA

View Full Version : Moving servers...



RobFerrari
Fri 27th Jul '07, 11:22pm
I'm moving host and servers.

I upgraded old server to 3.6.8 first. I installed 3.6.8 on the new server. I moved the database over and have loaded it.

I plan on moving the image directory over, my custom php, and will have to add my custom templates.

What other things do I need to concern myself with? Do I need to run any update counters?

Thanks,
rob

Steve Machol
Fri 27th Jul '07, 11:26pm
There was no need to install 3.6.8 om the new server. You may find a conflict between the restored db and the newly installed one.

RobFerrari
Fri 27th Jul '07, 11:34pm
There was no need to install 3.6.8 om the new server. You may find a conflict between the restored db and the newly installed one.

I don't quite understand. Problems with 3.6.8 between old and new server or are you saying my SQL dumb from old db won't match the load on the new server?

what is best way to move servers? I really wanted to start freash with the new server, go through and get rid of stuff I don't need. Much junk after 5-6 years.

Steve Machol
Fri 27th Jul '07, 11:36pm
Instructions for moving servers are in the online manual here:

http://www.vbulletin.com/docs/html/moving_servers

Note: The only reliable method of backing up and restoring a database is with shell access via telnet or ssh. This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeouts errors and an incomplete backup file. Please see the instructions here:

Backup:
http://www.vbulletin.com/docs/html/maintenance_ssh_backup

Restore:
http://www.vbulletin.com/docs/html/maintenance_ssh_restore

P.S. Some people have reported success with these scripts:

MySQLDumper:
http://www.mysqldumper.de/en/index.php

MySQLHotxcopy:
http://www.vbulletin.com/forum/showthread.php?t=134821&highlight=mysqlhotcopy

Bigdump (restore only):
http://www.ozerov.de/bigdump.php

RobFerrari
Fri 27th Jul '07, 11:38pm
Note: The only reliable method of backing up and restoring a database is with shell access via telnet or ssh.

This is exactly how I did it.

RobFerrari
Fri 27th Jul '07, 11:42pm
Instructions for moving servers are in the online manual here:

http://www.vbulletin.com/docs/html/moving_servers

This is how I did everything except I installed 3.6.8 from scratch on new server instead of just moving the files over. If I run into problems, guess I can just move the files over like the instructions, but I really don't want all that extra junk.

RobFerrari
Sat 28th Jul '07, 12:22am
Receive the following error when trying to login to vB on new server after db has been loaded...


Unable to add cookies, header already sent.
File: /home/ferrari/public_html/forum/includes/class_core.php
Line: 3075

RobFerrari
Sat 28th Jul '07, 6:56pm
Receive the following error when trying to login to vB on new server after db has been loaded...


Unable to add cookies, header already sent.
File: /home/ferrari/public_html/forum/includes/class_core.php
Line: 3075


Thanks for the help. <just kidding> ;) I found the fix in archives...


Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);