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)

Paul M 07-01-2008 10:06 AM

Yes.

mkdevo 07-24-2008 12:07 PM

hi paul. not sure if you can answer this or not:

my host recently upgraded to php version 5.2.6. ever since then, when the backup is complete, it does not turn the forums back on automatically. i have to manually turn the forums on myself every morning.

any idea of a fix for this?

Paul M 07-24-2008 12:20 PM

The only "fix" is not to use that function, you dont need to turn the forum off.

princeedward 08-23-2008 07:08 AM

Quote:

Originally Posted by Paul M (Post 1583064)
The only "fix" is not to use that function, you dont need to turn the forum off.

hi paul...it would be nice if you can you tell us exactly...which file to edit and set this function...and how to do it...coz' my site remain closed also after backup...

thanks and best regards...

:)

Paul M 08-25-2008 09:12 AM

Its a setting in the config file.

princeedward 08-25-2008 05:12 PM

Quote:

Originally Posted by Paul M (Post 1606388)
Its a setting in the config file.

ahhh...OK! thanks...;)

adwade 12-08-2008 06:50 PM

First of all, I want to THANK PaulM for taking the time to create this MOD and put up with all the people not reading the THREAD for excellent help information before posting that...

An error occured during the MySQL backup. Details (Could not open Destination SQL file for writing.)


I took the time to read ALL 42 pages of this thread last night and this morning, and was quite surprised to find that all the issues seem to have been addressed.(it's just people aren't reading the answers posted here :()

I too, got the above error when I first installed the MOD and tried to run a backup, but I kept reading over the various posts and figured out what I had done wrong.(i.e. I needed to use ../../backup as my path to the backup folder)

In particular, I want to THANK SkyCatcher for his l-o-n-g winded post about this problem.
Quote:

Originally Posted by SkyCatcher (Post 1195529)
If I read ONE MORE POST about how to set the path correctly or receiving the

Error I'm going to explode!

Setting the correct path for Linux Distributions


I think if his post had been ANY shorter, I would still have been lost, but he kept trying to get his point across, I kept reading his post, and I finally got it! :D


Also wanted to THANK Sparky5693 for his info about how to create an automatic rolling 7-day backup via this MOD. Works fine!
Quote:

Originally Posted by sparky5693 (Post 1455546)
For those of you that wanted this to delete old backups, you can change the format it names the saved file to accomplish something close. Using the method below, the output file is named Sun, Mon, Tue... etc. By doing this, it would just overwrite the correct the 7 day old file on each save.


Want to say THANKS to Reven and his bit of code to auto gzip the resulting file.
Quote:

Originally Posted by Reven (Post 1152290)
I've added a bit of code into mysqlbackup.php to compress the resultant SQL file with gzip. My database is about 35MB, and it's making it 5MB.

I added it in as he described and when it tried to run, I got an out of memory error. :( So, upon reading Rogue's post (in reference to a php.ini file and the php memory limit)
Quote:

Originally Posted by powerful_rogue (Post 1385659)
Thanks, I'll alter to 64.
He said as he's never used vbulletin before he had no idea what directory it had to go in. I'll check over on vb.com

I too went looking for where the php.ini file goes??

Not being able to find such on vB.com, I returned to vB.org and managed to turn up this post below...
Quote:

Originally Posted by Marco van Herwaarden (Post 1594202)
You can create a .htaccess with lines like the following to override some php settings (if host has set to allow this):
Code:

php_value memory_limit 32M
Alternative might be to include a line like the following in your config.php (should do the same):
PHP Code:

ini_set('memory_limit'32 1024 1024); 


So I just wanted to add that I created an .htaccess file in my forums directory (containing only php_value memory_limit 64M) and then the backup routine ran fine and created the gzip file as well! :up:

Other posts in the thread helped me understand bits & pieces of how this MOD works and I THANK everyone for their informative input, but a special KUDOS goes out to the key players mentioned above. THANK YOU! :)

kronnos 12-15-2008 10:30 AM

"Note: This modification is now discontinued" - I want to use this mod to backup my database using VB 3.6. I want to use the backup when I move to a new server and upgrade to 3.8. Will I have to install thsi mod on 3.8 to be able to use the restore function?

Edit: Ok installed and ready to try it. I cant find it anywhere in my admin panel to try to backup manually, how do i do it?

adwade 12-16-2008 11:27 AM

From my understanding, no you do not need this MOD installed to restore the files to your MySQL database.

In AdminCP, under Scheduled Tasks, Scheduled Task Manager, you should have an entry entitled Database Backup. You can do a Run Now and see if it works OK for you.

SVTCobraLTD 10-15-2009 02:37 PM

Nevermind I see there is a 3.8.x version available.


All times are GMT. The time now is 12:26 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.01839 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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