vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   mass delete (https://vborg.vbsupport.ru/showthread.php?t=45753)

Delmon 11-15-2002 03:40 PM

mass delete
 
hi

i mass delete my forum threads by mistake

is there any way to get them back?

please

Bison 11-15-2002 03:45 PM

Only IF you made a database backup ... did you do that?

Delmon 11-15-2002 03:50 PM

one week back only

Bison 11-15-2002 03:59 PM

That's what you need ... you can't get back the posts. Your bad on this issue. This backup will overwrite all other recent posts.

You might have to make up an explanation to your guest but at least you'll have your threads back.

Regards...

NTLDR 11-15-2002 04:23 PM

Quote:

Originally posted by Rolodex
This backup will overwrite all other recent posts.
Not if you restore the backup correctly.

Bison 11-15-2002 04:48 PM

If the dump was done with a "vbulletin.sql" file and restored with a "INSERT" statement ... this will overwrite everything, correct?

IF there's another way (Using that file I mentioned), help the guy out please! :)

NTLDR 11-15-2002 06:06 PM

The only way he will lose threads/posts/members is if he drops the table. The INSERT will only add data or overwrite it with whats probably already there unless its been edited.

So the simple solution is to remove the DROP TABLE and CREATE TABLE SQL statements should they exisit.

Sebastian 11-15-2002 06:11 PM

Or you could dump/backup the current database then use a program to check the difference between the two, then run the combined .sql, no?

also, how the heck did you mass delete, it asks twice "Are you sure."

Bison 11-15-2002 07:32 PM

Quote:

Originally posted by NTLDR
The only way he will lose threads/posts/members is if he drops the table. The INSERT will only add data or overwrite it with whats probably already there unless its been edited.

So the simple solution is to remove the DROP TABLE and CREATE TABLE SQL statements should they exisit.

I'm only speaking on experience here ... I remember inserting a backup over my original table and found that I lost all of my recent posts ... I was using the backup to replace the damage the "attachments as files" hack did to my attachments table.

I took a look inside the sql file and noticed that it drops the tables if they are present and re-creates the table and populates it with the backup data...


All times are GMT. The time now is 01:46 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.01022 seconds
  • Memory Usage 1,725KB
  • 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
  • (9)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