cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
193134
Views
38
Helpful
90
Replies

MERAKI BACKUP AND RESTORE

ritchie.barral
Level 2
Level 2

Hi guys,

Good Morning.

Just want to hear your unique ways about how to backup your configuration in the dashboard to your local drive.

In my situation i had an MX65W with configurations already and then i will have a new MX65W coming to be use in another organization.

My question first is how can i backup my configuration from my existing MX65W so that i can use it to my new MX65W? (But this is answered already by meraki support so they provide me a link : https://documentation.meraki.com/zGeneral_Administration/Templates_and_Config_Sync/Cloning_Network_Settings_with_Configuration_Sync ).

In this link i just saw how to clone from network to another network in one organization.

Now, i want to hear from you guys if you experience this already and how you tried to backup from one organization to another organization.

Thanks in advance.

1 Accepted Solution

Accepted Solutions

This script is based on the V0 API, which is now deprecated.

Check out this back system provided in the sample Meraki automation scripts.

https://github.com/meraki/automation-scripts/tree/master/backup_configs

View solution in original post

90 Replies 90

Thanks @Philip D'Ath , i would try this now.

Config Sync and Templates is the native way of replicating configuration from networks which need to be re-used and re-purposed else where.

If you're wanting to back-up the configuration to a local file you can do this via scripting and the API. @Philip D'Ath has created a script for this purpose. I've tested it and works fantastic!

Eliot F | Simplifying IT with Cloud Solutions
Found this helpful? Give me some Kudos! (click on the little up-arrow below)

Hey @MilesMeraki or @Philip D'Ath could you pleaes indicate me where is that script ? thanks in advance.

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

Check out the second post.

thanks Philip , good idea about that script btw . Regards

I am getting an error message that I haven't seen in any of the other replies. When I run the backup script I get:

Traceback (most recent call last):
File "C:\Users\bry\AppData\Local\Programs\Python\Python38-32\scripts\meraki-backup.py", line 200, in <module>
from dotenv import load_dotenv
ModuleNotFoundError: No module named 'dotenv'

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

I think I missed one step. Try:

pip install -U python-dotenv

Let me know if that fixes it and I'll update the instructions.

That did get me past that error. Now I am getting this:

Processing network correct network name
warning: MX VLANs disabled - wont be able to restore IP addressing
Traceback (most recent call last):
File "C:\Users\bry\AppData\Local\Programs\Python\Python38-32\scripts\meraki-backup.py", line 251, in <module>
write_ssid_settings(file,meraki,row['id'])
File "C:\Users\bry\AppData\Local\Programs\Python\Python38-32\scripts\meraki-backup.py", line 180, in write_ssid_settings
mySSIDs=meraki.ssids.get_network_ssids(networkid)
File "C:\Users\bry\AppData\Local\Programs\Python\Python38-32\lib\site-packages\meraki_sdk\controllers\ssids_controller.py", line 117, in get_network_ssids
self.validate_response(_context)
File "C:\Users\bry\AppData\Local\Programs\Python\Python38-32\lib\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.

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

That means it is failing to get a list of SSIDs in your network.

What kind of WiFi device do you have in your network, and are you an Organisation admin so you have rights to read the properties?

I just have one Ubiquity Unify WAP. I am an organization admin.

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

@Cardinal1 ,

So you don't even see a "Wireless" section in the dashboard, correct?

Do you have an ordinary MX (like an MX64) or one with WiFi integrated (such as an MX64W)?

Right, there is no "wireless section". I see an option to set up a wireless concentrator, but I haven't done anything with that. It is an MX 64.

Nice work, Philip! This feature is essential for Meraki's core offering. Having no way to undo mistakes is a significant drawback for such a great concept.

@iconnect.cl