There seems to be a lot of confusion about this line ;
PHP Code:
$backup['DUMP_PATH'] = DIR.'/../../backups/'; // Path ( With trailing '/' )
Please note that the
DIR is on the righthand side of the equals, and is a constant created by vbulletin - it is the full path to your forums root folder.
For example (in windows) it might be "d:/wwwroot/forum" - it has NO trailing '/' at the end, so the rest of the path definition adds one - so in this example the path defined above is "d:/wwwroot/forum/../../backups/" - which with the two '../' translates into "d:/backups/" a folder outside your public html folder. That backups folder must be writable by the webserver.
If you just want to specify a direct path then do so - e.g.
PHP Code:
$backup['DUMP_PATH'] = 'e:/some/path/mybackups/'; // Path ( With trailing '/' )
Quote:
Originally Posted by KoC
Is there any option for upload the file automaticly via ftp
|
No.
Quote:
Originally Posted by steadicamop
This works very well, but I have a problem which I think isn't solveable - I think the php execution time is set at around 30 seconds, which often times out when it's backing up a table, and will only ever reach postindex before it ends, never carrying out a full backup - is there any way around this? I really would like this as it's damn handy to have daily backups!!!
Plus as I've just discovered, it leaves the forum offline!
|
The script timeout on this is 3600 (1 hour). You can set the close forum option to 0 if you don't want it to close your forum during backups. It won't open the forum again until it completes ok.