Created
          May 30, 2017 19:22 
        
      - 
      
 - 
        
Save Wylbur/75d3f41fd7f6e41623bd50eb83fa0627 to your computer and use it in GitHub Desktop.  
    Drush 8 backup with sql-dump
  
        
  
    
      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
    
  
  
    
  | //This will create a compressed database backup with empty cache and sessions tables. | |
| drush -v sql-dump --gzip --result-file=/something --structure-tables-list=cache,cache_*,sessions > file.sql | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment