Skip to main content Skip to complementary content

Importing the project configuration

You can use the Compose CLI to import the configuration settings of an existing project. This includes database definitions, scheduling jobs, and notifications. This is helpful, for example, when you need to migrate configuration settings from a test environment to the production environment. For information about migrating projects, see Moving projects from the test environment to the production environment.

Information note

Before you can import the project configuration, you must first run the import_project_repository command described in Importing a project.

Command syntax:

ComposeCli.exe import_project_repository_config --project project_name --infile input_file [--password password] [--is_without_credentials]

Parameters

Parameter Description
--project The name of the project.
--infile The full path to the input file, including the file name. This file is in JSON format (e.g. C:\file.json).
--password

The password specified with the password parameter during export.

For instructions on changing the master user password, see Changing the master user password.

See also: Moving projects from the test environment to the production environment and Import/export scenarios - When is a password required?

--is_without_credentials Use this parameter to specify to import the project settings without the encrypted fields. In this case, you will need to manually enter the project passwords in the Compose database connection settings.

Example

ComposeCli.exe import_project_repository_config --project MyProject --infile file.json --password MyPassword

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!