Hi All,
I attempted CKA certification and there was a question to restore from existing backup.
I used these commands
export ETCDCTL_API=3
sudo etcdctl --data-dir /var/lib/etcdbkup snapshot restore snapshot.db
and modified etcd manifest file as below but etcd pod did not come up
- hostPath:
path: /var/lib/etcdbkup
type: DirectoryOrCreate
name: etcd-data
I did not get good time to investigate it further. Any idea what could have gone wrong here as it was a straight forward question to me !
Thanks,
Hari