mysql-parallel icon indicating copy to clipboard operation
mysql-parallel copied to clipboard

Go from .sql.gz

Open robcolburn opened this issue 10 years ago • 1 comments

Some hosting vendors provide DB backups in a .sql.gz format. It would be nice to know a copy-paste-able script to replace a DB. Ideally,

./awesome.sh ~/Downloads/backup.2015-05-21.sql.gz

Though, more practically maybe like:

gzcat ~/Downloads/backup.2015-05-21.sql.gz | ./mysqltransformp.py | ./mysqlrestorep.sh $creds

robcolburn avatar May 21 '15 23:05 robcolburn

:+1: , would commit code that does this.

deviantintegral avatar May 25 '15 18:05 deviantintegral