![]() |
Quote:
|
I installed this... For some reason, I can't get the directory right. I have no idea about relative directories... I stuck a folder named "Backups" in the Includes folder, CHMODded it to 777, and then pointed it to any number of locations... ../backups/, /public_html/forums/includes/backups/, ... Not sure what to do at this point...
|
Quote:
The backup folder should be somewhere like - account_name/backups/public_html/forums Get the path fixed before you get the script running. |
Hi Paul,
I have been using this great script for a while now. I recently added a function in the cron to delete all backups that are 3 days or older when it performs a backup, because I had to constantly manually delete old files. I placed it right after echo $mysqlBackup->STATUS; What I'd like to know is how to determine a successful status from the script. In case of failure I don't want to run the delete. Something like if($status == 'success') { // my stuff here } Thanks |
It should contain 'The Backup was completed successfully.'
You can change that (about line 27) in the mysqlbackup.php file if you wish. |
I just can't get the directory right... I set up a folder in the server's root directory, and tried setting the dump path to just /(foldername)/. Then I tried (server username)/(foldername)/... How can I set this right? :(
|
Use a relative path, like ../../foldername
|
And what would the relative path be when the folder is in the server root? I honestly don't know how to use relative paths.
|
No idea, that depends on your server setup. Google is your friend, lookup reletive paths.
|
hi Paul is there away so i can make this run twice a day like say 10am and 10pm
|
All times are GMT. The time now is 01:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|