Skip to content

Commit 251f6cf

Browse files
authored
Merge pull request #63079 from kowen-rh/ocpbugs-11614
OCPBUGS#11614: Note root permissions for etcd backup script
2 parents f38fd03 + 7db4e5a commit 251f6cf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/backup-etcd.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * disaster_recovery/backing-up-etcd.adoc
3+
// * backup_and_restore/control_plane_backup_and_restore/backing-up-etcd.adoc
44
// * post_installation_configuration/cluster-tasks.adoc
55

66
:_content-type: PROCEDURE
@@ -26,23 +26,23 @@ You can check whether the proxy is enabled by reviewing the output of `oc get pr
2626
2727
.Procedure
2828

29-
. Start a debug session for a control plane node:
29+
. Start a debug session as root for a control plane node:
3030
+
3131
[source,terminal]
3232
----
33-
$ oc debug node/<node_name>
33+
$ oc debug --as-root node/<node_name>
3434
----
3535

36-
. Change your root directory to `/host`:
36+
. Change your root directory to `/host` in the debug shell:
3737
+
3838
[source,terminal]
3939
----
40-
sh-4.2# chroot /host
40+
sh-4.4# chroot /host
4141
----
4242

4343
. If the cluster-wide proxy is enabled, be sure that you have exported the `NO_PROXY`, `HTTP_PROXY`, and `HTTPS_PROXY` environment variables.
4444

45-
. Run the `cluster-backup.sh` script and pass in the location to save the backup to.
45+
. Run the `cluster-backup.sh` script in the debug shell and pass in the location to save the backup to.
4646
+
4747
[TIP]
4848
====

0 commit comments

Comments
 (0)