Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Please Register to get full access to the forums.
Post New Thread  Reply



#1   01-18-2007, 01:16 PM
Posts: n/a
moving vb to new server


A- Before Moving :

1- first of all Turn Off Forum

2-Uninstall all Hack/Plug-in (not disable) sometimes to disable plugin cause eval () error while upgrading

3- Move all styles to files system (except default style) as default clientscript/vbulletin_css (if it is absent create new one)

AdminCP > vBulletin Options > Style & Language Settings
Code:
Store CSS Stylesheets as Files? = Yes
4- move attachments to file system
AdminCP > Attachments > Attachment Storage Type
Code:
Attachment File Path =  images/attach
5- move members avatar to file system
AdminCP > Avatars > User Picture Storage Type

6- uninstall all other language (except deafult Language )
AdminCP > Languages & Phrases > Language Manager

7- Repair / Optimization
AdminCP > Maintenance > Repair / Optimize Tables (select all tables)
Code:
Optimize Tables = Yes 
Repair Tables = Yes
AdminCP > Maintenance > Repair / Optimize Tables > Fix Unique Indexes


8- run all commands in tools.php

9- Finally run following queries to repair dB

Code:
myisamchk -r -u root -p db 
mysqlcheck -r -u root -p db
if you have no SSH account do above commands using phpmyadmin

consequently we had a very healthy and small dB to move


B- Dumping dB :

1- use following command to dump dB
Code:
mysqldump -u root -p123  --default-character-set=latin1 forum > backup.sql
if you want to zip db while dumping use following
Code:
mysqldump -u root -p123  --default-character-set=latin1 forum | bzip2 -c > backup.sql
- if you have no SSH accounts use AdminCP or phpmyadmin


B-1 moving db to new server from old server :
see here : vBulletin Manual


C- Restoring dB to new server :

1- if you have root access run following query to create new dB
Code:
CREATE DATABASE `forum` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
otherwise run following query after create db
Code:
ALTER DATABASE `forum` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
2- run following query to restore dB
Code:
mysql -u root -p 123 -f forum < backup.sql
3- Repair / Optimize Tables using phpmyadmin

4- you can start "upgrade"

Thats all
Good luck.........................
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Host - New Server steveninstl vBulletin Questions 11 11-14-2007 12:21 PM
Physically Moving Forum DrussRob vBulletin Questions 8 09-05-2007 11:30 AM
I need help moving hosts! Jibba Jabbas vBulletin Hosting Questions 3 06-01-2007 02:16 AM
Moving forum from /forums to public_html wahm vBulletin Questions 4 05-05-2007 12:31 AM
vBulletin Sites Moving Servers Brandon Official vBulletin Announcements 5 10-24-2006 07:13 PM


All times are GMT -6. The time now is 09:55 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory