Last active
June 13, 2019 07:13
-
-
Save QuentinFonteneau/fe41523441d69aab680e4199ba08f62c to your computer and use it in GitHub Desktop.
Drush export/import database
This file contains hidden or 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
drush sql-dump --gzip --result-file=../backup/dump_db_$(date +%Y%m%d-%H%M%S).sql.gz | |
gunzip -c dump.sql.gz | drush sqlc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment