root / bin / d7-all-dump-full.sh @ 5185f38b
1 |
#!/bin/sh |
---|---|
2 |
|
3 |
. /users/guest/assos/bin/scripts-config.sh |
4 |
. /users/guest/assos/bin/scripts-utils.sh |
5 |
|
6 |
help="ARG: database password" |
7 |
|
8 |
check_arguments $# 1 "$help" |
9 |
|
10 |
current_date=`date "+%Y-%m-%d-%Hh%Mm%Ss"` |
11 |
|
12 |
# Dump D7 databases at once. |
13 |
mysqldump -h $db_server -u $db_user -p$1 --all-databases > $d7_dir_full_backup/myassos/$current_date.d7_full.sql |