There seems to be a bug in the current FreePBX build that is preventing scheduled backups from working. Our man Tim (send him some beer for this one) came up with a simple fix for now:
in
/var/www/html/admin/modules/backup/bin/retrieve_backup_cron_from_mysql.pl
Change this line very close to the bottom:
system ("/usr/bin/crontab -l | grep -v ^#\ DO\ NOT | grep -v ^#\ \( | grep -v ampbackup.pl >> $Backup_cron ");
To look like this:
system ("/usr/bin/crontab -l | grep -v ^\"# DO NOT\" | grep -v ^\"#\" | ( grep -v ampbackup.pl >> $Backup_cron ) ");

Member Since:
2006-05-31