How can I upload MySQL backups to Wasabi?

Wasabi can be used to support MySQL backups. You can use the following line of code to back-up any entity in mySQL

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

After that runs, save the output from stdout to a file:

mysqldump -u [user] [...] | gzip > mysql_backup.sql.gz


Then all you need to do is upload that file. Wasabi does support the Amazon CLI which can be handy for such uploads. You can learn how to set it up with Wasabi here .

Have more questions? Submit a request