/ Published in: SQL
![](/img/icon_sav.png?v3)
Backup/Export MySQL Database using mysqldump and compress/gzip it
------------------------------------------
------------------------------------------
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mysqldump --user=username --password=password --opt --add-drop-database --databases databasename > ~/path/to/file.sql | gzip > ~/path/to/file.tar.gz
URL: http://seniorwebdesigner.com
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)