You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The document provides information about the following APIs that you can use with OADP:
12
+
You can use the following APIs with {oadp-short}:
13
13
14
-
* Velero API
15
-
* OADP API
14
+
Velero API::
15
+
Velero API documentation is maintained by Velero, and not by Red{nbsp}Hat. For more information, see link:https://velero.io/docs/main/api-types/[Velero API types].
16
16
17
-
[id="velero-api"]
18
-
== Velero API
17
+
OADP API::
19
18
20
-
Velero API documentation is maintained by Velero, not by Red Hat. It can be found at link:https://velero.io/docs/main/api-types/[Velero API types].
19
+
The following are the {oadp-short} APIs:
21
20
22
-
[id="oadp-api-tables"]
23
-
== OADP API
21
+
* `DataProtectionApplicationSpec`
22
+
* `BackupLocation`
23
+
* `SnapshotLocation`
24
+
* `ApplicationConfig`
25
+
* `VeleroConfig`
26
+
* `CustomPlugin`
27
+
* `ResticConfig`
28
+
* `PodConfig`
29
+
* `Features`
30
+
* `DataMover`
31
+
+
32
+
For more information, see in link:https://pkg.go.dev/github.com/openshift/oadp-operator[OADP Operator].
24
33
25
-
The following tables provide the structure of the OADP API:
|Can be used to override the deployed dependent images for development. Options are `veleroImageFqin`, `awsPluginImageFqin`, `openshiftPluginImageFqin`, `azurePluginImageFqin`, `gcpPluginImageFqin`, `csiPluginImageFqin`, `dataMoverImageFqin`, `resticRestoreImageFqin`, `kubevirtPluginImageFqin`, and `operator-type`.
|Location to store volume snapshots, as described in link:https://pkg.go.dev/github.com/vmware-tanzu/velero/pkg/apis/velero/v1#BackupStorageLocation[Backup Storage Location].
|Location to store volume snapshots, as described in link:https://pkg.go.dev/github.com/vmware-tanzu/velero/pkg/apis/velero/v1#VolumeSnapshotLocation[Volume Snapshot Location].
98
-
|===
99
-
100
-
link:https://pkg.go.dev/github.com/openshift/oadp-operator/api/v1alpha1#SnapshotLocation[Complete schema definitions for the type `SnapshotLocation`].
link:https://pkg.go.dev/github.com/openshift/oadp-operator/api/v1alpha1#ApplicationConfig[Complete schema definitions for the type `ApplicationConfig`].
Default and custom plugins are described in xref:../../backup_and_restore/application_backup_and_restore/oadp-features-plugins#oadp-features-plugins[OADP plugins]
136
-
137
-
|`restoreResourcesVersionPriority`
138
-
|link:https://pkg.go.dev/builtin#string[string]
139
-
|Represents a config map that is created if defined for use in conjunction with the `EnableAPIGroupVersions` feature flag. Defining this field automatically adds `EnableAPIGroupVersions` to the Velero server feature flag.
140
-
141
-
|`noDefaultBackupLocation`
142
-
|link:https://pkg.go.dev/builtin#bool[bool]
143
-
|To install Velero without a default backup storage location, you must set the `noDefaultBackupLocation` flag in order to confirm installation.
|Velero server’s log level (use `debug` for the most granular logging, leave unset for Velero default). Valid options are `trace`, `debug`, `info`, `warning`, `error`, `fatal`, and `panic`.
152
-
|===
153
-
154
-
link:https://pkg.go.dev/github.com/openshift/oadp-operator/api/v1alpha1#VeleroConfig[Complete schema definitions for the type `VeleroConfig`].
155
-
156
-
.CustomPlugin
157
-
[options="header"]
158
-
|===
159
-
|Property|Type|Description
160
-
161
-
|`name`
162
-
|link:https://pkg.go.dev/builtin#string[string]
163
-
|Name of custom plugin.
164
-
165
-
|`image`
166
-
|link:https://pkg.go.dev/builtin#string[string]
167
-
|Image of custom plugin.
168
-
|===
169
-
170
-
link:https://pkg.go.dev/github.com/openshift/oadp-operator/api/v1alpha1#CustomPlugin[Complete schema definitions for the type `CustomPlugin`].
171
-
172
-
.ResticConfig
173
-
[options="header"]
174
-
|===
175
-
|Property|Type|Description
176
-
177
-
|`enable`
178
-
|*link:https://pkg.go.dev/builtin#bool[bool]
179
-
|If set to `true`, enables backup and restore using Restic. If set to `false`, snapshots are needed.
180
-
181
-
|`supplementalGroups`
182
-
|[]link:https://pkg.go.dev/builtin#int64[int64]
183
-
|Defines the Linux groups to be applied to the `Restic` pod.
184
-
185
-
|`timeout`
186
-
|link:https://pkg.go.dev/builtin#string[string]
187
-
|A user-supplied duration string that defines the Restic timeout. Default value is `1hr` (1 hour). A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as `300ms`, -1.5h` or `2h45m`. Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`.
|Defines the `nodeSelector` to be supplied to a `Velero` `podSpec` or a `Restic` `podSpec`.
204
-
For more details, see xref:../../backup_and_restore/application_backup_and_restore/oadp-api.adoc#oadp-configuring-node-agents_oadp-api[Configuring node agents and node labels].
|Set specific resource `limits` and `requests` for a `Velero` pod or a `Restic` pod as described in xref:../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-aws.adoc#oadp-setting-resource-limits-and-requests_installing-oadp-aws[Setting Velero CPU and memory resource allocations].
link:https://pkg.go.dev/github.com/openshift/oadp-operator/api/v1alpha1#Features[Complete schema definitions for the type `Features`].
234
-
235
-
.DataMover
236
-
[options="header"]
237
-
|===
238
-
|Property|Type|Description
239
-
240
-
|`enable`
241
-
|link:https://pkg.go.dev/builtin#bool[bool]
242
-
|If set to `true`, deploys the volume snapshot mover controller and a modified CSI Data Mover plugin. If set to `false`, these are not deployed.
243
-
244
-
|`credentialName`
245
-
|link:https://pkg.go.dev/builtin#string[string]
246
-
|User-supplied Restic `Secret` name for Data Mover.
247
-
248
-
|`timeout`
249
-
|link:https://pkg.go.dev/builtin#string[string]
250
-
|A user-supplied duration string for `VolumeSnapshotBackup` and `VolumeSnapshotRestore` to complete. Default is `10m` (10 minutes). A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as `300ms`, -1.5h` or `2h45m`. Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`.
251
-
|===
252
-
253
-
The OADP API is more fully detailed in link:https://pkg.go.dev/github.com/openshift/oadp-operator[OADP Operator].
* link:https://pkg.go.dev/github.com/openshift/oadp-operator/api/v1alpha1#ApplicationConfig[Complete schema definitions for the type `ApplicationConfig`]
|Location to store volume snapshots, as described in link:https://pkg.go.dev/github.com/vmware-tanzu/velero/pkg/apis/velero/v1#BackupStorageLocation[Backup Storage Location].
|If set to `true`, deploys the volume snapshot mover controller and a modified CSI Data Mover plugin. If set to `false`, these are not deployed.
19
+
20
+
|`credentialName`
21
+
|link:https://pkg.go.dev/builtin#string[string]
22
+
|User-supplied Restic `Secret` name for Data Mover.
23
+
24
+
|`timeout`
25
+
|link:https://pkg.go.dev/builtin#string[string]
26
+
|A user-supplied duration string for `VolumeSnapshotBackup` and `VolumeSnapshotRestore` to complete. Default is `10m` (10 minutes). A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as `300ms`, -1.5h` or `2h45m`. Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`.
0 commit comments