``` 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:

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 ?

you also need to pass certificates

tell me if u need exact commands

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.