Version: 2.12, by Paul M
Developer Last Online: Nov 2023
Category: Administrative and Maintenance Tools -
Version: 3.6.x
Rating:
Released: 09-17-2006
Last Update: 10-09-2006
Installs: 582
Auto-Templates
Re-useable Code Additional Files Translations
No support by the author.
This modification is no longer available or supported.
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 for vb 3.6.
The original version was by Trigunflame and the rights to the code were bought by Zoints (D.Chapman) in January. A while ago David gave me permission to release my adaption, but until now I haven't got round to it. Trigunflame did mention a few months ago he was working on a new version, but nothing ever appeared.
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. It's been in use on our forum since the day 3.6 was installed.
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 3.0 backup functionality on 3.6.
History:
v2.10 : First internal version. v2.11 : Bug fixes, some code changes. v2.12 : Initial Public Release.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I have a question about the backup path in the mysqlbackupconfig.php-file, I could not find the anwser in previous posts:
I currently use this code and it works just fine.
PHP Code:
$backup['DUMP_PATH'] = DIR.'/backup/';
The DIR point to "www.domain.org/forum/" and my backups works just fine.
However, I would like to backup to a folder outside the forum-folder. But I have not managed to get the syntax right. Naturally, I created the folder 'backup' on the server before editing the config-file.
I get the following error messgae :
Quote:
An error occured during the MySQL backup. Details (Could not open Destination SQL file for writing.)
I have tried several alternatives (see below) but none has worked.
PS still have not got it working. figured out that the error message returns an array of possible write locations, separated by colons. Whatever I put into the 'dump to' path, the paths shown in the error message remain the same.
the array is as follows.
Quote:
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/my/correctly/set/path/incl/writeable/chmod) is not within the allowed path(s): (/tmp:/home/xirictrl/hosted/www/[my_account_dirs]:/usr/lib/php:/var/xirictrl/hosted/www/[my_account_dirs]) in /includes/mysqlbackup.php on line 225
I don't really think these dirs are hardcoded into the php configuration, so somewhere between php input and file output, things just go wrong...
[edit]weird thing is that the adminCP backup function works like a charm. file gets written to the root nicely (mind you, the root is in the array above! perhaps it would work if the cronbackup would try to save the files to my document root?)[/edit]