Backing up and Restoring with OADP Flashcards

(45 cards)

1
Q

What is the main purpose of the OpenShift API for Data Protection (OADP)?

A

To provide a native backup solution for applications that run on OpenShift.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the main components that OADP uses for backup?

A
  • Velero
  • Data Mover
  • Kopia
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does Velero do in the context of OADP?

A

It is the main upstream component that provides the backup API to users and uses plug-ins for extended capabilities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the function of the Data Mover feature in OADP?

A

It enables exporting snapshot content to object storage using Kopia and the CSI plug-in.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What type of backup does OADP use to back up Kubernetes resources?

A

OADP uses Velero to back up all Kubernetes resources to cloud object storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the recommended method for backing up volumes in OADP?

A
  1. cloud-native snapshot API or
  2. CSI snapshot API.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: OADP Data Mover ensures snapshot durability by storing snapshots in the same physical location as the original volume.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is required for OADP to store backups?

A

An object storage location.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

List some examples of object storage providers compatible with OADP.

A
  • AWS S3-compatible object storage
  • Amazon Web Services
  • Microsoft Azure
  • Google Cloud Platform
  • Multicloud Object Gateway
  • IBM Cloud Object Storage S3
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does OpenShift Data Foundation provide for object storage?

A
  • MultiCloud Object Gateway (NooBaa MCG)
  • Ceph RADOS Object Gateway (Ceph RGW)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the purpose of an Object Bucket Claim in OpenShift Data Foundation?

A

To request an S3-compatible bucket.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Fill in the blank: To use volume snapshots with CSI drivers, a ______ must be created to register the CSI driver.

A

volume snapshot class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What command is used to create a Velero secret for accessing object storage?

A

oc create secret generic cloud-credentials -n openshift-adp –from-file cloud=credentials-velero

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What type of backup does OADP support for storage classes that do not support snapshots?

A

File-system backup.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the role of the dataProtectionApplication resource in OADP?

A

It defines the configuration and components that the OADP operator manages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What must be done before creating the DataProtectionApplication object?

A

Create the Velero secret.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What does the snapshotLocations section in the DataProtectionApplication resource describe?

A

The storage configuration for volume snapshots when using the cloud provider native snapshot capability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is required for OADP to use a volume snapshot class with CSI drivers?

A

Add the label velero.io/csi-volumesnapshot-class: ‘true’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Outline the first three steps in the OADP backup process.

A
  1. Create a backup resource in the openshift-adp namespace.
  2. Velero exports all Kubernetes resources to the backup storage location.
  3. Velero creates a CSI snapshot of the application volume.
20
Q

What happens to volume snapshots and PVCs after the backup process completes?

A

Data Mover deletes all volume snapshots and PVCs created during the backup process.

21
Q

Outline the first three steps in the OADP restore process.

A
  1. Create a restore resource in the openshift-adp namespace.
  2. Velero imports Kubernetes resources from the backup storage location.
  3. Data Mover processes the restore.
22
Q

What creates a PVC from the volume snapshot during the backup process?

A

Data Mover creates a PVC from the volume snapshot

23
Q

Which tool does Data Mover use to transfer volume data to the backup storage location?

24
Q

What happens to volume snapshots and PVCs after the backup is complete?

A

Data Mover deletes all volume snapshots and the PVCs created during the backup process

25
What triggers the restore process in OADP?
The administrator creates a restore resource in the openshift-adp namespace
26
What does Velero do during the restore process?
Velero imports the Kubernetes resources from the backup storage location to the application namespace
27
What type of PVC does Data Mover create during the restore process?
A temporary PVC in the openshift-adp namespace
28
What must happen before the PVC can bind to the final PVC in the application namespace?
Data Mover must complete the restore
29
What is the apiVersion for a backup definition in OADP?
velero.io/v1
30
What is included in the backup definition's spec under includedNamespaces?
List of namespaces to back up
31
What does the ttl field in the backup spec define?
Time before the automatic deletion of the backup
32
What resources can be included in the backup according to the includedResources field?
* deployments * configmaps * secrets * services * routes
33
What command can be used to review the configuration and backup status?
oc describe command
34
What status indicates a backup process is currently running?
InProgress
35
What happens if the backup definition is incorrect?
The status changes to FailedValidation
36
What is the final status of a successfully completed backup?
Completed
37
What is the apiVersion for a restore definition in OADP?
velero.io/v1
38
What is the purpose of the namespaceMapping field in a restore definition?
To specify a different namespace for the restore
39
What resources are automatically excluded from the restore?
* nodes * events * events.events.k8s.io * backups.velero.io * restores.velero.io * resticrepositories.velero.io * csinodes.storage.k8s.io * volumeattachments.storage.k8s.io * backuprepositories.velero.io
40
What label does OADP add to resources during a restore?
velero.io/restore-name
41
What information does OADP store in object storage about backups and restores?
* logs * list of resources backed up or restored * summary of errors or warnings
42
What is stored in the /oadp/backups path in object storage?
All information about each backup, including backed-up Kubernetes resources and backup logs
43
What does the /docker/registry/v2 path contain?
A Docker registry with the container images included in all backups
44
True or False: A partially failed backup can still restore a project completely.
False
45
What happens to a backup with the Failed status?
It cannot be restored