Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go from .sql.gz #4

Open
robcolburn opened this issue May 21, 2015 · 1 comment
Open

Go from .sql.gz #4

robcolburn opened this issue May 21, 2015 · 1 comment

Comments

@robcolburn
Copy link

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
@deviantintegral
Copy link
Owner

👍 , would commit code that does this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants