You had better sit down before I tell you this.
I've managed to write a script to about 75% backup a Meraki Dashboard configuration to a file, and then restore the environment.
Philip
This looks really useful, do let me know if you need me to test anything.
Robin
is think this should not be in there?
del mySNMP['v2CommunityString']
del mySNMP['hostname']
del mySNMP['port']
@ww the Dashboard API does not let you configure those settings, only retrieve them - so yes, I have to delete them otherwise the update call fails.
Nice work @PhilipDAth! I was just thinking, wouldn't it be great if Meraki added a roll-back feature within dashboard natively. I.e You'd make a change to some configuration apply the change, you'd then have a ten minute period to be able to roll back in the case of causing any unforeseen problems.
@MilesMeraki wrote:Nice work @PhilipDAth! I was just thinking, wouldn't it be great if Meraki added a roll-back feature within dashboard natively. I.e You'd make a change to some configuration apply the change, you'd then have a ten minute period to be able to roll back in the case of causing any unforeseen problems.
The one thing I miss from Cisco IOS is the reload in command. Have an option to send config changes and if you don't send a command to approve them in a timeframe restart on the old config. Nothing worse than accidentally locking yourself out of something at remote site.
This is awesome! I'll give it a whirl later on in the day.