datamart_update_copy_file_info
This command modifies a user-defined and predefined file data mart export.
This API is available in Guardium V9.5 and later.
REST API syntax
This API is available as a REST service with the
PUT
method. Call this API as
follows:
PUT https://[Guardium hostname or IP address]:8443/restAPI/datamart_update_copy_file_info
GuardAPI syntax
datamart_update_copy_file_info parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
destinationHost | String | Required. Hostname of target server. |
destinationPassword | String | Required. Required if you are using a username and password for authentication. Password for the user specified by destinationUser. |
destinationPath | String | Required. Path to location to store the data mart extraction. |
destinationPort | String | Required. The port number for the destination. |
destinationUser | String | Required. User with write access to the destination path. |
failoverDestinationHost | string | If the export to destinationHost fails, then Guardium attempts to export the files to failoverDestinationHost. destinationHost and failoverDestinationHost must have the same credentials and path (destinationPath). The output to get_datamart_info shows the server to which results were last sent. |
Name | String | Required. Data mart name |
transferMethod | String | Required. Valid values:
|
validate | Boolean | Valid values:
Default = 1 (true) |
withCOMPLETEfile | Boolean | A complete file is sent after a data file is successfully transferred. Valid values:
Default = 1 (true) |
Example
To update the Export:Session Log transfer method to SCP:
grdapi datamart_update_copy_file_info destinationHost=server22 destinationPassword=passpass destinationPath=<destination server> destinationUser=useruser
Name="Export:Session Log" transferMethod=SCP