Create and import MySQL / MariaDB dump

Create a MySQL / MariaDB dump on command line

Import a dump into MySQL / MariaDB

Additional info

  1. When you create the dump the file db_backup.sql will be created in your current working directory. If you do not want to use your current directory make use of an absolute path.
  2. Importing the dump will take the file from the current working directory. If you do not want to use your current directory make use of an absolute path.

 

(172 Posts)

20 years of coding and working as software engineer but I am still eager to learn more. I am very passionate when it comes to open source, Linux and Java. But I made my peace with Windows long ago to fully enjoy my PC gaming hobby. I have a soft spot for 90s electronic music and Babylon 5. In the evenings you will find me roaming the endless space in Warframe (IGN k05h).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.