Created
July 16, 2015 18:36
-
-
Save keopx/c7ecd3b70d9672564f5a to your computer and use it in GitHub Desktop.
Import gzipped sql using Drush
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gunzip -c database.sql.gz | drush sqlc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zcat seems to be the right solution.
I used to use this method :
gunzip < /path/to/file.sql.gz | drush sql-cli --database=default