How malmukhtar/network-devices-backup works
Project type and purpose
• This is a small Python-based automation tool (“Network-Devices-Backup”) that reads a list of network devices from an Excel spreadsheet, uses Paramiko (SSH) to connect to each device, retrieves its running configuration, and stores that backup to a file system path. It can be run manually or scheduled as a recurring task.
File structure
• Top-level files:
• .gitignore – ignore patterns for version control
• LICENSE – project license
• README.md – project description and usage
• APP/Backup.py – the sole Python script containing the logic to:
• Parse credentials and file paths (usernames, passwords, enable password)
• Read device records from Devices/DevicesAll.xlsx via pandas
• SSH into devices via Paramiko
• Retrieve and write configuration backups
• Devices/DevicesAll.xlsx – the master list of target network devices
README for additional insights
• Dependencies: paramiko (for SSH) and pandas (for Excel processing)
• Usage: configure credential variables in the script, optionally schedule via OS task scheduler