Révision 4127f213
Ajouté par Julien Enselme il y a plus de 10 ans
bin/d7-all-dump-individual.sh | ||
---|---|---|
15 | 15 |
cd $dir |
16 | 16 |
drush cc all |
17 | 17 |
if [ $1 = 'auto' ] ; then |
18 |
drush sql-dump --result-file="$d7_dir_individual_auto_backup/$dir/$current_date.$dir.sql"
|
|
18 |
drush sql-dump | gzip > $d7_dir_individual_auto_backup/$dir/$current_date.$dir.sql
|
|
19 | 19 |
else |
20 |
drush sql-dump --result-file="$d7_dir_individual_manual_backup/$dir/$current_date.$dir.sql"
|
|
20 |
drush sql-dump | gzip > $d7_dir_individual_manual_backup/$dir/$current_date.$dir.sql
|
|
21 | 21 |
fi |
22 | 22 |
cd - |
23 | 23 |
done |
Formats disponibles : Unified diff
Enable compression on database dump for #223.