vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   More Backup Options (https://vborg.vbsupport.ru/showthread.php?t=43852)

Hoffi 09-22-2002 10:00 PM

More Backup Options
 
I wrote this Hack just a few Minutes ago. It is a very small one, but i needed the Changes, so you may also need and use it.

It Adds an Option in the Database-Backup that allows you to Choose the Kind of Deleting the Data in the Database before Inserting.

Normally there will be in fromt of the INSERT Statements the Query DROP TABLE IF EXIST and the neccessary CREATE TABLE Statement. With this Hack you can Choose to DELETE the Content of the Table only. So a DELETE FROM 'table' will be set in the Dump. This may help ou by Backup your Database, Install a Hack with Strukture-Changes and then wirtes back the Dump. If you writes back a DUMP with DROP Table, you mus renew your Hack, with the DELETE Option you can directly Insert the Data.

I plan to add more Options with the Time.

Hoffi 09-23-2002 02:08 PM

Heres a Screenshot.

Hoffi 09-23-2002 02:11 PM

And the File in German.

Bison 09-24-2002 03:23 AM

I like the concept of this hack but under what circumstances would this be needed?

[D]Vincent 09-24-2002 05:00 AM

lol yeah, maybe if I had use for it then this would be a good hack. Plus my database, as most others probably are, is too big and the download just times out and I never get the back up.

Hoffi 09-24-2002 07:17 AM

The actual Forum is 2.2.2 and I just build a new Portal around the 2.2.7 and many other Hacks are included in the New Site.
With this Option it is easier to Move the Database because the Structure of the New one has Changed a lot. So if I do the Dump with DELETE before INSERT the Data is only deleted and the structure is the same. If I use the original Dump my new Structure is gone and I have to aplly all Database Changes again.
To make this Hack was faster.

And why not share? Perhaps somebody may find it useful, too.


All times are GMT. The time now is 10:03 AM.

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.02897 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)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