cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Config backup

Highlighted
Comes here often

Config backup

Hello there.

 

We are going to apply important changes on our Meraki MX100 (create some VLANS ) and I like to know if its possible to make a offline backup or run a rollback in case of something go wrong. Thanks.   

8 REPLIES 8
Highlighted
Kind of a big deal

Re: Config backup

@rulezzz Sorry but Meraki is 100% cloud based. You will just have to make a note of what changes you make. 

Meraki CMNO, Ruckus WISE, Sonicwall CSSA, Allied Telesis CASE & CAI
Highlighted
Kind of a big deal
Kind of a big deal

Re: Config backup

you could prepare a script to undo you changes using the API. 

 

Meraki should make some kind of snapshot/save state where you can revert back to.

Highlighted
Kind of a big deal

Re: Config backup

@ww Sounds like the perfect idea for using the make a wish feature.

Meraki CMNO, Ruckus WISE, Sonicwall CSSA, Allied Telesis CASE & CAI
Highlighted
Kind of a big deal

Re: Config backup

I haven't used it for a while, but quite some time ago I wrote this script to doing offline backups/restore.

http://www.ifm.net.nz/cookbooks/meraki-backup.html 

 

What I would personally do is just copy the network to a new one.  Make the changes.  If you need to rollback just move the MX to the new network, and delete the original.

Highlighted
New here

Re: Config backup

Hi Philip,

 

I'm trying to perform the backup via the script but i'm running into a problem.

First i had to go use Pycharm since in commandline it couldn't find the meraki-sdk, so using pyCharm fixed that issue. 

Now when I run the script with all necessary modules installed i get 2 errors:

 

Traceback (most recent call last):
File "meraki-backup.py", line 209, in <module>
orgid=get_org_id(meraki,args.orgName)
File "meraki-backup.py", line 33, in get_org_id
result = meraki.organizations.get_organizations()
File "/Users/at-mbp-52/PycharmProjects/Meraki/venv/lib/python3.7/site-packages/meraki_sdk/controllers/organizations_controller.py", line 50, in get_organizations
self.validate_response(_context)
File "/Users/at-mbp-52/PycharmProjects/Meraki/venv/lib/python3.7/site-packages/meraki_sdk/controllers/base_controller.py", line 94, in validate_response
raise APIException('HTTP response not OK.', context)
meraki_sdk.exceptions.api_exception.APIException: HTTP response not OK.

 

Any idea,

Already want to thank you for the script tho!

Cheers

Aaron

Kind of a big deal

Re: Config backup

Hi @Ahoste .  This means it is failing to retrieve a list of organisations that you have access to.

 

Are you sure the API key you are using is correct?

 

Does the API key belong to an organisation admin?

 

Highlighted
New here

Re: Config backup

Hi Philip,

thank you for the reply.
The API key in the .merkai.env file is correct, this was my first thought too and I revoked the key and even created a new one but same error.

 

The API key does belong to an admin account with "organization" privilige.

Cheers

Highlighted
Getting noticed

Re: Config backup

You could use the Meraki dashboard change log to reference what changes you made.

 

https://documentation.meraki.com/zGeneral_Administration/Organizations_and_Networks/Organization_Men...

Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.