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)

MrZeropage 03-14-2004 04:11 PM

I hope the "extended version" will be released soon, which switches the board offline for the backup-process - and of course turns it on again after finishing ;)

Christine 03-14-2004 10:51 PM

ThePartyBorg,

I am also backing up to another server. Why not just write a system cron that will take the datadump from this vBcron and ftp it to the other box?

Brad.loo,

Nice job! One question -- would it be possible to exclude tables from this (search/word/etc) so as to pare down the size of the datadump?

Boofo 03-14-2004 10:53 PM

Quote:

Originally Posted by Martyjp
What format for the path should we be using?

/home/space/public_html/backupdir or ./backupdir ?

/home/space/public_html/backupdir

lasto 03-14-2004 11:28 PM

anychance of being able to actually reload the backup back though this proggie as i dont have a clue of how to telnet in and do it that way.

On vb2 someone made a hack that did just this it saved to a folder on the server and you could also re-install it if needed.If this was added this would be a cool hack esp for someone like me as this is one of the major reasons i wont update to vb3 cause my host wont allow outside connections so i cant use a program like MYSQLfront to do it all for me.

Plz consider it :)

Marulatree 03-15-2004 01:37 PM

I'm getting this error:

Parse error: parse error in /home/******/public_html/forum/includes/cron/****.php on line 31

TCSoul 03-15-2004 05:25 PM

Quote:

Originally Posted by Morpheus84
At my vB3 the Script won't will be work :(
I click on "Do it now" and my vB says "All done."
On my FTP Server there's nothing to see about a backup :(

Plz help.

I'm actually experiencing the same problem as Morpheus, and I'm trying to diagnose it a little bit further. I'm thinking that the script is being found just fine, but it is exiting out of itself because of the first line of the script:


PHP Code:

if ($DB_site NULL)
{
    exit;


Now then, I am already fairly certain this is a stupid question... BUT.... I sure don't see any variables called $DB_site anywhere in this file. Does it make sense that that would be the cause of the problem? I don't really think so, because everybody else can seem to get this working fine... That said, would this problem result from typing an improper path name in teh actual script. I'm confused because vb says it is 'All Done', but nothing is actually happening, nor is anythgin being registered in my Scheduled Tasks log....

mOdEtWo 03-16-2004 06:17 AM

Quote:

Originally Posted by TCSoul
BUT.... I sure don't see any variables called $DB_site anywhere in this file. Does it make sense that that would be the cause of the problem? I don't really think so, because everybody else can seem to get this working fine...

Nah, it hasn't got anything to do with vB. It's using MySQLdump, a command to backup databases to files, and you specify the database name in the php script.

Anyway, Brad.loo, s'up? When can we expect an update with the new features? I think this is one of the best "hacks"/additions to vB3 so far. So keep up the good work! https://vborg.vbsupport.ru/external/2011/01/19.gif

Marulatree 03-16-2004 11:46 AM

bump?

NTLDR 03-16-2004 12:02 PM

Quote:

Originally Posted by TCSoul
PHP Code:

if ($DB_site NULL)
{
    exit;



PHP Code:

if ($DB_site == NULL)
{
    exit;


That is what that section should be like.

BBQ 03-16-2004 01:34 PM

I vote for the ability to move the backup to a different server too!
I would like to have the backups ftp'd to my home ftp-server, but i doubt i can set any system cron's on my hosting site.


All times are GMT. The time now is 08:13 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.01151 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
  • (3)bbcode_php_printable
  • (4)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