Fix: Misspelled variable

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-03-20 12:40:02 +01:00
parent 427e25f811
commit f909a3bab5
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -29,7 +29,7 @@ while [ 1 ]; do
# Create backup
for db_name in ${DATABASES}; do
TARGET_FILE="${TARGET_DIR}/${BACKUP_DATE}_${dbname}.sql"
TARGET_FILE="${TARGET_DIR}/${BACKUP_DATE}_${db_name}.sql"
step "Creating backup of ${db_name} in ${TARGET_FILE}..."
mysqldump \
-h "${MYSQL_HOST:-mariadb}" -u "${MYSQL_USER:-root}" -p${MYSQL_PASSWORD} \