Backing up an etcd cluster

The process of backing up an etcd cluster is straightforward, but there are multiple ways that you can approach this task:

  • Create a backup or snapshot of the storage disk for etcd. This is especially valid in cloud scenarios where you can easily manage backups outside your Kubernetes cluster.
  • Perform a manual snapshot of etcd using the etcdctl command. You need to manage the backup files yourself: upload them to external storage, and apply a retention policy.
  • Use Velero (formerly Heptio Ark (, which can perform snapshots, manage them in external storage, and restore them if needed. Additionally, it can be used to perform backups of persistent volumes using Restic integration ( ...

Get Hands-On Kubernetes on Windows now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.