Backing up and Restoring with OADP Flashcards
(45 cards)
What is the main purpose of the OpenShift API for Data Protection (OADP)?
To provide a native backup solution for applications that run on OpenShift.
What are the main components that OADP uses for backup?
- Velero
- Data Mover
- Kopia
What does Velero do in the context of OADP?
It is the main upstream component that provides the backup API to users and uses plug-ins for extended capabilities.
What is the function of the Data Mover feature in OADP?
It enables exporting snapshot content to object storage using Kopia and the CSI plug-in.
What type of backup does OADP use to back up Kubernetes resources?
OADP uses Velero to back up all Kubernetes resources to cloud object storage.
What is the recommended method for backing up volumes in OADP?
- cloud-native snapshot API or
- CSI snapshot API.
True or False: OADP Data Mover ensures snapshot durability by storing snapshots in the same physical location as the original volume.
False
What is required for OADP to store backups?
An object storage location.
List some examples of object storage providers compatible with OADP.
- AWS S3-compatible object storage
- Amazon Web Services
- Microsoft Azure
- Google Cloud Platform
- Multicloud Object Gateway
- IBM Cloud Object Storage S3
What does OpenShift Data Foundation provide for object storage?
- MultiCloud Object Gateway (NooBaa MCG)
- Ceph RADOS Object Gateway (Ceph RGW)
What is the purpose of an Object Bucket Claim in OpenShift Data Foundation?
To request an S3-compatible bucket.
Fill in the blank: To use volume snapshots with CSI drivers, a ______ must be created to register the CSI driver.
volume snapshot class
What command is used to create a Velero secret for accessing object storage?
oc create secret generic cloud-credentials -n openshift-adp –from-file cloud=credentials-velero
What type of backup does OADP support for storage classes that do not support snapshots?
File-system backup.
What is the role of the dataProtectionApplication resource in OADP?
It defines the configuration and components that the OADP operator manages.
What must be done before creating the DataProtectionApplication object?
Create the Velero secret.
What does the snapshotLocations section in the DataProtectionApplication resource describe?
The storage configuration for volume snapshots when using the cloud provider native snapshot capability.
What is required for OADP to use a volume snapshot class with CSI drivers?
Add the label velero.io/csi-volumesnapshot-class: ‘true’.
Outline the first three steps in the OADP backup process.
- Create a backup resource in the openshift-adp namespace.
- Velero exports all Kubernetes resources to the backup storage location.
- Velero creates a CSI snapshot of the application volume.
What happens to volume snapshots and PVCs after the backup process completes?
Data Mover deletes all volume snapshots and PVCs created during the backup process.
Outline the first three steps in the OADP restore process.
- Create a restore resource in the openshift-adp namespace.
- Velero imports Kubernetes resources from the backup storage location.
- Data Mover processes the restore.
What creates a PVC from the volume snapshot during the backup process?
Data Mover creates a PVC from the volume snapshot
Which tool does Data Mover use to transfer volume data to the backup storage location?
Kopia
What happens to volume snapshots and PVCs after the backup is complete?
Data Mover deletes all volume snapshots and the PVCs created during the backup process