Skip to content

Instantly share code, notes, and snippets.

@thelebster
Forked from szeidler/drush-sql-dump.sh
Created July 11, 2017 18:09
Show Gist options
  • Select an option

  • Save thelebster/296c6a1b07166dc306a99d1daa596340 to your computer and use it in GitHub Desktop.

Select an option

Save thelebster/296c6a1b07166dc306a99d1daa596340 to your computer and use it in GitHub Desktop.
drush sql-dump
drush sql-dump --structure-tables-list=ctools_object_cache,ctools_css_cache,cache,cache_field,cache_form,cache_filter,cache_menu,cache_page,cache_views,cache_views_data,history,sessions,watchdog > ~/backup/database/backup-20170303.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment