Skip to content

Instantly share code, notes, and snippets.

@iamstoick
Created October 26, 2017 04:59
Show Gist options
  • Select an option

  • Save iamstoick/a0e44ea4582aa5e4c7de7e521c08bff2 to your computer and use it in GitHub Desktop.

Select an option

Save iamstoick/a0e44ea4582aa5e4c7de7e521c08bff2 to your computer and use it in GitHub Desktop.
Refresh local database from backup in Drupal using Drush.
drush sql-drop -y && gunzip -c /path/to/file.sql.gz | drush sqlc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment