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.

Export environments

When you export an environment, the system creates a JSON file with the environment's configuration information.

To export an environment:

  1. Navigate to Management > Environments.
  2. In the list of environments, click Export next to the environment you want to export.

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.

Back to top

Import environments

When importing an environment, you can create a new environment or upgrade an existing one.

To import an environment:

  1. Navigate to Management > Environments.

  2. Click Import. The Import Environment dialog box opens.

  3. (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:

    "name": "UAT"

  4. Click Choose File and select the JSON file containing the environment.

  5. Click Import.

Back to top

See also: