vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - vBulletin Cron Based Database Backup (https://vborg.vbsupport.ru/showthread.php?t=231481)

Paul M 05-08-2011 10:50 AM

There is generally more involved than just the folder settings (which themselves are fine). Things like open_basdir can restrict what areas apache can write too. Its also not possible from your post to see where the folder is in relation to your vb installation. Like I said, most peoples set-ups are slightly different.

Gamelobby 05-08-2011 04:48 PM

I see.. yea i guess my example could be misleading. Mine is set outside the Forums
Quote:

example.com/Notforumsfolder/backupfiles
Any suggestions what i could try that could be not allowing it to write/work.?

Thanks

TeknoSounds 05-10-2011 07:30 AM

do you have access to your logs? could check there to see if the job is throwing something in there that could be an indication.

As for my site I have it set up as:
BU folder location
mysite.com/backups

settings in acp:
../backups/

running on linux.

Gamelobby 05-10-2011 11:17 PM

Quote:

Originally Posted by TeknoSounds (Post 2193948)
do you have access to your logs? could check there to see if the job is throwing something in there that could be an indication.

As for my site I have it set up as:
BU folder location
mysite.com/backups

settings in acp:
../backups/

running on linux.

Where, which logs.?


Wait, am i literally supposed to use dots.?
.../backups

Because if so, that is probably the issue. lol

Paul M 05-11-2011 10:46 AM

Yes, the dots are important (two dots, not three, and a slash)

../ means up one folder level.

prandah 05-12-2011 10:12 AM

hello paul

i used this on my server
i use xen memroy 1GB

but yesterday when i run this
i get error
here is my error ?

PHP Code:

Database error in vBulletin 4.1.2:

Invalid SQL:

INSERT INTO pacus_5777101_kyocronlog
(varnamedatelinedescriptiontype)
VALUES
('cbu_crontask',
1305144575,
'Backup Completed Successfully',
0);

MySQL Error MySQL server has gone away
Error Number 
2006
Request Date 
WednesdayMay 11th 2011 04:09:35 PM
Error Date 
WednesdayMay 11th 2011 04:11:36 PM
Script 
http://www.ditusuk.com/tempik/cronadmin.php?do=runcron&cronid=40
Referrer http://www.ditusuk.com/tempik/cronadmin.php?do=modify
IP Address 123.456.789
Username 
Admin
Classname 
vB_Database
MySQL Version 



what should i do ?

marianoblesa 05-12-2011 09:15 PM

This is where you put?

<!-- $Header: F:\CVS/4.x/Auto-backup/Auto-backup.txt,v 1.3 2010/12/04 22:52:33 Pem Exp $ -->

Paul M 05-12-2011 10:46 PM

Quote:

Originally Posted by prandah (Post 2194713)
what should i do ?

Read back a few posts - your mysql timeout is low, so the connection is timing out, probably because you are gzipping the file.

Paul M 05-12-2011 10:46 PM

Quote:

Originally Posted by marianoblesa (Post 2194915)
This is where you put?

<!-- $Header: F:\CVS/4.x/Auto-backup/Auto-backup.txt,v 1.3 2010/12/04 22:52:33 Pem Exp $ -->

I dont know what you are asking.

prandah 05-13-2011 05:07 AM

Quote:

Originally Posted by Paul M (Post 2194944)
Read back a few posts - your mysql timeout is low, so the connection is timing out, probably because you are gzipping the file.

so do I have to rebuild Gzip again?
or whether the database could still be in use ( can be dump )? because there is an error log?


All times are GMT. The time now is 02:27 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.02075 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
  • (1)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
  • (3)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