Restore Etcd
CommunityEnterpriseTo restore Kubernetes etcd, you must restore the etcd snapshot from a previous backup and place it in a local directory.
You need to mark the file: @kubernetes/namespaces/<etcd-namespace>/etcd/snaposhot-<day>-<month>-<year>.db.
For detailed instructions on performing a local restore, refer to Restore to Local Directory.
Once the restore is complete, transfer the restored snapshot to the master node in your Kubernetes cluster. The exact steps depend on your Kubernetes distribution, so consult the official documentation for your distribution.
We have provided a straightforward example using RKE2 in Restore Etcd in RKE2 Example.
See also
Next articles:
Go back to: Restore.