vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Accidental Forum Deletion (https://vborg.vbsupport.ru/showthread.php?t=320558)

broncoshq 10-19-2015 04:14 AM

Accidental Forum Deletion
 
Howdy,

So we've deleted a forum, thinking it would merge the posts, which is clearly doesn't.

So apparently those threads and posts will now be orphaned? How to I get those threads and posts, back into another forum?

RichieBoy67 10-19-2015 06:14 AM

Do you have a back up?

broncoshq 10-19-2015 06:24 AM

We have, yes. However, the posts and threads remain in the DB don't they?

How do I merge the two DB without losing new posts since the previous backup.

Dave 10-19-2015 06:58 AM

When you delete a forum, all associated data to that forum will also be deleted.
I'm afraid the only way to restore it is by importing the data over from an old backup.

Using something like PHPMyAdmin, tick all the threads/posts you want to move over to the live database and export it. Then execute those queries against the live database.

cellarius 10-19-2015 07:14 AM

Quote:

Originally Posted by broncoshq (Post 2557261)
We have, yes. However, the posts and threads remain in the DB don't they?

No, why should they? This would lead to a score of orphaned entries in the threads/posts tables which you would have no way to access. It would have to be considered a bug if it was that way.

You can't remove the bucket and keep the water.

friendlymela 10-19-2015 08:20 AM

Quote:

Originally Posted by broncoshq (Post 2557256)
Howdy,

So we've deleted a forum, thinking it would merge the posts, which is clearly doesn't.

So apparently those threads and posts will now be orphaned? How to I get those threads and posts, back into another forum?

If u have saved your db backup then each n every post/thread will be back.. just install new forum and then connect it with your old db.. before do this disable all plugins because its requires plugins files


All times are GMT. The time now is 04:59 PM.

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.00993 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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