root / bin / d7-all-dump-full.sh @ 3aa14731
1 | d52a5b2f | jenselme | #!/bin/sh |
---|---|---|---|
2 | |||
3 | 06e9d071 | Assos Assos | . /home/assos/bin/scripts-config.sh |
4 | . /home/assos/bin/scripts-utils.sh |
||
5 | 5163fcf2 | Julien Enselme | |
6 | 8550e097 | Julien Enselme | current_date=$(date "+%Y-%m-%d-%Hh%Mm%Ss") |
7 | d52a5b2f | jenselme | |
8 | # Dump D7 databases at once. |
||
9 | 3e9236bd | Julien Enselme | mysqldump --defaults-extra-file="${myassos_cnf}" --all-databases | gzip > "${d7_dir_full_backup}/myassos/${current_date}.d7_full.sql.gz" |