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
* If the backup and snapshot locations use different credentials, you must create two `Secrets`:
23
23
24
24
**`Secret` with a custom name for the backup location. You add this `Secret` to the `DataProtectionApplication` CR.
@@ -299,51 +299,6 @@ spec:
299
299
<10> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
300
300
<11> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
301
301
endif::[]
302
-
ifdef::virt-installing-configuring-oadp[]
303
-
+
304
-
[source,yaml,subs="attributes+"]
305
-
----
306
-
apiVersion: oadp.openshift.io/v1alpha1
307
-
kind: DataProtectionApplication
308
-
metadata:
309
-
name: <dpa_sample>
310
-
namespace: openshift-adp
311
-
spec:
312
-
configuration:
313
-
velero:
314
-
defaultPlugins:
315
-
- kubevirt <1>
316
-
- gcp <2>
317
-
- csi <3>
318
-
- openshift <4>
319
-
resourceTimeout: 10m <5>
320
-
restic:
321
-
enable: true <6>
322
-
podConfig:
323
-
nodeSelector: <node_selector> <7>
324
-
backupLocations:
325
-
- velero:
326
-
provider: {provider} <8>
327
-
default: true
328
-
credential:
329
-
key: cloud
330
-
name: <default_secret> <9>
331
-
objectStorage:
332
-
bucket: <bucket_name> <10>
333
-
prefix: <prefix> <11>
334
-
----
335
-
<1> The `kubevirt` plugin is mandatory for {VirtProductName}.
336
-
<2> Specify the plugin for the backup provider, for example, `gcp`, if it exists.
337
-
<3> The `csi` plugin is mandatory for backing up PVs with CSI snapshots. The `csi` plugin uses the link:https://{velero-domain}/docs/main/csi/[Velero CSI beta snapshot APIs]. You do not need to configure a snapshot location.
338
-
<4> The `openshift` plugin is mandatory.
339
-
<5> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
340
-
<6> Set this value to `false` if you want to disable the Restic installation. Restic deploys a daemon set, which means that Restic pods run on each working node. In OADP version 1.2 and later, you can configure Restic for backups by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR. In OADP version 1.1, add `spec.defaultVolumesToRestic: true` to the `Backup` CR.
341
-
<7> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
342
-
<8> Specify the backup provider.
343
-
<9> Specify the correct default name for the `Secret`, for example, `cloud-credentials-gcp`, if you use a default plugin for the backup provider. If specifying a custom name, then the custom name is used for the backup location. If you do not specify a `Secret` name, the default name is used.
344
-
<10> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
345
-
<11> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
Back up and restore virtual machines by using the xref:../../backup_and_restore/index.adoc#application-backup-restore-operations-overview[OpenShift API for Data Protection (OADP)].
12
+
You can install the {oadp-first} with {VirtProductName} by installing the {oadp-short} Operator and configuring a backup location. Then, you can install the Data Protection Application.
12
13
13
-
.Prerequisites
14
+
Back up and restore virtual machines by using the xref:../../backup_and_restore/index.adoc#application-backup-restore-operations-overview[{oadp-full}].
14
15
15
-
* Access to the cluster as a user with the `cluster-admin` role.
16
-
// Non-admin user [https://issues.redhat.com/browse/OADP-203] is targeted for OADP 1.2.
16
+
[NOTE]
17
+
====
18
+
{oadp-full} with {VirtProductName} supports the following backup and restore storage options:
17
19
18
-
.Procedure
20
+
* Container Storage Interface (CSI) backups
19
21
20
-
. Install the xref:../../backup_and_restore/application_backup_and_restore/installing/about-installing-oadp.adoc#about-installing-oadp[OADP Operator] according to the instructions for your storage provider.
21
-
. Install the xref:../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc#oadp-installing-dpa_installing-oadp-ocs[Data Protection Application] with the `kubevirt` and `openshift` xref:../../backup_and_restore/application_backup_and_restore/oadp-features-plugins.adoc#oadp-plugins_oadp-features-plugins[plugins].
22
-
. Back up virtual machines by creating a xref:../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#backing-up-applications[`Backup` custom resource (CR)].
23
-
. Restore the `Backup` CR by creating a xref:../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/restoring-applications.adoc#restoring-applications[`Restore` CR].
22
+
* Container Storage Interface (CSI) backups with DataMover
23
+
24
+
The following storage options are excluded:
25
+
26
+
* File system backup and restore
27
+
28
+
* Volume snapshot backup and restore
29
+
30
+
For more information, see xref:../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/oadp-backing-up-applications-restic-doc.adoc#oadp-backing-up-applications-restic-doc[Backing up applications with File System Backup: Kopia or Restic].
31
+
====
32
+
To install the {oadp-short} Operator in a restricted network environment, you must first disable the default OperatorHub sources and mirror the Operator catalog. See xref:../../operators/admin/olm-restricted-networks.adoc#olm-restricted-networks[Using Operator Lifecycle Manager on restricted networks] for details.
0 commit comments