How to restore a dump
cmonty14 opened this issue · 1 comments
cmonty14 commented
Could you please include the instructions for restoring a dump in your docu?
This is not trivial if not looking into the script code of mariabackup.
JGroselle commented
My script just gzip dump files. So you have two ways to restore:
gunzip dump.sql.gz
mysql $database < dump.sql
Or one liner:
gunzip < dump.sql.gz | mysql $database
This is standard command. It is not part of my script.