Document URL: https://docs.openshift.com/container-platform/4.4/backup_and_restore/backing-up-etcd.html Describe the issue: Need steps on verifying an etcd backup file. Suggestions for improvement: These commands should work for verifying the db file: https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/
This is fixed in the operator in 4.8: https://github.com/openshift/cluster-etcd-operator/blob/master/bindata/etcd/cluster-backup.sh#L119 The backport for 4.6 is forthcoming, and the backport for 4.7 is here: https://github.com/openshift/cluster-etcd-operator/pull/617 I'm opening a PR to update the command output and state that the script verifies the snapshot: https://github.com/openshift/openshift-docs/pull/33997 Robert, does this look ok to you? Ge Liu, will you PTAL?
Verified.
I've merged the change into 4.8 and am holding the changes to other branches until the etcd operator is updated.
The 4.7 PR for the etcd operator has merged. I don't see a PR for the 4.6 backport, so I've filed an issue: https://github.com/openshift/cluster-etcd-operator/issues/623
The change has been backported to 4.6 and the docs change is live, eg: https://docs.openshift.com/container-platform/4.8/backup_and_restore/backing-up-etcd.html