How would I use git
or similar version control
software to backup the configuration for an Asterisk
VoIP SIP server?
see also:
https://en.wikipedia.org/wiki/Asterisk_(PBX)
https://wiki.freepbx.org/pages/viewpage.action?pageId=9830568
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Backups
https://wiki.asterisk.org/wiki/display/AST/Directory+and+File+Structure
https://www.freepbxhosting.com/blog/complete-freepbx-backup/
https://www.reddit.com/r/Asterisk/comments/2z2608/how_are_you_backing_up_your_asterisk_system/
I'm mostly concerned with the configuration files and would prefer git, but also don't want to muck up the running of Asterisk
itself.
Backing up an internalMySQL
database, voicemails, etc would be outside the scope of the question, and, again, only really looking at the configuration files.