# etcd Backup

PMK is able to backup your Etcd key value store to help recover from unplanned cluster outages. To configure Etcd backup for a cluster, you need to first enable Etcd backup capability for that cluster during cluster creation process

### Configure Etcd Backup During Cluster Creation

* Start the cluster creation wizard for BareOS or AWS.
* Configure the Master nodes based on your cluster requirements and click `next`.
* Configure the Worker nodes based on your workloads requirements and click `next`.
* Setup the network configuration for the cluster and click `next`.
* The advanced configuration step is where **Etcd Backup** is configured. On the screen ensure the `Enable Etcd Backup` checkbox is checked. Platform9 will pre-populate the backup location and set the backup interval, to override the default configuration set the Storage Path and Backup Interval in the wizard

Once set click `next` and complete the cluster creation.

Once the cluster has been provisioned Etcd Backups will be written to the specified location at the specified interval.

### Enable/Disable and Edit Etcd Backup

If you have existing clusters without Etcd Backup or would like to edit an existing Etcd Backup configuration follow the steps below.

* Navigate to the Infrastructure screen, select a cluster in the clusters table and click the `edit` button within the table toolbar.
* On the Edit Cluster page you can enable or disable Etcd Backup, update the storage path and change the Backup Interval. If Etcd Backup isn’t enabled check the `Enable Etcd Backup` this will reveal the Storage Path and Backup Interval fields.
* Set the desired parameters for Storage Path and Backup Interval

Once the desired settings are in place click the `Update Cluster` button.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.platform9.com/managed-kubernetes/clusters/etcd/etcd-configure-backup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
