Hi Team,
I was looking at this Git repository for Meraki backup and restore functionality (https://github.com/meraki/automation-scripts/tree/master/backup_configs). However, I noticed that the restore script only restores networks.
Do we have any repository or script to restore the complete configuration in order? For example, restoring the entire organization by first restoring networks, then claiming devices into inventory, and finally the organization itself.
Looking for some assistance and help.
Thanks in advance.
There is no API or Script for this. You would have to use a set of APIs, but it will make your script very complex.
Thank you for the quick response. Set of API's you mean set of python modules from this Link -> https://developer.cisco.com/meraki/api-v1/create-organization/ right?
Yes, you will need more than one API to be able to do this, but you also need to do it in a correct order.
Thanks again, that is the requirement/use case from one of our customer. But I am new to Meraki as well, can you please elaborate more on this statement please "all the settings are stored in the Meraki cloud?"
Before creating a dashboard account, let's address terminology:
It is important to note that "organization" and "network" in this sense are from the perspective of the dashboard.
Devices go in a network, networks go in an organization, and organizations are managed by user accounts from the Meraki dashboard. This information, as well as device configuration settings, is stored in the Meraki cloud.
Refer to the Meraki Cloud Architecture article for more information on how devices communicate with the Meraki Cloud.
Thank you, will check that out. But does taking backup of networks and restoring makes sense? If not the whole organization?
okay Thank you.
The use case for what you are asking about is generally around a 'bad actor' admin; while Meraki has a primary config - stored locally on all the devices, and a backup - stored in the Meraki cloud (it's actually more the ther way around): an angry Full Dashboard Admin can conceivably remove both, though there's no quick way to do this, particularly the larger an Org gets (you have to delete a lot of small stuff separately before you can delete an Org). While a set of scripts could be built to back up the whole lot to something outside of Dashboard, it's likely to be easier (though maybe more costly) to use an ecosystem partner who has already pre-built something along these lines: https://apps.meraki.io/en-US/listing?cat=106403
You would also need to bear in mind: if it's an inside bad actor, you need to ensure they can't also get to the off-Meraki 'backups'
CAE offer this service. Believe they have something in the Meraki Marketplace.
i would say just because the config is stored in the cloud it can’t be lost! This I believe has happened in the past.
No harm in having your own backups in whatever form that may be.
Thank you both, but somehow https://apps.meraki.io/en-US/listing?cat=106403 these apps are not available or visible in my country. So looks like the only option I have is to refer to https://developer.cisco.com/meraki/api-v1/create-organization/ and https://github.com/meraki/automation-scripts/tree/master/backup_configs these contents and code similarly for restoring the devices and entire organization.
This is a very old backup/restore system I wrote. It uses the V0 API and needs to be modernized to use the V1 API.
Hi Philip,
Thank you so much. I will check this out.