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 - vB Database Backup (https://vborg.vbsupport.ru/showthread.php?t=167276)

Paul M 06-17-2008 10:29 AM

You mysql timeout must be very low - I would say the database connection is timing out checking the previous table, which I would guess is the post table.

Sakai Ray 06-17-2008 04:49 PM

This is great clicks install.

PGAmerica 06-17-2008 05:04 PM

This mod rocks, I am having 2 problems.

1) Whenever I modify my "mysqlbackupconfig.php" file to exclude tables from the backup, I get an error that says
Code:

Parse error:  parse error, unexpected ',', expecting ']' in mysqlbackupconfig.php on line 29
Line 29 is where I put in my exclusions. The currently say
Code:

  $backup['TYPE'] = 2; // 1 = Only Specified Tables, 2 = All except Specified Tables
  $backup['quiz_questions','quiz_answers']    = array(); // Table List - e.g. array('table1', 'table2')

They are large and never change so I do not want them backup up. There is nothing wrong with the way they are entered into the array. What is wrong here?

2) The scheduled task area does not have an option to make a task run every 3rd day. How do I do this? This is not a busy site, I have no need for a daily backup.

Ideas?

Paul M 06-17-2008 05:56 PM

1. The example clearly shows you put the tables in the array, you have not done this.

Code:

$backup['TABLES'] = array('quiz_questions','quiz_answers');

2. You cannot do this with the vb cron system.

PGAmerica 06-17-2008 06:04 PM

Quote:

Originally Posted by Paul M (Post 1551862)
1. The example clearly shows you put the tables in the array, you have not done this.

D'Oh! I am such an idiot! Thanks
Quote:

Originally Posted by Paul M (Post 1551862)
2. You cannot do this with the vb cron system.

Is there mod out there that allows me another choice for cron execution?

69lakalle 06-19-2008 03:11 AM

Quote:

Originally Posted by Paul M (Post 1551513)
You mysql timeout must be very low - I would say the database connection is timing out checking the previous table, which I would guess is the post table.

Thank You
What should i do?
Contact webhost ?
What is a good timeout for mysql ?
Thank You again

Paul M 06-19-2008 04:29 PM

If you are on a shared server then contact your host - dont hold out too much hope tho.

BeerLuver 06-20-2008 05:49 AM

Excellent mod/addon :). I'm not too savvy with setting up cronjobs/scheduled tasks properly, so this worked perfectly. Saves a lot of time and hassle for doing regular backups; which I often tend to forget to do heh.

So huge thanks for this :up:

Paul M 06-20-2008 06:39 AM

Quote:

Originally Posted by PGAmerica (Post 1551865)
Is there mod out there that allows me another choice for cron execution?

None I know of.

Artes_Marciales 06-23-2008 05:18 AM

There is any way that files not contain in your name the date but the folder yes contain?
Best Regards!!

**nominated**


All times are GMT. The time now is 06:07 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.01296 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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