Hey, back to the backups today!
I've increased the time and memory limit again, because as the backup grows in size it take longer to do - but that cant be an ideal solution, when do i stop increase server limits?!
Also, Im trying to add a page that loads to say that the backup is in progress, and then shows the Finished page.. I've added the 'backup_started' bit to the code which loads the page, but it doesnt then load the finished page after the backup is done..
What am i doing wrong?
* Backup Database.
public function actionBackupDatabase()
$backupFileName = "/home/user/backups/backup_bcd_".date('dmy_Hi').".sql";
Also, it would be great for the User if they saw a progress bar loading, can you build that in?
(actually, I just noticed that the backups arent working at all, oh dear, what have i changed! no errors, just reverts to homepage after waiting and no sql file