How can I upload MySQL backups to Wasabi?
- 14 Dec 2023
- 1 Minute to read
- Print
- PDF
How can I upload MySQL backups to Wasabi?
- Updated on 14 Dec 2023
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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.