This model can back up your DB and save it to the server as a .zip file. Optionaly it can also save the file off site via FTP
Data backup is done via CI Database Utility Class
copy config/backups.php to your config dir copy models/backupdb.php to your models dir
You nedd to specify a file name and local path
If you want to save you backup to an FTP server set backup_use_ftp to TRUE
Also you need to set a remote path and ftp connection info
Load the model
$this->load->model('backupdb);
to run a backup
$this->backupdb->backup();
That's it your Data is safe!!