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 |
#112
|
||||
|
||||
Any particular reason it's showing up in the logs 4 times?
Code:
10296 DB Backup 03:10, 4th Apr 2005 MySQL Backup was completed successfully with no errors. 10295 DB Backup 03:07, 4th Apr 2005 MySQL Backup was completed successfully with no errors. 10294 DB Backup 03:06, 4th Apr 2005 MySQL Backup was completed successfully with no errors. 10293 DB Backup 03:05, 4th Apr 2005 MySQL Backup was completed successfully with no errors. Actually I think this was my fault, It was running more than once, I had set only the 2AM, and not the Minutes. So it was * 2 * * Sun for the cron instead of 00 2 * * Sun EDIT: It's showing the file ownership as not being me. and I can't do a 'chown' on it, because of course I'm not root, but I do own the folder it's in. How do I make the script use me as the file owner? I'm having a small problem extracting it. I'm using tgz, so I'm extracting like this Code:
tar xvz MM_DD_YY.tar.gz That is the right command yes? |
#113
|
|||
|
|||
does this thing work with 3.06
|
#114
|
|||
|
|||
Quote:
|
#115
|
|||
|
|||
//Fixed Problem// the vb3_threadviews table was showing as in use and had crashed... just ran the repair/optomize twice and it took care of it.
Working great on two of my forums, not sure what the problem is on the third though... I'm getting this error when I try to run the script from the Scheduled Task Manager: at the very bottom: 'vb3_threadviews.MYI' where's it getting that from? Quote:
|
#116
|
||||
|
||||
If this has been covered, sorry... I just don't have time right now to read through all the posts... It is working for me but I am getting the following error...
Failover was initiated for MySQLDump Binary, but dump completed successfully. Any way I can fix this?? |
#117
|
||||
|
||||
Quote:
tar xzvf MM_DD_YY.tar.gz it worked fine me in test, if not just change it to use straight .gz encoding. then just use gunzip MM_DD_YY.gz ------------- As for it showing up in your log at multiple times, I can not yet explain that... it has not occured for me on any of the forums I have tried this on, make sure you dont have multiple cron entries for the backup either. As for the CHMOD problem, I will add into the script to CHMOD the file after it is saved, that should fix the problem hopefully... |
#118
|
||||
|
||||
Quote:
Note: I do have the option in the configuration to enable repair/optimize before the dump is initiated. |
#119
|
||||
|
||||
Quote:
In this case, it is failing over into a manual PHP dump mode. As long as it is saving your dumps correctly, all is ok. But you might want to get safemode turned off if possible. |
#120
|
||||
|
||||
Installed in a heartbeat and spit out a perfectly compressed backup very quickly. Great stuff! Thanks for the great hack
|
#121
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|