MySQL / MariaDB backup and restore
Posted on August 03, 2015
- and tagged as
- sql
Quick snippet for manually backing up and restoring a MySQL / MariaDB database.
Backup mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql
Restore mysql -u root -p[root_password] [database_name] < dumpfilename.sql