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)

your24hourstore 06-14-2010 01:03 AM

Quote:

Originally Posted by MixMakers (Post 2052904)
I have a fairly large forum and the backup seems to always freeze @:

--- Processed 18300000 Rows

Database is over 2 gigs when it freezes. Any idea as to why this happens?

when was the last time you repair or optmizes the tables in maintenance?

your24hourstore 06-14-2010 01:05 AM

Quote:

Originally Posted by jeffinj (Post 2053193)
Peace of mind of after 393 secs of backup execution.
This is a great mod Paul!! Thank you.

this is the most important mod in here i would think, i wish it would gzip it so i didnt have to :>

pltillman 06-16-2010 09:29 PM

I get this error when trying to run the cron job manually.

Backup Error : Could not write to destination file ( ../../backups/2010-06-16/Forum-2010-06-16-Access.sql )

I will admit that I'm new to vbulletin and don't yet fully understand all the intricacies regarding plugins and how they are ran. With that said I did try manually creating a backups directory and chmod 777 to make sure it was writable. I tried placing it in the following directories and each time I got the error.

\
\community - subdomain that vbulletin is installed in
\community\includes

I also wish there were additional options such as emailing the backup file (under a given size of course) or the ability to specify a save location.

Any help is greatly appreciated.

patrick

Paul M 06-16-2010 11:17 PM

E-mailing will never be an option.

You can already specify the save location in the options. The default which the error shows you are using) is ../../backups/

This is a folder called backups, two levels above your forum folder.

e.g.

/var/www/sitename/httpdocs/community = your forum location
/var/www/sitename/backups/ = default backups location

pltillman 06-17-2010 02:46 AM

Thanks Paul. This was literally the first mod I've played with so I just realized I had been going to the Scheduled Task Manager to edit the options, but now I've found the 'real' options under Settings. I updated the save location and it works like a charm. Thanks again!

Oh.. and may I ask why emailing will 'never' be an option?

Thanks
patrick

Paul M 06-17-2010 12:39 PM

E-mailing copies of your database is a huge security risk. Most databases will also be far larger than any e-mail system can handle.

xenxo blanco 06-23-2010 10:45 AM

I had an error when trying to do a backup..

Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/vhosts/spmi.com/httpdocs/includes/mysqlbackup.php on line 402

Paul M 06-23-2010 12:54 PM

You need to speak to your host about that, they are limiting the run time in php.

Speedy1505 06-25-2010 07:52 AM

A corresponding entry is on the moderator options vorhanden.Ist it possible to extend this hack to a TAR compression?

In places the backups are still very large.

many thanks

Paul M 06-25-2010 05:22 PM

Gziping the files will be an option in the next release, im testing it atm.


All times are GMT. The time now is 01:21 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.01792 seconds
  • Memory Usage 1,736KB
  • 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_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