Networking: Cisco Meraki Automated Configuration Backup

The Workflow The Implementation Meraki dashboards are convenient, but if an admin accidentally modifies a critical firewall rule, rolling back is a nightmare. This Python script uses the Meraki Dashboard API to serialize your network configurations into a secure JSON format. 1. The Workflow The script performs the following steps: Authentication: Initializes the Meraki SDK using a read-only API key. Iteration: Loops through the Organization to find all active Networks. Extraction: Pulls VLAN subnets, SSID configurations, and MX L3 Firewall rules. Serialization: Dumps the state into a structured JSON file. 2. The Implementation import meraki import json from datetime import datetime API_KEY = 'YOUR_MERAKI_API_KEY' ORG_ID = 'YOUR_ORG_ID' dashboard = meraki.DashboardAPI(API_KEY, suppress_logging=True) def backup_network_config(): networks = dashboard.organizations.getOrganizationNetworks(ORG_ID) backup_data = {} for net in networks: net_id = net['id'] net_name = net['name'] backup_data[net_name] = {'vlans': dashboard.appliance.getNetworkApplianceVlans(net_id)} filename = f"meraki_backup_{datetime.now().strftime('%Y%m%d')}.json" with open(filename, 'w') as f: json.dump(backup_data, f, indent=4)

May 3, 2026 · 1 min · Alfred van Ster

Resilient Data: Architecting a 3-2-1-1 Backup Strategy for MSPs

In modern infrastructure, “Backup” is not a task—it is a foundational pillar of security. For an MSP managing hundreds of endpoints, a simple file-copy isn’t enough. Here is how I architect systems to survive ransomware and site-wide disasters. 1. The 3-2-1-1 Framework I advocate for an evolved version of the classic 3-2-1 rule, specifically designed for remote-first workforces: 3 Copies of Data: Primary, local secondary, and offsite tertiary. 2 Different Media: Utilizing localized NAS storage for fast LAN recovery and cloud-native repositories. 1 Offsite Location: Ensuring data is physically separated from the primary site. 1 Immutable Copy: Utilizing S3 Object Lock or Air-gapping to ensure backups cannot be deleted by compromised credentials. 2. The Infrastructure Stack My preferred approach utilizes a unified management plane to reduce “Shadow Data”: ...

January 5, 2026 · 2 min · Alfred van Ster