Created
          October 22, 2013 08:01 
        
      - 
      
- 
        Save steppefox/7096820 to your computer and use it in GitHub Desktop. 
    Snippet for the full dumping of your MySQL
  
        
  
    
      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
    
  
  
    
  | for dbname in `echo show databases| mysql -u user -ppass`; do | |
| echo "Dump $dbname..." | |
| mysqldump -u user -ppass $dbname > "$dbname.sql" | |
| done; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment