pull/39/head
Cédric Bonhomme 2017-09-27 09:07:27 +02:00
parent c4b83b9e62
commit 7bc191095c
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 2 additions and 2 deletions

View File

@ -12,11 +12,11 @@
# #
# #
CLIENT=$0 CLIENT=$1
MYSQL_CREDENTIALS='/var/www/'$CLIENT'/credentialsmysql.cnf' MYSQL_CREDENTIALS='/var/www/'$CLIENT'/credentialsmysql.cnf'
BACKUP_DIR='/var/www/'$CLIENT'/backup/' BACKUP_DIR='/var/www/'$CLIENT'/backup/'
BACKUP_DIR=$BACKUP_DIR$(date +"%Y%m%d_%H%M%S") BACKUP_DIR=$BACKUP_DIR$(date +"%Y%m%d_%H%M%S")
PUCLIC_KEY=$1 PUCLIC_KEY=$2
if [ -e $MYSQL_CREDENTIALS ]; then if [ -e $MYSQL_CREDENTIALS ]; then
mkdir $BACKUP_DIR mkdir $BACKUP_DIR