export-import
export upload
Upload the IBM® Cloud Pak for Data export data.
Syntax
cpd-cli export-import export upload \
[--arch=<system-cpu-architecture>] \
[--cpdconfig=<cpd-configuration-location>] \
[--file=<export-import-file-name>] \
[--log-level=info|debug|warn|error|panic] \
[--namespace=<namespace-name>] \
--profile=<cpd-configuration-profile-name> \
[--verbose]
Arguments
The command has no arguments.
Options
Option | Description |
---|---|
--arch |
Provide the system
architecture.
|
--cpdconfig |
The Cloud Pak for Data
configuration location.
|
|
The export or import file name to
upload.
|
|
Display command
help.
|
--log-level |
The command log
level.
|
|
The namespace name in which the
utility should operate.
|
--profile |
The profile-name from the Cloud
Pak for Data configuration.
|
--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.
- Upload the export file to the
${PROJECT_CPD_INSTANCE}
namespace. - After the upload is successful, import the file to the target cluster with
the same namespace (the target cluster must have a
cpdtool
environment setup).cpd-cli export-import export upload \ --file=<export-import-file-name> \ --namespace=${PROJECT_CPD_INSTANCE} \ --arch=$CPU_ARCH \ --profile=<cpd-configuration-profile-name>