Skip to content
An example module to show how you can backup a static directory in FreePBX 15
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is an example module that shows a bare minimum way to backup files in FreePBX® 15


In backup 15 the modules control what they need to backup and restore. There is no method of adding extra files to the backup. This module demonstrates a way to add needed files to a skeleton module to add them to the backup. It probably makes more sense to use a database and UI to make this more managable. This is not meant to be a "complete tool" but more as a demo.



Disclaimers and Spam

This is provided without warranty etc... This is not an official project of Sangoma, FreePBX or my employer FreePBX is a trademark of Sangoma and is not used to imply association with or support of the trademark holder.

Though this is not an official work project my employer does pay my bills so I can make cool stuff. Feel free to check them out at and spend some money. Supporting them indirectly supports me.

This code may contain chemicals known in the state of California to cause cancer. The stories are real, names and locations changed to protect the innocent Epstien didn't kill himself.

You can’t perform that action at this time.