vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Restoring a specific forum section (https://vborg.vbsupport.ru/showthread.php?t=301803)

SwalyAaron 09-02-2013 05:00 PM

Restoring a specific forum section
 
Got a whole section deleted by a rogue staff member which I mistakenly trusted, anyways I have a back up from 2 days ago but I only want to restore ONE section, is this possible?

Lynne 09-02-2013 08:50 PM

I have seen users post queries to restore specific threads from a backup, but you would need a script to restore a whole section and I have never seen anyone post a script to do this. I'd strongly suggest not allowing moderators permission to hard delete threads/posts.

SwalyAaron 09-03-2013 01:55 AM

Quote:

Originally Posted by Lynne (Post 2442665)
I have seen users post queries to restore specific threads from a backup, but you would need a script to restore a whole section and I have never seen anyone post a script to do this. I'd strongly suggest not allowing moderators permission to hard delete threads/posts.

Was an administrator, anyways;

what if I restore the db to a temp forums delete all other sections exccept my section, export that and then some how import it to the db with out overwriting stuff?

tbworld 09-03-2013 06:33 AM

Writing an import routine is your best bet. Less chance of messing up your current database. And yes, you would just import what you need -- no overwriting.

SwalyAaron 09-03-2013 12:51 PM

Keep getting this error:

MySQL said: Documentation

#1062 - Duplicate entry '82' for key 'PRIMARY'


All times are GMT. The time now is 12: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.00914 seconds
  • Memory Usage 1,713KB
  • 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