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)

shuuk 04-21-2011 09:24 AM

i want to make a everyday at 20:00 autobackup..
how can i do that?

please can anyone show me that in a pic?

TeknoSounds 04-25-2011 10:52 AM

change Stunde to 20... unless your server time is offset, then you'll need to adjust for that.

Stefan118 05-01-2011 08:20 PM

Every week I let this mod make a backup of the database, and every week I get this error in my mailbox:

Database error in vBulletin 4.1.3:

Invalid SQL:

INSERT INTO papegaaienforum_cronlog
(varname, dateline, description, type)
VALUES
('cbu_crontask',
1304219014,
'Backup Completed Successfully',
0);

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Sunday, May 1st 2011 @ 05:03:34 AM
Error Date : Sunday, May 1st 2011 @ 05:20:46 AM
Script : http://www.papegaaienforum.nl/cron.php?rand=1304219014
Referrer : http://www.papegaaienforum.nl/search.php?searchid=81263
IP Address : 94.211.138.61
Username : Niet Geregistreerd
Classname : vB_Database
MySQL Version :


What can I do about it exept for disabling this mod?

Paul M 05-01-2011 08:47 PM

Quote:

Originally Posted by Stefan118 (Post 2190807)
What can I do about it exept for disabling this mod?

You can just ignore it. Its only the logging of the cron run after backup completion.

I would guess your mysql timeout is quite small and its timing out before the log command can be run (are you using the gzip option ?).

Stefan118 05-02-2011 12:07 PM

Ok, thank you.

Yes, I do use that, because the database is about 1.5 Gb. (350Mb with gzip)

Paul M 05-02-2011 06:10 PM

Thats why then - the Gzip is taking longer than your mysql timeout.

Gamelobby 05-05-2011 06:07 PM

Quote:

Originally Posted by Paul M (Post 2183722)
Then your path is probably wrong, try ../../backupfiles/

So this should work correctly, or should i make a new folder.?
example.com/folder/_db_backups



*edit*


I created this folder
Code:

example.com/folder/backupfiles
but still get the error.?
Quote:

Backup Error : Could not write to destination file
I beleive it is write-able... see image.

CharlieDelta 05-06-2011 07:14 PM

Installed and works like a charm!
Thanks Paul!!

Paul M 05-06-2011 10:26 PM

Quote:

Originally Posted by Gamelobby (Post 2192375)
So this should work correctly, or should i make a new folder.?
example.com/folder/_db_backups



*edit*


I created this folder
Code:

example.com/folder/backupfiles
but still get the error.?


I beleive it is write-able... see image.

I cannot really answer server specific questions as few servers are exactly the same.

Gamelobby 05-07-2011 07:28 AM

Server specific..!?

I know you obviously don't know what my folders are named, but i'm asking if anything looks wrong to you as far as folder structure & if it looks writable (see image)

I'm just trying to get it to work, like everyone else.
Thanks


All times are GMT. The time now is 07:33 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.01979 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (4)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