Hello folks, is the --data-dir flag mandatory while performing an etcd snapshot . . .

Nikhil Keni:
Hello folks, is the --data-dir flag mandatory while performing an etcd snapshot restore - from a file location, already present? I performed a restore without that “–data-dir” flag set, and the restore still completed successfully…

unnivkn:
Hi @Nikhil Keni If you like to restore to a specific location, then --data-dir is needed, else you can ignore it & it will restore the data to the default location.

Lisenet:
It is not mandatory, no.