Site Backup Manager |
[eluser]mic[/eluser]
Site Backup Manager Version 1.2 - Beta REQUIRES PHP 5+ & CodeIgniter 2.0+ Create backups of the mysql DB, requires that the mysql driver be used not the mysqli Backups are created daily, weekly and monthly from the day they are first run. Old backups will be removed after the pre-defined amount of prior backups has completed first. Options to send files via FTP to external server and/or email to one or more email addresses. Backup all or selected files from the site. These will be in the same zip file as the sql backup. Example Controller cron.php Code: class Cron extends CI_Controller (2011-10-06) Minor Bug Fixes 1.1 to 1.2 (2011-09-20) File backup was unable to back the entire site, this has now been changed and providing an empty $directories array will backup all files located in the site. The temp directory is removed once the script has finished with it backing up all the files. 1.0 to 1.1 (2011-07-13) File backup was added to allow the site files to be backed up in the same zip file Options were added to allow files back ups or not. If anyone has any ideas or suggestions of how I can imrpove this please let me know. Can be downloaded at https://bitbucket.org/mic2100/ci-backup-...r/overview To make this run on a CRON job I used http://codeigniter.com/wiki/Cron_job_bootstrapper/ KNOWN BUGS: Sometimes with large files when sending via FTP or email the script can run on forever. The files are getting sent, the script is just not ending. I am unsure whether this is a CI bug or something else that I have done. To get around this I setup a timeout on the CRON. |
Messages In This Thread |
Site Backup Manager - by El Forum - 09-27-2011, 09:27 AM
Site Backup Manager - by El Forum - 11-08-2012, 04:35 PM
Site Backup Manager - by El Forum - 11-09-2012, 06:58 PM
Site Backup Manager - by El Forum - 01-07-2013, 10:17 AM
Site Backup Manager - by El Forum - 01-09-2013, 04:45 PM
Site Backup Manager - by El Forum - 01-27-2013, 08:13 AM
Site Backup Manager - by El Forum - 01-28-2013, 04:30 AM
Site Backup Manager - by El Forum - 07-18-2013, 12:08 AM
|