Projet

Général

Profil

Paste
Télécharger (382 octets) Statistiques
| Branche: | Révision:

root / bin / d6-all-dump-full.sh @ 95df3862

1 d52a5b2f jenselme
#!/bin/sh
2
3
. /users/guest/assos/bin/scripts-config.sh
4 5163fcf2 Julien Enselme
. /users/guest/assos/bin/scripts-utils.sh
5
6
help="ARG: database password"
7
8
check_arguments $# 1 "$help"
9 d52a5b2f jenselme
10
current_date=`date "+%Y-%m-%d-%Hh%Mm%Ss"`
11
12
# Dump D6 database with webassos user.
13 5163fcf2 Julien Enselme
mysqldump --single-transaction webassos -h myweb.serv.int -u webassos --password=$1 > $d6_dir_full_backup/webassos/$current_date.webassos.sql