Skip to content

Instantly share code, notes, and snippets.

@handrus
Last active April 17, 2016 23:08
Show Gist options
  • Save handrus/a1355fafeb5d5a44cb74 to your computer and use it in GitHub Desktop.
Save handrus/a1355fafeb5d5a44cb74 to your computer and use it in GitHub Desktop.
Restore mysql db from .gz file with progress bar
pv mydump.sql.gz | gunzip | mysql -u User -p database_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment