export-import
schedule-export logs
Retrieve IBM® Cloud Pak for Data schedule export
logs.
Syntax
cpd-cli export-import schedule-export logs <cpd-export-schedule-name> \
[--arch=<system-cpu-architecture>] \
[--cpdconfig=<cpd-configuration-location>] \
[--log-level=info|debug|warn|error|panic] \
[--namespace=<namespace-name>] \
--profile=<cpd-configuration-profile-name> \
[--verbose]
Arguments
Table 1: Command arguments
Argument | Description |
---|---|
<cpd-export-schedule-name> |
The name of the scheduled export to retrieve export logs for. |
Options
Option | Description |
---|---|
--arch |
Provide the system
architecture.
|
--cpdconfig |
The Cloud Pak for Data
configuration location.
|
|
Display command
help.
|
--log-level |
The command log
level.
|
--namespace |
The namespace name in which the
utility should operate.
|
--profile |
The profile-name from the Cloud
Pak for Data configuration.
|
|
Specify values in one or more YAML
files.
|
--verbose |
Logs include more detailed
messages.
|
Examples
Note: The following examples use the recommended installation environment variables.
Use a script to create environment variables with the correct values for your environment. For more information, see Best practice: Setting up install variables.
- Retrieve the Cloud Pak for Data schedule export logs from the
${PROJECT_CPD_INSTANCE}
namespace. -
cpd-cli export-import schedule-export logs <cpd-export-schedule-name> \ --cpdconfig=<cpd-configuration-location> \ --namespace=${PROJECT_CPD_INSTANCE}