File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
backup_and_restore/application_backup_and_restore/backing_up_and_restoring Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,8 @@ include::modules/oadp-using-data-mover-for-csi-snapshots.adoc[leveloffset=+1]
33
33
34
34
include::modules/oadp-creating-backup-hooks.adoc[leveloffset=+1]
35
35
include::modules/oadp-scheduling-backups.adoc[leveloffset=+1]
36
+ include::modules/oadp-deleting-backups.adoc[leveloffset=+1]
37
+
38
+ [role="_additional-resources"]
39
+ .Additional resources
40
+ * xref:../../../backup_and_restore/application_backup_and_restore/troubleshooting.adoc#velero-obtaining-by-downloading_oadp-troubleshooting[Downloading the Velero CLI tool]
Original file line number Diff line number Diff line change
1
+ // Module included in the following assemblies:
2
+ //
3
+ // * backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc
4
+
5
+ :_content-type: PROCEDURE
6
+ [id="oadp-deleting-backups_{context} "]
7
+ = Deleting backups
8
+
9
+ You can remove backup files by deleting the `Backup` custom resource (CR).
10
+
11
+ [WARNING]
12
+ ====
13
+ After you delete the `Backup` CR and the associated object storage data, you cannot recover the deleted data.
14
+ ====
15
+
16
+ .Prerequisites
17
+
18
+ * You created a `Backup` CR.
19
+ * You know the name of the `Backup` CR and the namespace that contains it.
20
+ * You downloaded the Velero CLI tool.
21
+ * You can access the Velero binary in your cluster.
22
+
23
+ .Procedure
24
+
25
+ * Choose one of the following actions to delete the `Backup` CR:
26
+
27
+ ** To delete the `Backup` CR and keep the associated object storage data, issue the following command:
28
+ +
29
+ [source,terminal]
30
+ ----
31
+ $ oc delete backup <backup _CR_name > -n <velero _namespace >
32
+ ----
33
+
34
+ ** To delete the `Backup` CR and delete the associated object storage data, issue the following command:
35
+ +
36
+ [source,terminal]
37
+ ----
38
+ $ velero backup delete <backup _CR_name > -n <velero _namespace >
39
+ ----
40
+ +
41
+ Where:
42
+ +
43
+ <backup _CR_name >:: Specifies the name of the `Backup` custom resource.
44
+ <velero _namespace >:: Specifies the namespace that contains the `Backup` custom resource.
You can’t perform that action at this time.
0 commit comments