Skip to content

Instantly share code, notes, and snippets.

View boh717's full-sized avatar
👨‍💻
Coding

Alberto Coletta boh717

👨‍💻
Coding
View GitHub Profile
@boh717
boh717 / mysqldump.sh
Last active October 18, 2018 12:57 — forked from jakeasmith/mysqldump.sh
A quick snippet for doing a compressed mysql dump with a pv to monitor progress
# Add -h <host> -u <user> -p if needed
mysqldump --single-transaction --skip-lock-tables database [table1 table2 table3] | pv -W | gzip -c > [filename].sql.gz