Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Drush create a db backup
# create a db backup
drush sql-dump | gzip > drupal_up_28_05_2018_2145.sql.gz
# import db backup
gunzip < drupal_up_28_05_2018_2145.sql.gz | drush sqlc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment