Skip to content

Commit 726edaa

Browse files
authored
Merge pull request #74658 from anarnold97/OADP-3904-fix-update-velero-commands
OADP-3904: fix and update the velero commands in openshift doc for [d…
2 parents 7f4231f + 25e78c5 commit 726edaa

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

modules/migration-debugging-velero-resources.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ $ oc -n {namespace} exec deployment/velero -c velero -- ./velero \
4242
--help
4343
----
4444

45+
4546
[discrete]
4647
[id="velero-describe-command_{context}"]
4748
== Describe command

modules/oadp-self-signed-certificate.adoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ You might want to use the Velero CLI without installing it locally on your syste
5656
----
5757
$ alias velero='oc -n openshift-adp exec deployment/velero -c velero -it -- ./velero'
5858
----
59+
5960
. Check that the alias is working by running the following command:
6061
+
6162
[source,terminal]
@@ -80,9 +81,18 @@ $ [[ -n $CA_CERT ]] && echo "$CA_CERT" | base64 -d | oc exec -n openshift-adp -i
8081
+
8182
[source,terminal]
8283
----
83-
$ velero -n openshift-adp describe backup <backup-name> --details --cacert /tmp/your-cacert.txt
84+
$ velero describe backup <backup_name> --details --cacert /tmp/<your_cacert>.txt
8485
----
86+
87+
. To fetch the backup logs, run the following command:
8588
+
89+
[source,terminal]
90+
----
91+
$ velero backup logs <backup_name> --cacert /tmp/<your_cacert.txt>
92+
----
93+
+
94+
You can use these logs to view failures and warnings for the resources that you cannot back up.
95+
8696
. If the Velero pod restarts, the `/tmp/your-cacert.txt` file disappears, and you must re-create the `/tmp/your-cacert.txt` file by re-running the commands from the previous step.
8797

8898
. You can check if the `/tmp/your-cacert.txt` file still exists, in the file location where you stored it, by running the following command:

0 commit comments

Comments
 (0)