You can use the following APIs with OADP:
Velero API documentation is maintained by Velero and is not maintained by Red Hat.
The following are the OADP APIs:
DataProtectionApplicationSpec
BackupLocation
SnapshotLocation
ApplicationConfig
VeleroConfig
CustomPlugin
ResticConfig
PodConfig
Features
DataMover
The following are DataProtectionApplicationSpec OADP APIs:
| Property | Type | Description |
|---|---|---|
|
Defines the list of configurations to use for |
|
|
Defines the list of configurations to use for |
|
|
map [ UnsupportedImageKey ] string |
Can be used to override the deployed dependent images for development. Options are |
|
Used to add annotations to pods deployed by Operators. |
|
|
Defines the configuration of the DNS of a pod. |
|
|
Defines the DNS parameters of a pod in addition to those generated from |
|
|
*bool |
Used to specify whether or not you want to deploy a registry for enabling backup and restore of images. |
|
Used to define the data protection application’s server configuration. |
|
|
Defines the configuration for the DPA to enable the Technology Preview features. |
Use the BackupLocation OADP API type to define where OADP stores backups in OKD. You can specify a Velero backup storage location or an automatically provisioned cloud storage bucket.
| Property | Type | Description |
|---|---|---|
|
Location to store volume snapshots, as described in Backup Storage Location. |
|
|
Automates creation of a bucket at some cloud storage providers for use as a backup storage location. |
|
The For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
Use the SnapshotLocation OADP API type to define where OADP stores volume snapshots in OKD. It uses the Velero VolumeSnapshotLocationSpec to specify the snapshot storage backend.
| Property | Type | Description |
|---|---|---|
|
Location to store volume snapshots, as described in Volume Snapshot Location. |
Use the ApplicationConfig OADP API type to define Velero and Restic server configuration for OADP backup and restore operations in OKD.
| Property | Type | Description |
|---|---|---|
|
Defines the configuration for the Velero server. |
|
|
Defines the configuration for the Restic server. |
Use the VeleroConfig OADP API type to configure the Velero server instance for OADP in OKD. It controls plugins, feature flags, pod configuration, and logging for the Velero server.
| Property | Type | Description |
|---|---|---|
|
[] string |
Defines the list of features to enable for the Velero instance. |
|
[] string |
The following types of default Velero plugins can be installed: |
|
Used for installation of custom Velero plugins. |
|
|
Represents a config map that is created if defined for use in conjunction with the |
|
|
To install Velero without a default backup storage location, you must set the |
|
|
Defines the configuration of the |
|
|
Velero server’s log level (use |
Use the CustomPlugin OADP API type to define the name and container image of a custom Velero plugin for OADP in OKD.
| Property | Type | Description |
|---|---|---|
|
Name of custom plugin. |
|
|
Image of custom plugin. |
Use the ResticConfig OADP API type to enable and configure Restic-based backup and restore in OKD. It defines the Restic timeout, supplemental groups, and pod configuration.
| Property | Type | Description |
|---|---|---|
|
*bool |
If set to |
|
[]int64 |
Defines the Linux groups to be applied to the |
|
A user-supplied duration string that defines the Restic timeout. Default value is |
|
|
Defines the configuration of the |
Use the PodConfig OADP API type to configure pod-level settings for Velero and Restic pods in OKD. It defines node selectors, tolerations, resource limits, and labels for backup and restore pods.
| Property | Type | Description |
|---|---|---|
|
Defines the |
|
|
Defines the list of tolerations to be applied to a Velero deployment or a Restic |
|
|
Set specific resource |
|
|
Labels to add to pods. |
Use the Features OADP API type to configure optional OADP features in OKD. It defines the Data Mover configuration for volume snapshot data movement.
| Property | Type | Description |
|---|---|---|
|
Defines the configuration of the Data Mover. |
Use the DataMover OADP API type to enable and configure the volume snapshot mover controller and CSI Data Mover plugin in OKD. It controls data movement for volume snapshot backup and restore operations.
| Property | Type | Description |
|---|---|---|
|
If set to |
|
|
User-supplied Restic |
|
|
A user-supplied duration string for |