Skip to content

Instantly share code, notes, and snippets.

@thelebster
Forked from szeidler/drush-sql-dump.sh
Created October 22, 2016 05:33
Show Gist options
  • Select an option

  • Save thelebster/4a94729047b44d382819eef817f292fa to your computer and use it in GitHub Desktop.

Select an option

Save thelebster/4a94729047b44d382819eef817f292fa to your computer and use it in GitHub Desktop.
#!/bin/bash
drush sql-dump --gzip --result-file=backup-xxxx.sql.gz --structure-tables-list=cache,cache_*,cache_filter,cache_form,cache_menu,cache_page,history,sessions,watchdog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment