vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Update Question (https://vborg.vbsupport.ru/showthread.php?t=219441)

TheLastSuperman 07-25-2009 03:07 PM

Update Question
 
Allright ladies & gents, a quick one for ya' :D

I have a client, currently running vB 3.0.7 :eek: 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 :p.

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 :D).
  • 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 :D

--------------- 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 :D

Dismounted 07-26-2009 05:44 AM

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.


All times are GMT. The time now is 05:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01064 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete