export database with drush code example Example: drush sql-dump drush sql-dump --result-file=../18.sql