vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to merge posts from pruned database? (https://vborg.vbsupport.ru/showthread.php?t=180227)

cache 05-23-2008 05:40 AM

how to merge posts from pruned database?
 
my vbulletin mysql database was backed up a month ago. Then a week later an admin pruned a lot of posts, we did not find out this until today. So the question is how can I import/merge the posts from the very old database to bring back all the pruned posts?

thanks.

Marco van Herwaarden 05-23-2008 10:16 AM

The only way to do so would be to use ImpEx:

- Restore the backup into a new database.
- Install a second copy of vBulletin as a testsite and connect to the restored database.
- Clean (delete) all information you do not want to import
- Use ImpEx to merge the cleaned backup database into your production database.

PS This might cause problems with ImpEx restoring the threads into new forums, but that is something you can repair afterwards.

Try this on a testboard first!!!

cache 05-23-2008 06:02 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1528802)
The only way to do so would be to use ImpEx:

- Restore the backup into a new database.
- Install a second copy of vBulletin as a testsite and connect to the restored database.
- Clean (delete) all information you do not want to import
- Use ImpEx to merge the cleaned backup database into your production database.

PS This might cause problems with ImpEx restoring the threads into new forums, but that is something you can repair afterwards.

Try this on a testboard first!!!

thanks for your reply. The "Clean (delete) all information you do not want to import" is to clean from myadmin/mysql or to clean from the vbulletin itself? When I tried from the ImpexEx it looks like the process is sequencial (dependant) operation. You have to import the users, the forums before you import the posts. What I really want to import is the posts.

Marco van Herwaarden 05-24-2008 08:05 AM

Cleaning should be done using the regular tools vBulletin offers, not in a tool like phpMyAdmin.

Yes ImpEx is sequential, but it will merge useraccounts if the username and email address matches, so you should not get many duplicate users (only if they changed name or email address since the backup was made.

You will get new usergroups/forums, but it should be a few minutes work to merge these with the existing ones.


All times are GMT. The time now is 08:35 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.00998 seconds
  • Memory Usage 1,718KB
  • 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
  • (4)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