vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [vbcron] Automatic database backup [v1.3] (https://vborg.vbsupport.ru/showthread.php?t=62149)

Onkel_Tom 05-06-2004 10:02 PM

Okay, I wrote down the installation instruction for the change to handle all database parameters directly from config.php in few lines.

Boofo 05-06-2004 11:34 PM

Quote:

Originally Posted by Onkel_Tom
Okay, I wrote down the installation instruction for the change to handle all database parameters directly from config.php in few lines.

I will try it now. ;)

Boofo 05-06-2004 11:54 PM

Ok, it works. I had to change this (in your instructions file):

PHP Code:

if (DUMP_MAKE_TAR == '1'

to this (to get it to compress it, though):

PHP Code:

if ($DUMP_MAKE_TAR == '1'

But other than that, great job and thank you, sir. ;)

Onkel_Tom 05-07-2004 08:59 AM

Quote:

Originally Posted by Boofo
Ok, it works. I had to change this (in your instructions file):

PHP Code:

if (DUMP_MAKE_TAR == '1'

to this (to get it to compress it, though):

PHP Code:

if ($DUMP_MAKE_TAR == '1'

But other than that, great job and thank you, sir. ;)

I updated the instruction file !
Thanks Boofo ;)

Brad 05-07-2004 09:56 AM

Sorry for all the updates guys, fixed that last missed DUMP_DATE. No version change but new file in the first post.

Haven't been getting much sleep as of late, so thanks for catching all these for me, I belive the one up now should be stable enough to run until I get 2.0 wrapped up :)

Boofo 05-07-2004 10:00 AM

Quote:

Originally Posted by Brad.loo
Sorry for all the updates guys, fixed that last missed DUMP_DATE. No version change but new file in the first post.

Haven't been getting much sleep as of late, so thanks for catching all these for me, I belive the one up now should be stable enough to run until I get 2.0 wrapped up :)

Brad, I hope you are going to use Onkel_Tom's code when you update to the new version. It works flawlessly and I like the idea that my password and other info isn't in 3 or 4 files when it only needs to be in one. ;)

Onkel_Tom 05-07-2004 01:22 PM

For my "old" friend Boofo now a restore script for the database backups to try.
All is explained in the script itself, and please corect my bad english, I'm german and learned english only in school ;)

Please remove the script after testing from your server because it's a to big security risc to leave them at the server!
Should be only used if a restore of an backup must be done.

Boofo 05-07-2004 01:37 PM

Quote:

Originally Posted by Onkel_Tom
For my "old" friend Boofo now a restore script for the database backups to try.
All is explained in the script itself, and please corect my bad english, I'm german and learned english only in school ;)

Please remove the script after testing from your server because it's a to big security risc to leave them at the server!
Should be only used if a restore of an backup must be done.

You just keep them coming, sir. I will test this out. And, thank you, again. ;)

Evilboy 05-07-2004 02:45 PM

pb :
Backup db

Database backup script was invoked without error, to check that it was done correctly see if the file was written to the folder you specified in the configuration variables. It may take some time before your server finishes backing up depending on the size of your database

?

Brad 05-07-2004 09:20 PM

Quote:

Originally Posted by Evilboy
pb :
Backup db

Database backup script was invoked without error, to check that it was done correctly see if the file was written to the folder you specified in the configuration variables. It may take some time before your server finishes backing up depending on the size of your database

?

This is new, to let you know that the php part is done, but the back-up may or may not be finished.

The script will not automaticly throw a 'done' message like most vbcron scripts.


All times are GMT. The time now is 06:14 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.01233 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete