mirror of
https://github.com/luzifer-docker/mariadb-backup.git
synced 2024-12-20 18:21:16 +00:00
Fix: Misspelled variable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
427e25f811
commit
f909a3bab5
1 changed files with 1 additions and 1 deletions
|
@ -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} \
|
||||
|
|
Loading…
Reference in a new issue