Use the following steps to take a snapshot dump of the etcd database:
mkdir “k8backupforDELLDR”
kubectl get pods -A -o wide
kubectl describe <etcd-pod> -n kube-system
cp -r /etc/kubernetes /k8backupforDELLDR
ETCDCTL_API=3 etcdctl --endpoints=https://<etcd-server-IP>:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key snapshot save /k8backupforDELLDR/etcd-snapshot.db
ETCDCTL_API=3 etcdctl --write-out=table snapshot status /k8backupforDELLDR/etcd-snapshot.db
Note: The certificates and the etcd snapshot are available in the k8backupforDELLDR directory. Follow the previous steps to back up the volume containing the directory using the PowerProtect Data Manager File System Agent for Linux or VM Image protection. View the volume on which the k8backupforDELLDR directory is mounted and run a file system backup on a specific volume asset or a VM image backup on a VM asset.