Skip to content

Commit 1377d70

Browse files
authored
Merge pull request #45926 from RichardHoch/cli_tool_2
OADP_476:Where to get Velero CLI tool [new PR]
2 parents e6b45cd + 5c0850d commit 1377d70

File tree

4 files changed

+69
-1
lines changed

4 files changed

+69
-1
lines changed

backup_and_restore/application_backup_and_restore/troubleshooting.adoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,20 @@ You can check xref:../../backup_and_restore/application_backup_and_restore/troub
1717

1818
You can collect logs, CR information, and Prometheus metric data by using the xref:../../backup_and_restore/application_backup_and_restore/troubleshooting.adoc#migration-using-must-gather_oadp-troubleshooting[`must-gather` tool].
1919

20+
You can obtain the Velero CLI tool by:
21+
22+
* Downloading the Velero CLI tool
23+
* Accessing the Velero binary in the Velero deployment in the cluster
24+
25+
include::modules/velero-obtaining-by-downloading.adoc[leveloffset=+1]
26+
include::modules/velero-obtaining-by-accessing-binary.adoc[leveloffset=+1]
27+
2028
include::modules/oadp-debugging-oc-cli.adoc[leveloffset=+1]
2129
include::modules/migration-debugging-velero-resources.adoc[leveloffset=+1]
2230

2331
include::modules/oadp-installation-issues.adoc[leveloffset=+1]
2432
include::modules/oadp-backup-restore-cr-issues.adoc[leveloffset=+1]
25-
include::modules/oadp-restic-issues.adoc[leveloffset=+1]
33+
include::modules/oadp-restic-issues.adoc[leveloffset=+12]
2634

2735
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
2836

modules/using-must-gather.adoc

Whitespace-only changes.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * backup_and_restore/application_backup_and_restore/troubleshooting.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="velero-obtaining-by-accessing-binary_{context}"]
7+
= Accessing the Velero binary in the Velero deployment in the cluster
8+
9+
You can use a shell command to access the Velero binary in the Velero deployment in the cluster.
10+
11+
.Prerequisites
12+
13+
* Your `DataProtectionApplication` custom resource has a status of `Reconcile complete`.
14+
15+
.Procedure
16+
17+
* Enter the following command to set the needed alias:
18+
+
19+
[source,terminal]
20+
----
21+
$ alias velero='oc -n openshift-adp exec deployment/velero -c velero -it -- ./velero'
22+
----
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * backup_and_restore/application_backup_and_restore/troubleshooting.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="velero-obtaining-by-downloading_{context}"]
7+
= Downloading the Velero CLI tool
8+
9+
You can download and install the Velero CLI tool by following the instructions on the link:https://velero.io/docs/v1.8/basic-install/#install-the-cli[Velero documentation page].
10+
11+
The page includes instructions for:
12+
13+
* macOS by using Homebrew
14+
* GitHub
15+
* Windows by using Chocolatey
16+
17+
.Prerequisites
18+
19+
* You have access to a Kubernetes cluster, v1.16 or later, with DNS and container networking enabled.
20+
* You have installed `kubectl` locally.
21+
22+
.Procedure
23+
24+
. Open a browser and navigate to link:https://velero.io/docs/v1.8/basic-install/#install-the-cli["Install the CLI" on the Verleo website].
25+
. Follow the appropriate procedure for macOS, GitHub, or Windows.
26+
. Download the Velero version appropriate for your version of OADP, according to the table that follows:
27+
+
28+
.OADP-Velero version relationship
29+
[cols="2", options="header"]
30+
|===
31+
|OADP version |Velero version
32+
|0.2.6 |1.6.0
33+
|0.5.5 |1.7.1
34+
|1.0.0 |1.7.1
35+
|1.0.1 |1.7.1
36+
|1.0.2 |1.7.1
37+
|1.0.3 |1.7.1
38+
|===

0 commit comments

Comments
 (0)