vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   [urgent] Db Merge (https://vborg.vbsupport.ru/showthread.php?t=221139)

tafreeh 08-18-2009 12:28 AM

[urgent] Db Merge
 
Hey there.. ok here is the story...

yesterday i had a db error so i restored 2 hours backup, but then i start getting complains that people are not seeing their stuff this and that...

so therefore i need merge another DB into my current DB....

and i neeed help with that....

first of all is it possible to do so

is there any possible errors i can get

if no, how do i merge them


Thanks allot

Dismounted 08-18-2009 06:38 AM

Why do you need to merge a database?

tafreeh 08-18-2009 06:54 AM

i lost some post and threads, which i have on my backup, so i just wanted to take those post and threads and put it in my current db....

so i thought merging both dbs would recover my lost posts... but i dun know how do i do that....

Dismounted 08-18-2009 07:44 AM

A better option is to use ImpEx to merge sets of data.

Marco van Herwaarden 08-18-2009 08:21 AM

You MUST use ImpEx, you can not just merge 2 databases. But be aware that ImpEx will also lead to some problems:
- URL's of the imported posts will change
- Forum definitions etc, are imported again

tafreeh 08-18-2009 09:43 PM

but i m just gonna run the module of post and threads...

not forums and no users and nothing else....

would still cause some problem?

theFM 08-18-2009 09:50 PM

a single word : - "NO"

Marco van Herwaarden 08-19-2009 09:28 AM

@theFM

And how do you come to such a conclusion?

@tafreeh

AFAIK it is not possible to run only posts/threads. You always first MUST import users/usergroups/forums. Otherwise ImpEx can not match posts to users or forums.

tafreeh 08-19-2009 09:49 AM

but why vb.com is saying, that impex will not help at all..?
check out the link: http://www.vbulletin.com/forum/showthread.php?t=315726

Marco van Herwaarden 08-19-2009 10:05 AM

Well i am getting really confused by your posts.

Let me recap:

- You had a database error on your site
- You decided to restore a 2 hour old backup. Result should be that your board is back to the situation of 2 hours ago, so you have basically lost 2 hours of postings/registrations.
- Your members complain about the posts made in these 2 hours that are lost. If i where the admin i would say though luck, repost.

But now it gets confusing. You have another backup (??) that still has these 2 hours worth of postings? And now want to merge all in this backup or only the posts of the lost 2 hours into your current database?


All times are GMT. The time now is 02:25 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.00968 seconds
  • Memory Usage 1,727KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete