How to back up a Meraki MX firewall configuration
A Meraki MX keeps its firewall rules, NAT, VLANs, VPN and security settings in Meraki's cloud, and the dashboard has no export for them. A DejaVault backup reads all 62 security appliance settings through the Dashboard API every night, and a restore can put every one of them back from a plan you approve.
What a backup of an MX holds
Most of an MX lives on its network. That covers the layer 3, layer 7, inbound and cellular firewall rules, port forwarding with 1:1 and 1:Many NAT, the VLANs and LAN ports, static routes, site to site VPN and BGP, content filtering, intrusion and malware protection, traffic shaping, uplink selection and the warm spare.
Some of it lives on the organization, such as the site to site VPN firewall rules, third party VPN peers, local and split DNS profiles and intrusion policies, and a little lives on the appliance itself, such as its uplink settings. A backup reads all three places.
- Each organization gets a full backup every night, and DejaVault follows the change log about once a minute in between, so a rule someone edits usually shows up within minutes.
- A port opened to anyone on the internet, intrusion prevention switched off or a network bound to a template raises an alert by email within minutes.
- You can download the firewall and NAT rules across all of a client's networks as one CSV or PDF, or every setting as JSON.
- Each organization's health page marks every setting as read, not available, failed or not covered, so a firewall that was skipped never passes for backed up.
The 62 security appliance settings
Every row below is one setting DejaVault reads, with the Dashboard API operation behind it and whether it is read once for the organization or for each network or device. A restore can put all 62 back.
The full coverage list has the other product lines, with a filter and a search.
| Setting | API operation | Read for each | Restore |
|---|---|---|---|
| Security appliance (MX) 62 settings, all restored | |||
| Radio settings of an appliance | getDeviceApplianceRadioSettings | Device | Restored |
| Uplink settings of an appliance | getDeviceApplianceUplinksSettings | Device | Restored |
| Connectivity monitoring destinations | getNetworkApplianceConnectivityMonitoringDestinations | Network | Restored |
| Content filtering | getNetworkApplianceContentFiltering | Network | Restored |
| Cellular firewall rules | getNetworkApplianceFirewallCellularFirewallRules | Network | Restored |
| Access rule for one appliance service | getNetworkApplianceFirewallFirewalledService | Network | Restored through its list |
| Access rules for appliance services (ICMP, web, SNMP) | getNetworkApplianceFirewallFirewalledServices | Network | Restored |
| Inbound cellular firewall rules | getNetworkApplianceFirewallInboundCellularFirewallRules | Network | Restored |
| Inbound firewall rules | getNetworkApplianceFirewallInboundFirewallRules | Network | Restored |
| Layer 3 firewall rules | getNetworkApplianceFirewallL3FirewallRules | Network | Restored |
| Layer 7 firewall rules | getNetworkApplianceFirewallL7FirewallRules | Network | Restored |
| 1:Many NAT rules | getNetworkApplianceFirewallOneToManyNatRules | Network | Restored |
| 1:1 NAT rules | getNetworkApplianceFirewallOneToOneNatRules | Network | Restored |
| Port forwarding rules | getNetworkApplianceFirewallPortForwardingRules | Network | Restored |
| Firewall settings | getNetworkApplianceFirewallSettings | Network | Restored |
| One appliance LAN port | getNetworkAppliancePort | Network | Restored through its list |
| Appliance LAN ports and their VLANs | getNetworkAppliancePorts | Network | Restored |
| One static delegated IPv6 prefix | getNetworkAppliancePrefixesDelegatedStatic | Network | Restored through its list |
| Static delegated IPv6 prefixes | getNetworkAppliancePrefixesDelegatedStatics | Network | Restored |
| One appliance RF profile | getNetworkApplianceRfProfile | Network | Restored through its list |
| Appliance RF profiles | getNetworkApplianceRfProfiles | Network | Restored |
| Intrusion detection and prevention | getNetworkApplianceSecurityIntrusion | Network | Restored |
| Malware protection | getNetworkApplianceSecurityMalware | Network | Restored |
| Appliance settings | getNetworkApplianceSettings | Network | Restored |
| Single LAN settings | getNetworkApplianceSingleLan | Network | Restored |
| One appliance SSID | getNetworkApplianceSsid | Network | Restored through its list |
| Appliance SSIDs | getNetworkApplianceSsids | Network | Restored |
| One static route | getNetworkApplianceStaticRoute | Network | Restored through its list |
| Static routes | getNetworkApplianceStaticRoutes | Network | Restored |
| Traffic shaping settings | getNetworkApplianceTrafficShaping | Network | Restored |
| One custom performance class | getNetworkApplianceTrafficShapingCustomPerformanceClass | Network | Restored through its list |
| Custom performance classes | getNetworkApplianceTrafficShapingCustomPerformanceClasses | Network | Restored |
| Traffic shaping rules | getNetworkApplianceTrafficShapingRules | Network | Restored |
| Uplink bandwidth limits | getNetworkApplianceTrafficShapingUplinkBandwidth | Network | Restored |
| Uplink selection and SD WAN policies | getNetworkApplianceTrafficShapingUplinkSelection | Network | Restored |
| One VLAN | getNetworkApplianceVlan | Network | Restored through its list |
| VLANs | getNetworkApplianceVlans | Network | Restored |
| Whether VLANs are on | getNetworkApplianceVlansSettings | Network | Restored |
| BGP on a VPN hub | getNetworkApplianceVpnBgp | Network | Restored |
| Site to site VPN (AutoVPN) | getNetworkApplianceVpnSiteToSiteVpn | Network | Restored |
| Warm spare | getNetworkApplianceWarmSpare | Network | Restored |
| Appliance layer 3 interfaces API key only | getOrganizationApplianceDevicesInterfacesL3 | Organization | Restored |
| Appliance port settings by device API key only | getOrganizationApplianceDevicesInterfacesPortsByDevice | Organization | Restored |
| Appliance redundancy by network | getOrganizationApplianceDevicesRedundancyByNetwork | Organization | Restored |
| Local DNS profiles | getOrganizationApplianceDnsLocalProfiles | Organization | Restored |
| Local DNS profile assignments | getOrganizationApplianceDnsLocalProfilesAssignments | Organization | Restored |
| Local DNS records | getOrganizationApplianceDnsLocalRecords | Organization | Restored |
| Split DNS profiles | getOrganizationApplianceDnsSplitProfiles | Organization | Restored |
| Split DNS profile assignments | getOrganizationApplianceDnsSplitProfilesAssignments | Organization | Restored |
| Static multicast forwarding by network | getOrganizationApplianceFirewallMulticastForwardingByNetwork | Organization | Restored |
| VRF settings | getOrganizationApplianceRoutingVrfsSettings | Organization | Restored |
| Intrusion settings for the organization | getOrganizationApplianceSecurityIntrusion | Organization | Restored |
| Intrusion policies | getOrganizationApplianceSecurityIntrusionPolicies | Organization | Restored |
| Intrusion rule group overrides | getOrganizationApplianceSecurityIntrusionRuleGroupsOverrides | Organization | Restored |
| Intrusion rule overrides | getOrganizationApplianceSecurityIntrusionRulesOverrides | Organization | Restored |
| VPN exclusion rules by network | getOrganizationApplianceTrafficShapingVpnExclusionsByNetwork | Organization | Restored |
| Uplink NAT by network | getOrganizationApplianceUplinksNatByNetwork | Organization | Restored |
| IPsec SLA policies | getOrganizationApplianceVpnSiteToSiteIpsecPeersSlas | Organization | Restored |
| Third party VPN peers | getOrganizationApplianceVpnThirdPartyVPNPeers | Organization | Restored |
| Site to site VPN firewall rules | getOrganizationApplianceVpnVpnFirewallRules | Organization | Restored |
| Global group policies given to appliance VLANs | getOrganizationPoliciesGlobalGroupPoliciesApplianceVlansAssignments | Organization | Restored |
| Global group policies by appliance VLAN | getOrganizationPoliciesGlobalGroupPoliciesApplianceVlansAssignmentsByVlan | Organization | Restored |
What a restore puts back on an MX
A restore compares the live network with the moment you pick and writes only the settings that differ, in an order Meraki accepts. On the lab below, the VLANs went back before the layer 3 firewall rules.
Each setting is read back after it is written, and the restore guide walks through the plan, the approval and the undo.

What a restore cannot put back by itself
Every one of the 62 settings can be restored, but a few values inside them never leave Meraki, and a template keeps its own settings.
- WAN PPPoE passwords
- Meraki never returns the PPPoE passwords of an appliance's uplinks, so a restore that needs them asks you to type them in.
- MX WiFi passwords and RADIUS secrets
- On an MX with WiFi, Meraki never returns the SSID passwords or their RADIUS secrets, so you type them in and DejaVault erases them when the restore ends.
- BGP passwords and VPN shared secrets
- Meraki does return these. A backup read with full access or Meraki sign in holds them encrypted under your account's key, and with a read only key a restore treats them as masked and asks you.
- Rules a template owns
- On a network bound to a template, a restore leaves alone what the template owns, so restoring one site never changes the others. You put those back by restoring the template.
The same rules can also be written to many sites at once. A rollout adds, replaces or removes a block of firewall rules at every site you pick, previews each site first and writes them in waves you can undo.
Export an MX with the free tool
If you need a copy of the firewall today, DejaVault Export is a free, open source command that saves the same 253 settings to JSON files with a read only key and only GET requests.
It keeps no history and never writes, so putting a rule back from its files is up to you.
Install the free tool
Install DejaVault Export with pipx. It needs Python 3.10 or later and sends only GET requests.
pipx install git+https://github.com/tessarosystems/dejavault-exportMake a read only key
Add a dashboard administrator with read only organization access, sign in as that administrator, and generate an API key under My profile. Put it in
MERAKI_DASHBOARD_API_KEY, or let the tool ask for it.Export the networks
Pass the organization's id and, with
--networks, the networks whose appliances you want. Organization settings, such as the site to site VPN firewall rules, are always exported.dejavault-export --org 123456 --networks "Main Office,Warehouse"Find the files
Each setting is a JSON file named after the API operation that read it. All the ids below are made up.
networks/L_123456789012345678/getNetworkApplianceFirewallL3FirewallRules.json networks/L_123456789012345678/getNetworkApplianceFirewallPortForwardingRules.json networks/L_123456789012345678/getNetworkApplianceVlans.json networks/L_123456789012345678/getNetworkApplianceVpnSiteToSiteVpn.json organization/getOrganizationApplianceVpnVpnFirewallRules.json devices/Q2XX-AAAA-0001/getDeviceApplianceUplinksSettings.json
Questions about MX firewall backups
If yours is not here, write to sales@tessarosystems.com and we will answer it.
A customer asks for a config backup of a Meraki firewall. Where do we get it?
The Meraki dashboard has no export button, so the copy has to come from the Dashboard API. In DejaVault you download the firewall and NAT rules across a client's networks as one CSV or PDF, or every setting as JSON, and our free export tool saves an MX's settings to JSON files with a read only key.
Is a network bound to a template backed up too?
A bound network is backed up like any other, and the template has its own history. A restore of one bound network leaves alone what the template owns, so restoring one site never changes the others, and a rule the template owns is put back by restoring the template.
Can a restore put back one firewall rule without touching the others?
A restore writes whole settings, so the layer 3 rules go back as the full list they were at the moment you pick, and the plan shows every rule that would change before you approve. Undoing one change from the Changes page writes that one setting back and nothing else.
Are the WAN PPPoE password and the MX WiFi passwords restored?
Meraki never returns them through its API, so no backup holds them. A restore that needs them asks you to type them in, and DejaVault erases them when the writing ends.
More on Meraki backup and restore
See your own firewalls backed up
In a demo you see DejaVault on a Meraki organization with sample data, and then you connect one of your own with a read only key and watch its first backup. DejaVault is priced per project, so we work out the price with you after a short call about your networks.
Write to sales@tessarosystems.com, reach support at support@tessarosystems.com, or call 212 470 9405.
Book a demo