root / bin / d6-all-dump-full.sh @ 95df3862
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 D6 database with webassos user. |
13 |
mysqldump --single-transaction webassos -h myweb.serv.int -u webassos --password=$1 > $d6_dir_full_backup/webassos/$current_date.webassos.sql |