This simple query will allow you to backup a MySQL database while compressing it with GZip.
$ mysqldump -u-h -p | gzip -9 > backup.sql.gz
This simple query will allow you to backup a MySQL database while compressing it with GZip.
$ mysqldump -u-h -p | gzip -9 > backup.sql.gz
Did you like it?
Don't forget to vote for this (only if it was helpful)