Skip to content

Instantly share code, notes, and snippets.

@vdbelt
Created Jun 2, 2020
Embed
What would you like to do?
Mysql dump with ionice
ionice -c2 nice -n19 mysqldump --opt --single-transaction --quick --hex-blob --events --force --user=$MYSQLUSER -p $db | ionice -c2 nice -n19 gzip > sql_dump.sql.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment