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


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.