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)

HiDeo 11-04-2004 07:13 PM

Nice jobs thanks

HiDeo 11-04-2004 07:33 PM

I have an error:

Warning: exec() has been disabled for security reasons in /home/.sites/**/*****/web/includes/cron/vbcron_db_backup_131.php on line 38

Warning: exec() has been disabled for security reasons in /home/.sites/**/*****/web/includes/cron/vbcron_db_backup_131.php on line 47
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

No idea ?

Jesse Jericho 11-08-2004 01:30 PM

Installed! Thanks.

*edit* I noticed that the backup script isn't shutting down the forum while it is working, is this right?

alkatraz 11-25-2004 05:31 PM

works great! thank you

TJFweb 11-26-2004 11:26 AM

Does anyone if it's possible to have this script run in batches of tables in order to avoid mysql run out of memory errors?

muse.mu 12-14-2004 12:14 PM

any update of the new version? :)

jluerken 12-23-2004 05:05 PM

Quote:

Originally Posted by muse.mu
any update of the new version? :)

When will you release version 2?

SaN-DeeP 12-24-2004 02:50 AM

Quote:

Originally Posted by jluerken
When will you release version 2?

I am expecting this to be added as a feature in new vbulletin :)

Johannes de Le?n 12-24-2004 07:16 AM

Thank you, it works like a charm on 3.0.3.

/me clicks install

Jolten 02-07-2005 07:27 AM

Thanks Brad!

ambrosious 02-19-2005 05:32 PM

Does anyone know: How to overwrite the previous day's backup?

Also, the script doesn't seem to put anything in my backup folder and the path is set correctly ie 'home/ambro/public_html/vbulletin/backup/' so I'm lost and looking for ideas.

almqdad 03-08-2005 08:11 AM

this hach is good but it needs upgrade

when

caislander 03-31-2005 03:55 AM

Anybody,

I have installed this hack and when I run it from the control panel it says that it was invoked with no errors and the log says that it wrote a file to the folder but when i go to the folder there is nothing there?? can anyone give me an idea what is wrong?

thanks

Rambo 05-31-2005 11:24 AM

*installs*

Great mod! works perfectly =).

Logikos 08-29-2005 04:38 PM

Hey brad, you think this same file will work for 3.5?

TheEDIGuy 03-01-2006 04:46 PM

Sure would be nice if the author of this vbcron would update it for 3.5.x. I loved this thing.

nitro 03-01-2006 07:01 PM

The file works fine in 3.5x but logging is broken, change

Code:

$DB_site to $vbulletin->db

and

comment out the log line leave the echo line. Doubt it would take much to fix the logging function but I dont have time right now.


TheEDIGuy 03-03-2006 07:37 PM

It doesn't work, even with the change. It has something to do with the include at the beginning of the file.

I've played with it, but don't know enough about it to be able to fix it, unfortunately.

GTAce 03-03-2006 07:46 PM

Hopefully I don't get reamed for this, but since this mod is so outdated, I figured I'd let you know about an alternative...I've written a similar tutorial that will get this done...which is actually not version or software dependent - so it will work on any software, any MySQL database for that matter...The current script will maintain a rolling copy of the latest 3 backups, but I plan to write more in the future that will save more backups and some that will give you the ability to run both daily and/or weekly and monthly backups...Anywho, you can find it here

Logikos 04-26-2006 08:34 AM

I ported this exact hack to 3.5.4 with Brads permissions. You can find the 3.5.4 version here: https://vborg.vbsupport.ru/showthread.php?t=114097 :)

rb2k1 07-18-2007 08:34 PM

I go this to work 100% in vBulletin 3.6.5 by doing the following:

Replace:

PHP Code:

// for some reason beyound me query was un-defined for some users, so this is here as an attempt to fix it...
require_once('./global.php');

if (
$DB_site == NULL)
{
    exit;



With:

PHP Code:

// for some reason beyound me query was un-defined for some users, so this is here as an attempt to fix it...
// require_once('./global.php');

if ($vbulletin->db == NULL)
{
    exit;




All times are GMT. The time now is 03:19 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.01253 seconds
  • Memory Usage 1,757KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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