Quote:
Originally Posted by XrayHead
Top Hack, Installed with no probs at all.
One question though, Can I rename or change one of the phps so that I can also run a backup once a week and ftp my database? I have the cron set to run at midnight at present and dont want to FTP everynight.
Thanks
XraY
|
If I were just you, I would turn FTP off, and wait till I create the AdminCP based control panel that will allow various things to be done individually by the administrator regarding the backup script.
Other then that, just change your cron to backup once a week.. OR 1 more thing you could do.
-------------------
create a copy of cronbackup so that you have:
cronbackup.php
cronbackup2.php
create a copy of mysqlbackupconfig so that you have
mysqlbackupconfig.php
mysqlbackupconfig2.php
change cronbackup2.php to include mysqlbackupconfig2.php instead of mysqlbackupconfig.php
change mysqlbackupconfig.php, and turn FTP off
make sure mysqlbackupconfig2.php has FTP on
add the crontask as such:
cronbackup.php is daily, it will not use ftp
cronbackup2.php is weekly, it will use ftp
-------------------
Hope I didnt make that all to be too complicated