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 TrueOrFalseRequired | Argument | Description |
---|---|---|
Yes | --f DatabaseConnectionFile | Specifies 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 TrueOrFalse | Specifies 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:
|
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