# Encrypted MySQL backups

Weap.io allows you to encrypt your MySQL backups using asymmetric encryption.

### 1. Generate an encryption key

First of all, you have to generate an encryption key. If you already have an encryption key, you can skip this step. In order to see how to generate an encryption key, check [this guide](/encryption-keys/how-to-generate-an-encryption-key.md).

### 2. Enable the encryption

Open the Weap.io dashboard and select the MySQL database you want to encrypt. Once selected, hover the mouse on its name and choose the option **`Configure backups encryption`**.

![](/files/-MRP7pft_5MXZ9_SbFsU)

On the modal just opened, check the **`Enable encryption`** checkbox and select the encryption key that should be used. As a last step, click the button **`Enable encryption`**.

![](/files/-MRPE7Cze2b2zxwHzH_W)

From now on, all the future backups of the selected database will be encrypted with the selected encryption key.


---

# 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.weap.io/database-backups/mysql-backups/encrypted-mysql-backups.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.
