fix
parent
c4b83b9e62
commit
7bc191095c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue