Backup your network configuration of a supported vendor, with easy options for automation.
- Cisco
- Juniper
- VyOS
- Huawei
- Fortinet
- MicroTik
This is running on Python3 with Netmiko, and ping3. Version 2.1
- You must have Python3 and PIP installed on the device you are running the program on.
- You need to run
pip3 install netmiko
orpip install netmiko
in a command prompt / terminal on your computer. - You need to run
pip3 install ping3
orpip install ping3
in a command prompt / terminal on your computer. - You need to download this repository or copy all of the contents of the run.py file into a python file.
- To run this, you need to run
python3 multivendor_run.py
in your terminal or command prompt. - Host list will be taken from
backup_hosts.csv
. Please populate the file with the host, username, password, with optional secret for cisco devices. - It will copy the saved configuration into a folder named
backup-config
in the same directory of the python file. The configuration file name will be the Cisco device hostname, date, and time. Unreachable hosts will be listed in a separated file nameddownDevices_
+ date and time.
- Download & run executable from GitHub releases tab.
- Select the vendor you want to copy the config of.
- Select the CSV file from the popup window.
- It'll give you a popup for each successfull configuration copied, as well as for each down host, if any.
If you are having trouble or need help, create an issue here
ste-giraldo for adding a memory and cpu saving feature to grabbing the hostname, and suggesting the ping feature.
I'd like to credit Kirk Byers for making Netmiko, and Kyan for making Ping3
This code is with the MIT license.