Hi, I ran the command to restore etcd and nothing happened. Any idea why? ``` E . . .

Muzakkir:
Hi, I ran the command to restore etcd and nothing happened. Any idea why?

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

I had taken the backup of the cluster with the command

$ etcdctl --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key snapshot save /opt/snapshot-pre-boot.db
{"level":"info","ts":1608214749.4854312,"caller":"snapshot/v3_snapshot.go:119","msg":"created temporary db file","path":"/opt/snapshot-pre-boot.db.part"}
{"level":"info","ts":"2020-12-17T14:19:09.509Z","caller":"clientv3/maintenance.go:200","msg":"opened snapshot stream; downloading"}
{"level":"info","ts":1608214749.5099797,"caller":"snapshot/v3_snapshot.go:127","msg":"fetching snapshot","endpoint":"127.0.0.1:2379"}
{"level":"info","ts":"2020-12-17T14:19:09.582Z","caller":"clientv3/maintenance.go:208","msg":"completed snapshot read; closing"}
{"level":"info","ts":1608214749.6091185,"caller":"snapshot/v3_snapshot.go:142","msg":"fetched snapshot","endpoint":"127.0.0.1:2379","size":"3.2 MB","took":0.123590731}
{"level":"info","ts":1608214749.6100295,"caller":"snapshot/v3_snapshot.go:152","msg":"saved","path":"/opt/snapshot-pre-boot.db"}

Here is the snapshot status

controlplane $ etcdctl snapshot status /opt/snapshot-pre-boot.db
b33349b8, 2672, 1254, 3.2 MB
controlplane $

George Lazaroff:
you need to make backup with certs and restore it with certs again