dbconnection import

The dbconnection import command imports a database connection definition file into the server. Database connection definition files are created by exporting a database connection from the server using the dbconnection export command. You can only import database connections that were exported from the same version of Spectrum™ Technology Platform.

Usage

dbconnection import --f DatabaseConnectionFile --u TrueOrFalse
RequiredArgumentDescription
Yes--f DatabaseConnectionFileSpecifies the database connection file you want to import. Connection files have a .json extension. Directory paths you specify here are relative to the location where you are running the Administration Utility.
No--u TrueOrFalseSpecifies whether to overwrite the existing database connection if a connection with the same name is already on the server, where TrueOfFalse is one of the following:
true
If there is a database connection on the server with the same name as the one you are importing, the connection on the server will be overwritten. This is the default setting.
false
If there is a database connection on the server with the same name as the one you are importing, the connection will not be imported.

Example

This example imports the database connection definition named MyDatabaseConnection.json which is located in a subfolder named exported in the location where you are running the Administration Utility.

dbconnection import --f exported\MyDatabaseConnection.json