``` ETCDCTL_API=3 etcdctl --data-dir /var/lib/etcd-from-backup \ snapshot . . .

Hải Đông:

ETCDCTL_API=3 etcdctl  --data-dir /var/lib/etcd-from-backup \
     snapshot restore /opt/snapshot-pre-boot.db

this command doesnot pass the question restore cluster in CKA lab. anyone has solution ?

Jees Antony:
https://github.com/mmumshad/kubernetes-cka-practice-test-solution-etcd-backup-and-restore

Hải Đông:
the hint forward to this link: https://github.com/mmumshad/kubernetes-the-hard-way/blob/master/practice-questions-answers/cluster-maintenance/backup-etcd/etcd-backup-and-restore.md It has a little bit different but cant work. which link should i use ?

Satyawan:
you also need to pass certificates

Satyawan:
tell me if u need exact commands

AB:
It will only work if you got single master node cluster. I believe KK got multiple master node like HA environment. i was confused as well. Stick with solution video. i believe it will help us in long run.