---
title: "MySQL Backups: Uploading to Wasabi"
slug: "how-can-i-upload-mysql-backups-to-wasabi"
updated: 2026-02-09T19:37:17Z
published: 2026-02-09T19:37:17Z
canonical: "docs.wasabi.com/how-can-i-upload-mysql-backups-to-wasabi"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wasabi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MySQL Backups: Uploading to Wasabi

Wasabi supports MySQL backups.

1. You can use the following code to back up any entity in mySQL.

```powershell
mysqldump -u [user] \
                 -p [password] \
                 -h [host] \
                 --single-transaction \
                 --routines --triggers \
                 --all-databases

    
```
2. After the script runs, save the output from stdout to a file:

```powershell
mysqldump -u [user] [...] | gzip > mysql_backup.sql.gz
```
3. Upload the file.

Wasabi supports the Amazon CLI, which can be used for such uploads. To set it up, refer to [AWS CLI With Wasabi](https://docs.wasabi.com/docs/how-do-i-use-aws-cli-with-wasabi).
