Use drush sql dump to dump the database to the file system.


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. drush sql dump > /path/to/BACKUPS/site_name-$(date +%Y-%m-%d-%H.%M.%S).sql

URL: http://drupal.org/node/496712#comment-1781316

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.