03-01-2024 02:52 AM
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.
03-01-2024 03:06 AM
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.
03-01-2024 04:05 AM
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?
03-01-2024 04:09 AM
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.
03-01-2024 04:12 AM
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?"
03-01-2024 04:16 AM
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.
03-01-2024 04:25 AM
Thank you, will check that out. But does taking backup of networks and restoring makes sense? If not the whole organization?
03-01-2024 04:30 AM
03-01-2024 04:39 AM
okay Thank you.
03-01-2024 06:37 AM
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'
03-01-2024 07:20 AM
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.
03-01-2024 09:23 AM
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.
03-03-2024 11:18 AM
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.
03-03-2024 08:48 PM
Hi Philip,
Thank you so much. I will check this out.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide