export-import

Important: IBM Cloud Pak® for Data Version 4.7 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.

Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.7 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.

Migrate data, including metadata, between Cloud Pak for Data clusters with the export-import plug-in.

Extended description

export-import is a command-line interface (CLI) utility for IBM Cloud Pak for Data that can perform Cloud Pak for Data add-on auxiliary functions such as export and import through registered Cloud Pak for Data auxiliary assemblies. The utility allows for the migration of Cloud Pak for Data data from one cluster to another.

Prerequisites

  1. Before you run any cpd-cli commands, ensure that you downloaded the cpd-cli 13.0.4 command-line utility for your operating system and Cloud Pak for Data edition. For more information, see Installing the Cloud Pak for Data command-line interface (cpd-cli).

  2. The Red Hat® OpenShift® client oc is included in the PATH and has access to the Cloud Pak for Data cluster.
  3. The profile configuration must be set before you can run export-import commands. For more information, see Creating a profile to use the cpd-cli management commands.
  4. Setup a shared volume PVC/PV.
  5. When Cloud Pak for Data is installed on NFS, the NFS storage must be configured with no_root_squash.

Security and roles

The export-import command requires cluster administrator or similar roles.

Commands

Table 1. export-import commands
Command Description
export Work with IBM Cloud Pak for Data exports.
export create Create an IBM Cloud Pak for Data export.
export delete Delete an IBM Cloud Pak for Data export.
export download Download IBM Cloud Pak for Data export data.
export list List all IBM Cloud Pak for Data exports.
export logs Retrieve all IBM Cloud Pak for Data export logs.
export purge Purge all IBM Cloud Pak for Data exports that are older than the specified retention time.
export status Check the IBM Cloud Pak for Data export status.
export upload Upload the IBM Cloud Pak for Data export data.
import Work with IBM Cloud Pak for Data imports.
import create Create an IBM Cloud Pak for Data import.
import delete Delete an IBM Cloud Pak for Data import.
import list List all IBM Cloud Pak for Data imports.
import logs Retrieve all IBM Cloud Pak for Data import logs.
import status Check the IBM Cloud Pak for Data import status.
init Initialize the cpd-cli export-import command.
list List IBM Cloud Pak for Data resources.
list aux-module List auxiliary IBM Cloud Pak for Data modules.
init Initialize the cpd-cli export-import command.
reset Reset the cpd-cli export-import command.
schedule-export Work with the IBM Cloud Pak for Data schedule export.
schedule-export create Create an IBM Cloud Pak for Data schedule export.
schedule-export delete Delete an IBM Cloud Pak for Data schedule export.
schedule-export download Download IBM Cloud Pak for Data schedule export data.
schedule-export list List IBM Cloud Pak for Data scheduled exports.
schedule-export logs Retrieve IBM Cloud Pak for Data schedule export logs.
schedule-export purge Purge IBM Cloud Pak for Data schedule exports that are older than the specified retention time.
schedule-export status Check the IBM Cloud Pak for Data schedule export status.
schedule-export upload Upload the IBM Cloud Pak for Data schedule export data.
version Display the cpd-cli export-import command version.