vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need to extract single thread from backup file, please help! (https://vborg.vbsupport.ru/showthread.php?t=169583)

gregrob 02-04-2008 03:22 AM

Need to extract single thread from backup file, please help!
 
Hi guys,

Long story short one of our moderators was merging threads into a lengthy and detailed article he had written. He merged some new posts and it put them at the top of the thread. He didn't want to throw it out of order chronologically so he deleted the first post in the thread. Well that deleted the WHOLE THREAD without warning.

First off I think there should be some sort of confirmation when deleting a single post is going to take out the whole thread, that would have most likely prevented this.

I need some help extracting that article from a backup file I have saved from a couple weeks back.

Can anyone tell me how to extract just the one thread from the SQL file, and restore it to the proper forum?

Any help with this is very greatly appreciated.

Thank you,

Greg

Marco van Herwaarden 02-04-2008 05:59 AM

Easiest is to simply lookup the posts in the backup file, and manually copy&paste the text creating a new thread.

gregrob 02-05-2008 06:16 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1435863)
Easiest is to simply lookup the posts in the backup file, and manually copy&paste the text creating a new thread.

Ok, how do I do that in the backup file? It's just a raw SQL file right now. Can I open it in notepad?

Thanks,

Greg

Antivirus 02-05-2008 09:49 PM

Open it in wordpad (or notepad), search for that thread using "Find" and manually recreate that thread. Thebn search for all posts with parentid of original first posts postid and there's all your miissinng posts as we'll.

gregrob 02-08-2008 04:56 PM

Thank you


All times are GMT. The time now is 04:58 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.02610 seconds
  • Memory Usage 1,711KB
  • 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
  • (5)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