MySQL - export large tables
1. Goal
2. Implementation
tmux new -s exporting
mysqldump -udevops -pxxxxxx -hhost.xxxx \
dbname table1 table2 table3 | pv | gzip -9 > 3tables.sql.gzLast updated
Exporting large tables of MySQL database with showing progress and compression output
tmux new -s exporting
mysqldump -udevops -pxxxxxx -hhost.xxxx \
dbname table1 table2 table3 | pv | gzip -9 > 3tables.sql.gzLast updated