How to dump your sql database into a sql file
mysqldump -u username -p databasename &gt; filename.sql
Tags: sql, mariadb