How to restore a etcd snapshot? Do i need to do more than this cmd: ETCDCTL_API . . .

Samir:
How to restore a etcd snapshot? Do i need to do more than this cmd:

ETCDCTL_API=3 etcdctl --endpoints 10.2.0.9:2379 snapshot restore /Path/to/backup

Samir:
In the Solution video they are using data-dir flag and manipulating hostpath from etcd pod. Is there any documentation in kubernetes for that or do i need to remember that?

SaidBen:
I did not see any k8s doc but the method shown on the video works best for me

Mayur Sharma:
@Samir the use of data-dir is recommended so that the transition become smooth and you have no problem at all in restarting the etcd.
No document is there, remember it and use it if asked :slightly_smiling_face: