etcd client
high risk
etcdctl snapshot save <file>Back up firstReads/writes etcd keys and manages snapshots/members.
| Flag | Meaning |
|---|---|
snapshot save | Back up |
snapshot restore | Restore⚠ Replaces cluster state. |
member list | Members |
del | Delete keys⚠ Direct deletion corrupts the cluster. |
--endpoints | Endpoints |
ETCDCTL_API=3 etcdctl snapshot save /backup/etcd.dbBack up etcd · explain & risk-check →etcdctl endpoint healthHealth · explain & risk-check →Reference text is hand-written and may be incomplete — check man etcdctl for your version. Test destructive commands on a non-production system first.