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 Pro (Lite) for vb 3.6 (https://vborg.vbsupport.ru/showthread.php?t=126925)

Deimos 09-06-2007 12:27 AM

This is the out of memory message I get

Creating gzip file from SQL file

Fatal error: Out of memory (allocated 5242880) (tried to allocate 206317869 bytes) in /home/xxxxx/public_html/includes/mysqlbackup.php on line 534

Forgot to add, I had the memory limit set to 500mb and it did this
so I don't know what to do

StarBuG 09-28-2007 06:54 AM

Hi

Is there a way to have the script make 2 backups each day?
How would I do that?

I have lost 2 days of my forum a while back because the backup was done a short while after my database got corrupt.
To prevent that I really would like to have 2 Backups each day.

Any chance for that?

Thanks in advance

StarBuG

Deimos 09-28-2007 07:02 AM

Can someone tell me why I keep getting that out of memory message?
I still can't do regular backups because of it

Fatal error: Out of memory (allocated 5242880) (tried to allocate 208268833 bytes) in

Paul M 09-28-2007 07:06 PM

No idea, there is no gzip facility in this modification.

Paul M 09-28-2007 07:09 PM

Quote:

Originally Posted by StarBuG (Post 1348801)
Hi

Is there a way to have the script make 2 backups each day?
How would I do that?

I have lost 2 days of my forum a while back because the backup was done a short while after my database got corrupt.
To prevent that I really would like to have 2 Backups each day.

Any chance for that?

Thanks in advance

StarBuG

AFAIK, you cannot run one vb cron job just twice a day - you would need to create a second cron job to run at the hour you want.

You also need to change the config file to include the hour in the file name, otherwise one backup will overwrite the other.

StarBuG 10-03-2007 09:59 AM

Quote:

Originally Posted by Paul M (Post 1349150)
AFAIK, you cannot run one vb cron job just twice a day - you would need to create a second cron job to run at the hour you want.

You also need to change the config file to include the hour in the file name, otherwise one backup will overwrite the other.

I know that, but how do I add the hour into the filename in the config?
I am not a php programmer ;)

Paul M 10-03-2007 10:14 AM

Edit the backup date config line ;

Quote:

$backup['DATE'] = 'Y-m-d'; // Backup file date format
The format of the letters is here.

StarBuG 10-03-2007 10:55 AM

This adds the time to the folder as well

I rather would like to have the time added to the filename only so that I have one folder per day with X numbers of backups inside it.
How would I go for that?

Paul M 10-03-2007 12:03 PM

You cannot, there is no seperate setting for that.

StarBuG 10-03-2007 12:47 PM

But wouldn't that be possible by editing the mysqlbackup.php file?
The name is generated there, isn't it?
I don't mind having it hardcoded and not as a config setting.


All times are GMT. The time now is 11:59 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.01321 seconds
  • Memory Usage 1,735KB
  • 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_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