Backup Export MySQL Database using mysqldump and compress gzip it


/ Published in: SQL
Save to your folder(s)

Backup/Export MySQL Database using mysqldump and compress/gzip it
------------------------------------------


Copy this code and paste it in your HTML
  1. 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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.