In my previous post, I showed you how easy it is to have a network configuration backup with a GUI and messaging and keep it synchronized with GitHub to see the changes, and also sending messages to Slack and emails when it runs. For this post, I modified the scripts to use a cool Open Source tool named Gogs (Thanks Nikolay Ryzhkov for bringing this tool to my attention).
With Gogs you will have a local repository system with the same functionalities as GitHub, so you don’t need to worry about sending your configs outside of your own infrastructure.
We will use Gogs in a docker container, the installation and startup are incredibly fast and easy.
You can find the code and configuration guide here: https://github.com/aegiacometti/netconf-backup-gogs
If you want to check how to create a repo follow this link.
Check the previous post to view all the benefits you can have with this setup.