How can I upload MySQL backups to Wasabi?
    • 14 Dec 2023
    • 1 Minute to read
    • PDF

    How can I upload MySQL backups to Wasabi?

    • PDF

    Article summary

    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.


    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence