If you’re backups are failing and you’re trying to debug them, or if you want to run backups in an automated fashion out side of FreePBX (say form a cron job), here is what you need to do:
First, get the backup id. The backup id is the number after the word “backupid” in the url when viewing the backup settings page:
Now you can run the backup by calling the backup script and appending your backup’s id. Here is what it would look like - obviously you need to replace id with your actual id number:
If you not on a “standard” install (Centos OS, for the most part) you might need to adjust the path to asterisk’s bin directory. Good luck!