Backup customization

I am looking for a way to manage the backups made through FreePBX. I would like to know if it’s possible to edit the backup config file to include certain commands. I’d like to have the backups of X days old be deleted automatically and want to know if I can add the command so it runs with the backup.

There’s a ticket for that which got pushed passed the current milestone because no one had the time to get to it.

If you want to make the modification and submit them we would be glad to have a look. The simplest to implement would probably be to provide the number of backup sets to be retained (vs. the time) as part of a backup set, with an option to retain all. (Though length of time would be fine also but slightly more involved to implement.)

Alternatively, you can write a cron job that removes backup sets for you older then some age.