oadp
snapshot-location create
Important: IBM Cloud Pak® for Data
Version 4.6 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.6 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.
Create a volume snapshot location.
Syntax
cpd-cli oadp snapshot-location create <oadp-snapshot-name> \
[--config=<map<key, value>>] \
[--labels=<map<label,label,...>>] \
[--log-level=info|debug|warn|error|panic] \
[--namespace=<namespace-name>] \
[--provider=<backup-storage-provider-name>] \
[--verbose]
Arguments
Table 1: Command arguments
| Argument | Description |
|---|---|
<oadp-snapshot-name> |
The name of the volume snapshot location to create. |
Options
| Option | Description |
|---|---|
--config |
The configuration key-value pairs.
|
|
|
Display command
help.
|
--labels |
Labels to apply to the volume snapshot location.
|
--log-level |
The command log
level.
|
--namespace |
The namespace name in which the
utility should operate.
|
--provider |
The volume snapshot provider name (for example, aws, azure, gcp).
|
--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.
- Create the
oadp-snapshot-namevolume snapshot for the AWS provider. -
cpd-cli oadp snapshot-location create <oadp-snapshot-name> \ --config=<map<key, value>> \ --provider=aws \ --log-level=debug \ --verbose