Backup switch configs
Project description
This is a django application to backup switch configs
It can download the config from the switch using SFTP or SCP, or it can login to the switch CLI and execute a command to upload the config.
The configs are saved in a git repository
Supported backup methods:
- Telnet CLI upload:
Cisco
- SCP fetch:
Cisco
- SFTP fetch:
HPE Aruba
Extreme Networks
Some switches need config changes to enable SFTP or SCP:
- HPE Aruba (SFTP):
ip ssh filetransfer
- Cisco (SCP):
ip scp server enable
Gitlist is required to show configs on web:
Quick start
Add “config_backup” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'config_backup', ]
Run python manage.py migrate to create the config_backup models.
Install Gitlist
Create a root folder for the repository folder and add it to Gitlists config
Create the repository folder which must be named configs for the links to work
Add the repository folder to settings.py with the key BACKUP_PATH
Run python manage.py config_backup [switch name] to backup the config from a switch
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django_switch_config_backup-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f3e2234295a827ec205a3da4d215570f71141b78399e381e4ad14efd86afda3 |
|
MD5 | f209acffe5955b3dc5baf84bd770e265 |
|
BLAKE2b-256 | bb38a6dec650110de8753296e9c5ac698f6968eefa8d1bc1fee9356f00fdcb14 |