ETCD Backup
The ETCD component in a cluster is a distributed data store that holds cluster configuration. ETCD runs on all control nodes. Because all control nodes share the same configuration, backing up ETCD data from any one control node is sufficient.
A backup policy defines the data source (control plane node, backup path), backup destination, and backup method. Each run of the policy produces a new backup record, enabling on-demand or periodic automatic backups of the cluster configuration.
TOC
Notes
In rare edge cases, clusters with three control plane nodes may experience simultaneous failure of all three. To ensure full recovery in such scenarios, contact technical support.
Prerequisites
If you plan to store ETCD backups in external storage, prepare the connection information in advance. Currently, only S3-compatible object storage is supported, such as Amazon S3, MinIO, Tencent Cloud COS, and Alibaba Cloud OSS.
Basic Information
-
In the left navigation bar, click Clusters > Backup & recovery.
-
Switch to the Backup Manage tab.
-
Click Create Backup Policy and select ETCD Backup.
-
Enter Name and click Next.
Storage Configuration
-
Refer to the following instructions on the Storage Configuration page to configure the relevant parameters.
-
To create a backup repository, click Create.
Backup Method
Configure a time policy for backing up data.
-
Backup only once: A backup will be performed immediately after the policy is created. After configuring the Backup retention time, backup files exceeding the retention time will be automatically cleaned up by the system.
-
Scheduled backups: Set up scheduled backup rules to automatically execute backup policy to backup data periodically, support input Crontab expression. Hint: Click the input box to expand the platform's preset Backup Rule Templates, select a suitable template and simply modify it to quickly set up backup rules.
Related Operations
Run a backup policy manually
Manually run an existing policy (including those with schedules). Each run creates a new backup record.
- In the left navigation, click Clusters > Backup & recovery.
- Go to the Backup Manage tab.
- Click Perform Backup and confirm.