vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Restore threads using 'post' table (https://vborg.vbsupport.ru/showthread.php?t=52533)

kaotic 05-04-2003 12:45 AM

Restore threads using 'post' table
 
I'm stuck in an odd situation. I had 2 backups of the forums. Somehow, my earliest backup wasn't completed. I was able to update all of the MySQL tables up to the search index table, meaning I was missing important tables like 'user' and 'thread.' I was, however, able to restore an early backup of the 'post' table. For now, I'm using the old table backups. Now I need a hack or modification of some sort that will rebuild threads table using information from the 'post' table. I believe there is something floating around that will restore the 'user' table using information from the 'post' table, but I wasn't able to find it. A link to that would also be very helpful. Thanks.

Note: I looked for something like this in the counters page within the admin cp, but it only deletes orphan posts instead of using them to recreate the threads.

filburt1 05-04-2003 12:56 AM

It's possible except for one critical detail (among others): you don't know the original forumid of the deleted threads to be able to recreate them.

Dr. Bantham 07-23-2011 01:05 PM

I have need for this. Somehow about 100 of my threads were deleted/corrupted, but the original posts remain intact. How can I re-create the original thread table entries using the post table?


All times are GMT. The time now is 12:07 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.00895 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
  • (3)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