Closed (fixed)
Project:
Drush SQL Extras
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 May 2012 at 19:24 UTC
Updated:
1 Aug 2012 at 01:51 UTC
# ls -al sites/all/modules/custom/ | grep drush.inc
-rw-r--r-- 1 root root 10669 May 9 12:18 sql_bz_dump.drush.inc
-rw-r--r-- 1 root root 12415 May 9 12:04 sql_secure_dump.drush.inc
# drush help sql-secure-dump
Dumps a database and encrypts it using OpenSSL with DES3
Examples:
....
# drush sql-secure-dump --result-file=/tmp/sd2.sql
The drush command 'sql-secure-dump' could not be found.
# drush sql-dump --result-file=/tmp/sd.sql
Database dump saved to /tmp/sd.sql
# ls -alh /tmp | grep sql$
-rw-r--r-- 1 root root 882M May 9 12:17 sd.sql
Comments
Comment #1
Corwin commentedIf I copy sql_bz_dump.drush.inc and sql_secure_dump.drush.inc into my drush directory at /usr/share/drush/commands/sql/ both "drush help sql-secure-dump" and "drush sql-secure-dump" work. Due to our infrastructure I really need the drush.inc files to be checked into our site repository under sites/all/modules/custom.
Comment #2
perusio commentedThat's easy. Put it wherever you want it, and either:
drushrc.php:-i /path/to/drush_sql_extrasoption.Comment #3
13rac1 commentedThis is answered.