resourceconnection export
The resourceconnection export command exports a resource connection from Spectrum server to a JSON file.
Usage
resourceconnection export --n ConnectionName --o OutputDirectoryRequired | Argument | Description |
---|---|---|
Yes | --n ConnectionName | Specifies the name of the resource connection you want to export. If the
connection name contains spaces, enclose the name in quotes. Tip: If you are unsure of the connection name, you can use the
resourceconnection list command to get a list of the connection
names. |
Yes | --t ConnectionType | Specifies the connection type. It can have values, such as MSSQLServer, Oracle, Salesforce, and Apache Cassandra. |
No | --o OutputDirectory | Specifies the directory to which you want to export the connection. The path you specify here is relative to the directory where you are running the Administration Utility. If you omit this argument, the connection is exported to the directory containing the Administration Utility. |
No | --encrypt fileEncryption | Specifies if the file encryption is on or off.
|
Example
This example exports the resource connection named "FrameallSalesforce_bulkon" of "SalesForce" connection type to a folder named exported which is a subfolder in the location where you have installed the Administration Utility.
resourceconnection export --n "FrameallSalesforce_bulkon" --t SalesForce --o exported