vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   urgent : database exporting / repairing (https://vborg.vbsupport.ru/showthread.php?t=78877)

xfaethorx 03-27-2005 08:57 AM

urgent : database exporting / repairing
 
right,

we've got a database on our site thats been used for quite some time now and lots of hacks have been installed that have effected the database tables. Now because we are changing hacks and want to be able to do it all without much messing around we need to either

1. restore all the tables to their original "out of the box" fields and drop any unwanted tables. This would keep all the users / threads / posts + attachments that are already on our board.

2. export just the users threads posts and attachements and import them back into a new database.

We don't have much time here as pretty much we have a 48hr window to get this done in and we've left it abit late as usual. I could do with a little input as to the quickest way to do this.

worst case senario is dropping the entire db starting from a fresh install and getting everyone to sign up again but our user base is sooooo tetchy the people we maintain the site for will probably go insane!

help as always is appriciated.

Marco van Herwaarden 03-27-2005 01:30 PM

Hmm difficult one. Most easy one would be to create 2 temporary databases:
1. A fresh (empty) install of vBulletin with preferably the same version you are running now.
2. Export your current database with only table structures, no data.

Now do a backup/export of both and do a file compair on the 2 files to find the differences in the table structures between both testdatabases. These are the database changes you will need to do to get your current database in a default configuration again.


All times are GMT. The time now is 12:59 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.02909 seconds
  • Memory Usage 1,705KB
  • 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)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