GetNetBackup is a network automation tool that helps network administration and network engineers collect routers, switches, firewalls, and load balancers configurations and store them in a specific folder with a date titled. It is an easy-to-use tool and does not require a programming background
GetNetBackup is a network automation tool that helps network administration and network engineers collect routers, switches, firewalls, and load balancers configurations and store them in a specific folder with a date titled. It is an easy-to-use tool and does not require a programming background.
Supported Vendors Devices
Below is the list of supported vendor devices by GetNetBackup based on the Netmiko library.
Arista EOS
Cisco ASA
-Cisco IOS/IOS-XE
Cisco IOS-XR
Cisco NX-OS
Cisco SG300
HP Comware7
HP ProCurve
Juniper Junos
F5 TMSH
Aruba
Prerequisite
For GetNetBackup to function, th following system packages must be installed.
The path configuration is in the GetNetBackup.conf. you can specify the backup path with the curly brackets. the default is files/backup/.
Setup and understand the inventory
The inventory is just a CSV file that you can create yourself following the example file inventory-test.csv or use inventory-test.csv after updating it based on your device's inventory.
This is how it looks in Microsoft excel/Numbers
This is on terminal
IP: is just the devices IP address that you use to connect to the cli.
dtype: is the device driver type such as cisco_ios for cisco, juniper_jonos for juniper, and hp_procurve for HP. you can find the rest of supported devices HERE
vendor: This is to specify the vendor name so the tool can arrange them in the correct folder.
backup: This is important. Here where you add the command line to read the configuration form the specific vendor device. For example Cisco and HP show running-config and Juniper show configuration | display set | no-more.
Run GetNetBackup
Run the GetNetBackup.py file
$ python3 GetNetBackup.py -h
Usage: python GetNetBackup.py [ OPTION ] [ ARGUMENT ]
-h, help
-i, --InventoryPath The path to the inventory CSV file
Take a backup
python3 GetNetBackup.py -i inventory-test.csv
The output of the tools and The backup folder.
Note: If you have multi-vendor devices, the tool will divide them into folders with the vendor name and add them all to a folder with the day date.