resourceconnection export

The resourceconnection export command exports a resource connection from Spectrum server to a JSON file.


resourceconnection export --n ConnectionName --o OutputDirectory
Yes--n ConnectionNameSpecifies 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 ConnectionTypeSpecifies the connection type. It can have values, such as MSSQLServer, Oracle, Salesforce, and Apache Cassandra.
No--o OutputDirectorySpecifies 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 fileEncryptionSpecifies if the file encryption is on or off.
Enables file encryption. This is the default setting.
Disables file encryption.


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