This SOP should be followed in the following scenarios:
oc debug node/<node_name>
sh-4.2# chroot /host
sh-4.4# /usr/local/bin/cluster-backup.sh /home/core/assets/backup
core
and group core
chown -R core:core /home/core/assets/backup
ocp-ci-management
, become the Openshift service account, see the inventory hostvars for the host identified in the previous step and note the ocp_service_account
variable.ssh <host> sudo su - <ocp_service_account>
scp -i <ssh_key> core@<node_name>:/home/core/assets/backup/* ocp_backups/