A free open-source Flask app for backup on switches,routers and firewalls.
- Getting backup from Fortinet, Palo Alto, Cisco, Aruba, Dell Force10, Brocade ICX, Ruijie, Juniper, Huawei devices
- Creating a .cfg file and email the file as an attachment
- Easy-to-use web interface
- Add your device once and backup without re-enter again
- Store your email configuration, login data, backups on SQLite
- Download configuration backup as cfg file
- Search devices and backups
git
$ sudo apt install git
pip
$ sudo apt install python3-pip
$ git clone https://github.com/diyarbagis/FlaskNetworkBackup.git
$ cd FlaskNetworkBackup
$ pip install -r requirements.txt
$ python3 fnetbackup.py
🚀 Open http://0.0.0.0:6565 on your browser and get your backup.
$ sudo nano /etc/systemd/system/fnetbackup.service
[Unit]
Description=Flask Network Backup Service
After=network.target
[Service]
User=<your_username>
WorkingDirectory=/path/to/file/location
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
ExecStart=/usr/bin/python3 fnetbackup.py
Restart=always
[Install]
WantedBy=multi-user.target
Make sure to replace <your_username> with your actual username, and /path/to/file/location with the path to file.
$ sudo systemctl daemon-reload
$ sudo systemctl enable fnetbackup
$ sudo systemctl start fnetbackup
🚀 http://0.0.0.0:6565 ready for you!
check status
$ sudo systemctl status fnetbackup