Backup Does Not Include Custom AGI files


I have a distro with backup module with many custom files in /var/lib/asterisk/agi-bin. They are all owned by asterisk:asterisk and mode 775.

I want to backup freePBX and restore to hot standby via automation. The problem is that I can’t seem to configure a backup that includes my custom AGI files.

I have this line in the backup config:

I have tried all versions of the config line I can imagine, * in parameters, with and without trailing /, but my custom agi files are never included in the backup.

I created a workaround and tgz the agi-bin separately in my automation scripts, but would like to know what the syntax must be or what else must change to include these files in the backup.