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

Bulk import of management zones from one environment to another

AK
Advisor

Hello Folks,

I have definations exported for all management zones in JSON from one environment.

Is there a way with which we can import management zones JSON on another environment in bulk?

I know, we can post JSON for each management zone from API explorer (of another environment) but I'm looking for some automated way.

Regards,

AK

2 REPLIES 2

alonso_decosio
Dynatrace Advisor
Dynatrace Advisor

Hi Akshay,

I don't think you can import them in bulk, but I created a tool that can help you.

https://github.com/AlonsoDeCosio/dynatrace-sync-environments

HTH

Alonso


r_weber
Pro

Hi Akshay,

I've done this and a lot of other configuration sync in my config management. In fact it allows you to transfer ANY dynatrace configuration from one tenant to another and a lot more!

I've decided to put parts of this work under GPLv3 so you can reuse it:

https://github.com/reinhard-brandstaedter/dt-config-mgmnt

What this basically allows you to do is to fetch configs, store it into JSON files and then import the whole config set into other environments