export-import
schedule-export upload
Upload the IBM® Cloud Pak for Data schedule export data.
Syntax
cpd-cli export-import schedule-export upload \
[--arch=<system-cpu-architecture>] \
[--cpdconfig=<cpd-configuration-location>] \
[--file=<cpd-export-schedule-name>] \
[--log-level=info|debug|warn|error|panic|trace] \
[--namespace=<namespace-name>] \
--profile=<cpd-profile-name> \
[--verbose]
Arguments
The command has no arguments.
Options
Table 1: Command options
| Option | Description |
|---|---|
--arch |
Provide the CPU architecture
(hardware) of the cluster.
|
--cpdconfig |
The IBM Software Hub
configuration location. For example,
$HOME/.cpd-cli/config.
|
|
|
The export or import file name to
upload.
|
|
|
Display command
help.
|
--log-level |
The command log
level.
|
--namespace |
The namespace name in which the
utility should operate.
|
--profile |
The name of the profile that you
created to store information about an instance of Cloud Pak for Data and your credentials for the
instance.
|
--verbose |
Logs include more detailed
messages.
|
Examples
Note: The following examples use the recommended installation environment variables.
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For more information, see Setting up installation environment variables.
- Upload the exported archive to a different cluster before invoking import
(the target cluster should have a
cpdtoolenvironment setup). -
cpd-cli export-import schedule-export upload \ --file=<cpd-export-schedule-name> \ --namespace=${PROJECT_CPD_INST_OPERANDS} \ --profile=${CPD_PROFILE_NAME}