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

Export and import from one environment to other using terraform

danijela
Participant

Did anyone manage to export and import the data from one environment to second one.

I managed to export the data but not able to import.
Note: I don't want to export all data and move them, just some of them.

3 REPLIES 3

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

I have just done that with Monaco.

Are you using Terraform for some reason?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Hello,

Well, I didn't explore Monaco and didn't try to play with it, so I preferred to go with terraform as it was easier for me.
But the command that I am using for export/import with terraform is not working.

Also, as I mentioned, I don't want to export everything from my existing tenant and move to the new one, I want only that should be on the test environment.
Again even with the terraform I am experiencing issues, since I needs to figure out what are the dependencies for every resource. 

Hello @danijela 

  1. Mainly Dynatrace migration for the sake of exporting the configuration from one environment to another or from managed to SaaS is Done through Monaco, as it's developed by Dynatrace and full support is provided when you proceed with any of the mentioned projects.
  2. For the organizations that seek either migrate configurations or moving completely to SaaS through Terraform, you can coordinate with terraform team at your organization and execute the provided commands by Dynatrace using Terraform

https://docs.dynatrace.com/docs/manage/configuration-as-code/terraform/guides/migration

  • You also have the option to use SaaS upgrade assistant which is UI based to export the configurations and import it to another environment mainly from managed to SaaS.

upgrade assistant.png

Tip:

Through the monitoring environment you have the option to export the configurations as well through the CMC UI and then you can import it to the target environment either through Monaco or Terraform.

export.png

Kindly note:

  • The in-advance proper planning and coordination ensures seamless migration and the monitoring is not disrupted. 

Regards,

Peter.

 

 

Featured Posts