How to back up a Meraki switch configuration
Meraki keeps a switch's ports, ACLs, layer 3 interfaces and static routes in its cloud, and the dashboard has no export for them. A DejaVault backup reads all 37 switch settings through the Dashboard API, for each switch, each stack and each network, and a restore can put every one of them back from a plan you approve.

What a backup of a Meraki switch holds
A switch's settings live in three places, and a backup reads all three. Each switch keeps its own ports, its layer 3 interfaces with their DHCP settings, its static routes and its warm spare, and each stack keeps its own interfaces, DHCP settings and static routes.
The network holds the rest: ACLs, access policies, QoS rules and their order, the DHCP server policy and the servers trusted by Dynamic ARP Inspection, DSCP to CoS mappings, link aggregation, MTU, port schedules, multicast routing and rendezvous points, OSPF, spanning tree and storm control.
- A backup also reads which switch port each device is plugged into, so DejaVault can draw each site's wiring from the WAN circuits down to every access point and camera.
- A port changed in the dashboard shows up on the Changes page under its switch's name and port, with who changed it and the before and after.
- The ports of a switch profile in a configuration template are backed up with the template, which keeps its own history.
- You can search for an address, a subnet, a port or a VLAN, and DejaVault finds it across every network in the organization.
The 37 switch settings
Every row below is one setting DejaVault reads, with the Dashboard API operation behind it and whether it is read for each network, each switch or once for the organization. A restore can put all 37 back.
The full coverage list has the other product lines, with a filter and a search.
| Setting | API operation | Read for each | Restore |
|---|---|---|---|
| Switches (MS) 37 settings, all restored | |||
| One switch port | getDeviceSwitchPort | Device | Restored through its list |
| Switch ports | getDeviceSwitchPorts | Device | Restored |
| One layer 3 interface on a switch | getDeviceSwitchRoutingInterface | Device | Restored through its list |
| DHCP on a switch's layer 3 interface | getDeviceSwitchRoutingInterfaceDhcp | Device | Restored |
| Layer 3 interfaces on a switch | getDeviceSwitchRoutingInterfaces | Device | Restored |
| One static route on a switch | getDeviceSwitchRoutingStaticRoute | Device | Restored through its list |
| Static routes on a switch | getDeviceSwitchRoutingStaticRoutes | Device | Restored |
| Switch warm spare | getDeviceSwitchWarmSpare | Device | Restored |
| Switch access control lists (ACLs) | getNetworkSwitchAccessControlLists | Network | Restored |
| Access policies | getNetworkSwitchAccessPolicies | Network | Restored |
| One access policy | getNetworkSwitchAccessPolicy | Network | Restored through its list |
| Switch alternate management interface | getNetworkSwitchAlternateManagementInterface | Network | Restored |
| DHCP server policy | getNetworkSwitchDhcpServerPolicy | Network | Restored |
| Servers trusted by Dynamic ARP Inspection | getNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers | Network | Restored |
| DSCP to CoS mappings | getNetworkSwitchDscpToCosMappings | Network | Restored |
| Link aggregation groups | getNetworkSwitchLinkAggregations | Network | Restored |
| Switch MTU | getNetworkSwitchMtu | Network | Restored |
| Port schedules | getNetworkSwitchPortSchedules | Network | Restored |
| One QoS rule | getNetworkSwitchQosRule | Network | Restored through its list |
| QoS rules | getNetworkSwitchQosRules | Network | Restored |
| QoS rule order | getNetworkSwitchQosRulesOrder | Network | Restored |
| Multicast routing settings | getNetworkSwitchRoutingMulticast | Network | Restored |
| One multicast rendezvous point | getNetworkSwitchRoutingMulticastRendezvousPoint | Network | Restored through its list |
| Multicast rendezvous points | getNetworkSwitchRoutingMulticastRendezvousPoints | Network | Restored |
| OSPF routing | getNetworkSwitchRoutingOspf | Network | Restored |
| Switch network settings | getNetworkSwitchSettings | Network | Restored |
| One switch stack | getNetworkSwitchStack | Network | Restored through its list |
| One layer 3 interface on a switch stack | getNetworkSwitchStackRoutingInterface | Network | Restored through its list |
| DHCP on a switch stack's layer 3 interface | getNetworkSwitchStackRoutingInterfaceDhcp | Network | Restored |
| Layer 3 interfaces on a switch stack | getNetworkSwitchStackRoutingInterfaces | Network | Restored |
| One static route on a switch stack | getNetworkSwitchStackRoutingStaticRoute | Network | Restored through its list |
| Static routes on a switch stack | getNetworkSwitchStackRoutingStaticRoutes | Network | Restored |
| Switch stacks | getNetworkSwitchStacks | Network | Restored |
| Storm control | getNetworkSwitchStormControl | Network | Restored |
| Spanning tree (STP) settings | getNetworkSwitchStp | Network | Restored |
| One port of a template switch profile | getOrganizationConfigTemplateSwitchProfilePort | Organization | Restored through its list |
| Ports of a template switch profile | getOrganizationConfigTemplateSwitchProfilePorts | Organization | Restored |
What cloning a network leaves behind
Cloning makes a new network from an existing one, and Cisco says a clone copies the existing network's configuration. A new network has no switches in it, though, and Meraki keeps a switch's ports, layer 3 interfaces and static routes on the switch itself, which the API reads one switch at a time.
Those settings therefore stay with the original network's switches. If that network is deleted, they go with it, and a clone made beforehand cannot bring them back.
This will copy all configurations from the existing network
What a restore puts back on a switch
A restore compares the live network with the moment you pick, writes only the settings that differ and reads each one back to check it. All 37 switch settings can go back, and a deleted network is rebuilt with its switches claimed back before their ports and routes are written.
The restore guide walks through the plan, the approval and the undo.
- RADIUS secrets of access policies
- Meraki never returns them through its API, so a restore that needs them asks you to type them in, and DejaVault erases them when the writing ends.
- The OSPF authentication key
- Meraki does return it. A backup read with full access or Meraki sign in holds it encrypted under your account's key, and with a read only key a restore treats it as masked and asks you.
- Switch profiles in a template
- Their ports can be restored, but Meraki's API cannot create or delete a switch profile, so a profile someone deleted has to be made again in the dashboard first.
- Settings 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.
Switch ports can also be changed at many sites at once, because a rollout previews every site from its backup and writes in waves you can undo.
Export a switch with the free tool
If you need a copy of your switches 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 port 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 switches you want. Each switch in those networks gets its own folder, named by its serial.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.
devices/Q2XX-AAAA-0002/getDeviceSwitchPorts.json devices/Q2XX-AAAA-0002/getDeviceSwitchRoutingInterfaces.json devices/Q2XX-AAAA-0002/getDeviceSwitchRoutingStaticRoutes.json networks/L_123456789012345678/getNetworkSwitchAccessControlLists.json networks/L_123456789012345678/getNetworkSwitchStacks.json networks/L_123456789012345678/getNetworkSwitchStackRoutingInterfaces/8765.json
Questions about switch backups
If yours is not here, write to sales@tessarosystems.com and we will answer it.
Are layer 3 interfaces and static routes backed up?
DejaVault backs them up by reading the layer 3 interfaces, their DHCP settings and the static routes of every switch, and the same for every switch stack, and a restore can put all of them back.
Does cloning a network copy them?
A clone has no switches to hold them. Meraki keeps a switch's ports, layer 3 interfaces and static routes on the switch itself, and a cloned network starts with no switches, so those settings stay with the original network's switches and are lost with them.
What happens to the ports of a switch profile in a configuration template?
They are backed up and can be restored. Meraki's API cannot create or delete a switch profile, though, so a profile that was deleted has to be made again in the dashboard before its ports can go back.
Are the RADIUS secrets of an access policy restored?
Meraki never returns RADIUS secrets through its API, so no backup holds them. A restore of an access policy asks you to type them in, and DejaVault erases them when the writing ends.
More on Meraki backup and restore
See your own switches 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