Import and export environments
This topic explains how to export and then import environments into another server.
The export and import options are useful if you have multiple Deployment Automation servers, such as test and production servers. You can create and validate environments on the test server, then export them, and later import them to the production server.
When you export an environment, the system creates a JSON file with the environment's configuration information.
For information about JSON, see www.json.org.
To export an environment:
- Navigate to Management > Environments.
In the list of environments, click the Export icon next to an environment.
You can open the file in a text editor or save it. The saved JSON file has the same name as the selected environment, for example, UAT.json.
When importing an environment, you can create a new environment or upgrade an existing one.
To import an environment:
Navigate to Management > Environments.
Click Import. The Import Environment dialog box opens.
(Optional) To upgrade an existing environment, select Upgrade Environment.
If the environment's name in the JSON file (not the name of the file itself) matches an existing environment, the environment's properties are updated with the new values, and new items, such as resources, are added. If the name of the environment is not found, the command has no effect.
Note: The environment's name is the first parameter in the JSON file, for example:
Click Choose File and select the JSON file containing the environment.