BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Projects › Python Config Backup with Change Detection

Python Config Backup with Change Detection

Write the nightly backup job: a Python script on NETOPS-01 that reads inventory.csv, logs into every device over SSH with Netmiko, saves each running-config to a dated file, and diffs it against last night's baseline so the morning shift sees exactly what changed — and which device did not answer.

Difficulty: foundation · Time: about 40 minutes

Why it matters

Configuration backup is the first job automation is trusted with on any network, and the diff is what turns a folder of files into a change-detection system. Handling the device that is down without stopping the whole run is the difference between a script and a tool.

Technologies

Related projects