oadp checkpoint create

Create a Cloud Pak for Data checkpoint.

Syntax

cpd-cli oadp checkpoint create \
[--dry-run=true|false] \
[--include-namespaces=<project-name1,project-name2,...>] \
[--log-level=info|debug|warn|error|panic] \
[--namespace=<namespace-name>] \
[--tenant-operator-namespace] \
[--values=<yaml-file-name1,yaml-file-name2,...>] \
[--verbose]

Arguments

The checkpoint create command has no arguments.

Options

Option Description
--dry-run Executes a dry-run without running the command.
Status
Optional.
Syntax
--dry-run=true|false
Default value
false
Valid values
false
A dry run is not executed before running the command.
true
A dry run is executed before running the command.

--help

-h

Display command help.
Status
Optional.
Syntax
--help
Default value
No default.
Valid values
Not applicable.
--include-namespaces The namespaces in which to run checkpoint exec-hooks.
Status
Optional.
Syntax
--include-namespaces=<project-name1,project-name2,...>
Default value
${PROJECT_CPD_INST_OPERANDS}
Valid values
Any valid project names. (Comma-separated string array.)
--log-level The command log level.
Status
Optional.
Syntax
--log-level=info|debug|warn|error|panic
Default value
info
Valid values
debug
Debug messages are written to the log.
error
Error messages are written to the log.
info
Informative messages are written to the log.
panic
Panic messages are written to the log.
warn
Warning messages are written to the log.
--namespace The namespace name in which the utility should operate.
Status
Optional.
Syntax
--namespace=<namespace-name>
Default value
oadp-operator
Valid values
A valid project (namespace) name.

--tenant-operator-namespace

Restrict the scope of backup or restore commands to tenant operand namespaces that include tenant specific Cloud Pak Foundation Service Operators and Cloud Pak for Data Operators only.
Status
Optional.
Syntax
--tenant-operator-namespace
Default value
No default.
Valid values
Do not include --tenant-operator-namespace and --exclude-tenant-operator-namespace together.

--values

-f

Specify YAML files that contain custom parameters that are passed to configmap hooks.
Status
Optional.
Syntax
--values=<yaml-file-name1,yaml-file-name2,...>
Default value
No default.
Valid values
One or more YAML file names.
--verbose Logs include more detailed messages.
Status
Optional.
Syntax
--verbose
Default value
No default.
Valid values
Not applicable.

Table 1: Command options

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 Best practice: Setting up installation environment variables.

Create a Cloud Pak for Data checkpoint.
cpd-cli oadp checkpoint create \
--include-namespaces=${PROJECT_CPD_INST_OPERANDS} \
--log-level=debug \
--namespace=oadp-operator \
--verbose