The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Database Backup Pro - Convert to run on vB3.5 Details »» | |||||||||||||||||||||||||||
vB Database Backup Pro - Convert to run on vB3.5
Developer Last Online: Nov 2023
This modification is no longer available or supported. When vb 3.5 first came out I was using this backup system on my 3.0 - and having nothing better to use - I converted it to work on vb 3.5. Since then I have seen numerous requests for a 3.5 version, and even sent my working version to the guy who apparently bought the rights to it in January. So far no new version has ever been released, though I believe Trigunflame is working on a completely new system. I cannot (afaik) just release my version, as most of the code is still the original, therefore I have spent a few hours today detailing the (smallish) changes I made in order to make this work, and am now releaseing them as an Add-On to the original hack. Please note that I do not use the ftp function, zipping function, or the mysqldump option, so i have no idea if they work or not. Also, no existing bugs are fixed. Unless I missed out an actual conversion step then this is offered as is. I will not add anything new, or spend any time supporting it. This is done simply to allow people to use the old hack on 3.5 until a new [proper] version is supplied by the relevant people. History: v1.6 : Missing elements added. Show Your Support
|
Comments |
#22
|
||||
|
||||
Quote:
|
#23
|
|||
|
|||
I've got a little problem: the script goes into a loop: after the last table, it starts again with the first table and over and over again
I tested it manually and to solve the problem, I needed to restart my server. mysqlbackupconfig.php: PHP Code:
|
#24
|
|||
|
|||
Hi,
This is such a good mod - i hope I can get it to work for me I installed this hack for the first time on my 3.5.4 board. I took the original files and applied your changes. However I get the following error when I manually run the job: MySQL Error : Access denied for user 'XXXXXXXX' to database 'XXXXXXXXX' Error Number : 1044 I run my board on a shared host if that helps Cheers Benny |
#25
|
||||
|
||||
Are you sure you did all the changes ? - as that error makes no sense, since it says the user is denied access to the database, but the changes mean it pulls the user details from your vb config file.
|
#26
|
|||
|
|||
Quote:
|
#27
|
||||
|
||||
Unfortunately, as mentioned in the notes, this is just to convert the necessary bits to make it function in 3.5, any pre-existing bugs in the 3.0 version will still be there, and won't be fixed (at least not by me).
|
#28
|
|||
|
|||
I too hit the snag "Failover was initiated for MySQLDump Binary & An error occured during the MySQL backup. Details (Could not open Destination SQL file for writing.)"
After a bit of debugging I discovered that an ending backslash for the DUMP_PATH configuration is now required (at least in my box). Perhaps it would be good to change this code: Code:
Find ; $this->FULL_PATH = ($this->DUMP_PATH ? $this->DUMP_PATH.'/'.$this->DATE : $this->DATE); Replace With ; $this->FULL_PATH = ($this->DUMP_PATH ? $this->DUMP_PATH.$this->PREFIX.$this->DATE : $this->PREFIX.$this->DATE); ------------------------------ Code:
Find ; $this->FULL_PATH = ($this->DUMP_PATH ? $this->DUMP_PATH.'/'.$this->DATE : $this->DATE); Replace With ; $this->FULL_PATH = ($this->DUMP_PATH ? $this->DUMP_PATH.'/'.$this->PREFIX.$this->DATE : $this->PREFIX.$this->DATE); ------------------------------ |
#29
|
||||
|
||||
You're right - I missed that small change in my config file, the bit with the prefix should say this ;
Code:
Find ; $backup['DATE'] = 'm_d_y'; $backup['DUMP_PATH'] = 'backups'; Replace With ; $backup['DATE'] = 'Y-m-d'; $backup['PREFIX'] = 'Live-'; // File prefix $backup['DUMP_PATH'] = 'valid-backup-path/'; // Path ( With trailing '/' ) |
#30
|
|||
|
|||
the backslash still isn't working for me.
|
#31
|
|||
|
|||
edit: './backup/'; worked
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|