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 |
#272
|
|||
|
|||
Bug:
If my forum is set to off, and I or My forum runs the backup script, it is still set to off, but The offline message isn't there and it is just like it's on. |
#273
|
|||
|
|||
I have installed and it works great clicks install.
One question. If I compress my database during backup, what is the syntax I use to restore the database? excample: mysql -uusername -p databasename </home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql.gz |
#274
|
||||
|
||||
Quote:
gzip -d /home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql.gz Then run: mysql -uusername -ppassword databasename < /home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql ADDITION: When you refresh the forum, you may have to login to the admincp, if you choose to turn them off when the backup was being performed: goto vBulletin Options -> vBulletin Options -> Turn Your vBulletin On and Off -> Forum Active. Ensure the Yes radio button is selected and click Save (yes even if it was already selected the saving of it will re-enable the forums). |
#275
|
|||
|
|||
hi i have this error
Fatal error: Call to undefined function: ini_get_all() in /var/www/web0/html/forum/includes/mysqlbackup.php on line 1794 any idea? |
#276
|
|||
|
|||
Quote:
I have one other small problem. If I run the script manually, the backup appears as intended in the backup directory. It will not run automatically? There are no logs enteries, the task manager states it is scheduled to run at the specficed time, but beyond that, nothing happens? Great script BTW. |
#277
|
||||
|
||||
Quote:
It may be the FTP dump option. |
#278
|
|||
|
|||
one problem - this doesn't seem to be pruning old backups for me. i have the # of backups to keep set to 2, but it just keeps adding to the backups that were already there..
|
#279
|
|||
|
|||
<font color="red">I would like to see an option for restoring a database back... this also is a pain unless you have shell access.</font>
|
#280
|
||||
|
||||
great! the exec() worked somehow
might I suggest putting the vb version in the filename, and maybe some other date format options |
#281
|
|||
|
|||
Okay, this ran fine until a couple days ago, now I get this:
Could not fetch database options. Shutting backup down. Help please? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|