The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Vbulletin Database Backup Pro (Cron Support) Details »» | |||||||||||||||||||||||||||
Vbulletin Database Backup Pro (Cron Support)
Developer Last Online: Nov 2019
NOTICE: 02/03/2006 This system is being "ReBorn" into a new product "Vbulletin Backup Pro" working from a New Codebase and hopefully implementing all the features and fixing all the bugs that were present in the previous releases. This will be developed specifically for the vbulletin 3.5 system but will probably maintain compatabilty with the pre-existing 3.0 versions. Summary: Vbulletin Database Backup Pro is just what it says; a professional tool for your Vbulletin installation. This script will handle the automated backup of your forums in a secure, data-conscious and optimized way. Introduction: I want to interest all of you in the ultimate solution for automated database backup from within Vbulletin crontab system. And potentially more so than a standard crontab. It's been said, backing up without direct shell access is futile. Wrong. This script is optimized to work just fine with even the largest of databases. (Note: If you have an extremely large database, make sure to use the mysqldump binary option that is selected by default.) The reason for the creation of this script was due to needing a better system of automated backup. I think me and a lot of people have used either a standard cron system, or brad.loo's small database cron; while they can be somewhat effective, they do not provide the functionality or a total solution without having to extensively mod it. This system has automatic failovers for MySQLdump, as well as the compression programs used where applicable. All in all, this script is a one stop shop for handling your backup needs on a automatic basis or from the control panel without having to use shell and do a dump manually. Features:
Change log:
To-Do:
Known Issues:
Instructions:
Help Debugging: This may come as a surprise to some people.. but I do all my code in notepad, thus it may not look formatted right for people that use editors. If you want to view the code in "my" style, how its supposed to look. Open my files in Notepad, with Font size 10-Regular-Lucida Console. As for An errors you may get, when you post; Post your PHP Version, MySQL Version, and the Error as is Shown Please. Further Info: I would like a lot of people to try this script and give me feedback on what you would like changed, what Needs changed and so on and so forth. With the size of this script, it more than likely not gonna work perfect on every system.. so just tell me whats wrong and I will try to get it fixed. Show Your Support
|
Comments |
#82
|
||||
|
||||
Quote:
Have you tried $_SERVER['DOCUMENT_ROOT'].'/backups'; that would be placing the backup in the backups folder directly inside whatever your html directory is. Other than that, I don't know what to tell you, other than get safemode turned off if it is currently on. |
#83
|
||||
|
||||
Quote:
Basically what this means is, that say you loaded the page; the cron executes and even if you close the browser the script keeps on running in the background. With a database as large as that, make sure you do have SafeMode Off, is that will guarantee the directives are set to ensure your backup without prematurely stopping. |
#84
|
||||
|
||||
Quote:
Also when you set it to Shutdown the forums, does it only shut them down during the Dump or are they still shutdown durring the gzip? |
#85
|
||||
|
||||
Download Version 1.8.3
-------- I did have the Restore Forum function after the compression handler. Now I put it directly after the actual mysql dump. So the process is like this: Close Forum Dump Database Open Forum Compress |
#86
|
||||
|
||||
would there be any way to modify this hack (works fine btw) to use the admin panel for doing its backups?
i ask because i have just been informed (from people on vbulletin.com no less) that because of my mysql version 4.1.10a, this is the cause of all my backups done via the terminal to be "corrupted" i was hoping for an automated system that used the vbulletin built in admin functions for doing the backups... since somehow those are not getting corrupted (also they are 2MB smaller which is odd). Any help appreciated... |
#87
|
||||
|
||||
Quote:
2. You already can "sorta", by running the Task manually once you have added it to the cron task scheduler. 3. My "PHP" Dump method is actually better than Vbulletins, so if you want to use that; take a look at the Configuration and change the Backup type from 0 which is MySQLDump to 1 which is the PHP Dump. |
#88
|
||||
|
||||
ah.. duh i guess i should have read that whole file.... anyhow... i really appreciate you helping me with this....and wonderful hack...i'll be sure to click the install button for you
|
#89
|
||||
|
||||
Quote:
|
#90
|
|||
|
|||
I get the following error:
Quote:
Thanks. |
#91
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|