Password quotes
This commit is contained in:
parent
d976dd9ba8
commit
583c5d5211
|
@ -391,7 +391,7 @@ function backup_database_remote {
|
|||
mkdir -p ${local_database_dir}
|
||||
fi
|
||||
echo "Obtaining ${1} database backup"
|
||||
mysqldump --password=$DATABASE_PASSWORD ${1} > ${local_database_dir}/${1}.sql
|
||||
mysqldump --password="$DATABASE_PASSWORD" ${1} > ${local_database_dir}/${1}.sql
|
||||
if [ -f ${local_database_dir}/${1}.sql ]; then
|
||||
if [ ! -s ${local_database_dir}/${1}.sql ]; then
|
||||
echo $"${1} database could not be saved"
|
||||
|
|
Loading…
Reference in New Issue