I am fighting with a Trixbox install in which the FreePBX backup module refuses to do a backup for me.
I have a Daily version (No CDR) and a weekly on Fri AM that will include the CDRs. Even though I have deleted the backups and recreated them a couple of times.
I can not locate any errors in /var/messages, /var/cron, or /var/asterisk/full.
The Directorys are inpace (created manually) and belong to asterisk.asterisk.
I heard somewhere that Trixbox breaks backup by putting the ampbackup.pl script in the wrong place in which case the backup will never run. It should be in /var/www/html/admin/modules/backup/bin/ where it will be auto-linked by retrieve_conf when you hit the red bar to /var/lib/asterisk/bin.
I’ve only heard this second hand so I don’t know if it really is an issue. (don’t know why they would put it somewhere else - unless it is some obscure bug of our own that hasn’t been brought to light).
looks like your ampbackup.pl script is there (not sure why all the other stuff is under ~backup/var/lib/… but if it is in the AMPBIN directory as it appears to be so, that would not be your problem.