Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 07-25-2009, 03:07 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Update Question

Allright ladies & gents, a quick one for ya'

I have a client, currently running vB 3.0.7 but had someone update them to 3.8.1 not long ago however it was never finished, so the current updated DB has old info, old post, the old members, nothing new like the live 3.0 site has now. He has clearly stated he wants to move to a new host period .

Now, as far as I know the best method is the same method I have used countless times which is:
  • Close the 3.0 boards, make a database backup.
  • Upload ALL the current files for the 3.0 forums onto the new host.
  • The host has a memory limit so they said simply upload the backup and they would take care of it (great less work for me ).
  • Then upgrade all the way to 3.8.3, then do any changes or removals of what the owner does not want anymore.
Again, as far as I know I can't export the 3.0.7 db and then try to overwrite the unfinished 3.8.1 conversion, the 3.8.1 is up and running but not active or publicly accesed etc. So basically it will laugh at me if I attempt this... I thought to simply rename the folder it was in to vbtest or testvb so he would have a site to test mods or tweaks on as it is allowed as long as the forum is private.

So, have I been doing this the long way each time or what? All I know is from my experience I can't use the new database or site files with old DB info that is not current, so basically I can't import 3.0.7 into an already updated 3.8.1 (I could but a lot of tinkering w/ the DB) so again, in you opinion do I need to be shown a shorter way? I always work w/ the most current files and DB copy/backup to ensure no loss of data or broken links to folders not present etc.

Thanks for reading and commenting if you do so, I just wanted to make sure this is done in a timely manner and to me it's upload the current file from the FTP to the new site, import the DB and make sure the details match in the config file then update!

S-MAN

Edit: and lol, I might have needed to post this in the General vBulletin discussion... if so please move and I'll find it later admins

--------------- Added [DATE]1248539305[/DATE] at [TIME]1248539305[/TIME] ---------------

So basically I pretty much follow this...

Quote:
Originally Posted by Floris View Post
If you are moving to a new server you do not have to install vBulletin fresh. This will actually cause issues if you later import the .sql dump.

This is the best way in my eyes to move from server A to B:

* Close the forum on the old host
* Make a shell ssh backup of the database into a .sql file to your hard drive
* Make a ftp backup of the forum files to your hard drive
* Move the database backup and the forum files to the new host
* Create a new empty database on the new host
* Restore the .sql dump through shell ssh into this new database
* Update the config.php file to point to this new database
* Login to the admincp and open the forum again
* Upgrade to a newer vBulletin if you haven't already to ensure security and bug fixes and best support
--------------- Added [DATE]1248542749[/DATE] at [TIME]1248542749[/TIME] ---------------

Or should I simply use the impex... overlooked that... hmm checking into it now
Reply With Quote
  #2  
Old 07-26-2009, 05:44 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Floris nearly has instructions on what I would do. However, instead of uploading the old files, then uploading new files, then upgrading; simply upload the 3.8 files and upgrade.

ImpEx is also another solution. Use this if you don't care about existing IDs and you want a "clean" board. However, it is not a recommended upgrade path.
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 06:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08106 seconds
  • Memory Usage 2,166KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete