The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Database Backup Details »» | |||||||||||||||||||||||||
This modification is no longer available or supported. Note: Because I did not write the original version, but rather have modified & adapted it, support of this modification may be limited When vb 3.5 first came out I was using this backup system on my vb 3.0 - and having nothing better to use - I converted it to work on vb 3.5 (here) and since then I have cut it down and adapted it, first for vb 3.6 and now for vb3.7. The original version was by Trigunflame and the rights to the code were bought by Zoints (D.Chapman) in January. In 2007 David gave me permission to release my adaptation. I have stripped out much of the extra stuff that I do not use (or indeed, could not get to work). This is a simple (lite) version that does a php based dump of your database either as one file, or one file per table. Notes: * I will not add anything new to this, or spend vast amounts of time supporting it. * This is a Lite version to allow people to use the basic backup functionality on 3.7. History: v3.7.001 : First version for vB 3.7. Show Your Support
|
Comments |
#92
|
|||
|
|||
I've modified this script to create a folder per day, while it creates a backup file in the folder every 6 hours. How is this different? Well, instead of it rewriting the file, it'll make a new one, thus a 6 hour cron per day gives around 4 backup files per folder. I did this by forcing the file name to be a time, instead of a date, as well as
Thus it just creates a new file for each time that a new backup is made, in one folder per day (since the folder name is just the date and not the time, thus it doesn't create another one). How does this help? Well, it helps keep backups of times where the forums could be up and running great, but prevent backing up or replacing a backup of when the forums were hacked or whatever. So, lets say your forum was backed up. Awesome! Now, sometime before the next backup, a hacker or someone you thought you could trust goes crazy and deletes all posts, users, or just generally messes up the software data. Well, unless caught before the next backup and the forums are running fine enough to use crons, then it'll replace the old backup file with the screwed up one. Thus, the backup won't help in that situation... So, I just have it do a 6 hour backup per day, thus around 4 backup files in one daily folder. Anyways, just wanted to explain this, and am willing to help or re-release my modified version that does just this. However, I would need permission first, so that's why I'm posting. If not, oh well. Thanks for releasing a killer mod! Definitely making me feel at ease |
#93
|
|||
|
|||
I get the error:
Quote:
|
#94
|
|||
|
|||
Make sure the path to store the backups is correct (must create a all folders in the path, if not already created)
|
#95
|
||||
|
||||
Quote:
Regarding the timeouts I wonder about the flaweless function of this tool within my server-restrictions: as my provider told me, there is a timeout of 30 seconds regarding perl- and php-sripts. My database is growing beyond 30 mbs, maybe that could provoke an interruption of the backup-tool with an incomplete dump? |
#96
|
||||
|
||||
This should override the 30 second default timeout in php.
|
#97
|
|||
|
|||
How different is this from the 3.6 version that I currently run?
|
#98
|
||||
|
||||
Minor changes, no need to change it if the 3.6 version is running ok for you.
|
#99
|
|||
|
|||
Quote:
I love this mod. It has made my life much easier. |
#100
|
||||
|
||||
Paul, just to clarify, and more for my sake... does this have the capability to back up to db on my server automatically and dump thie old one? Where does it save? In what format does it save? Sorry if this had been answered but I couldnt find the exact issues.
thanks |
#101
|
|||
|
|||
Quote:
You tell it which file it writes to. Mine goes into a file above the public area so nobody can access it but me... It has no ability to upload the db, you would have to do that through more mundane means. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|