Browse Source

uses DB_NAME for sql backup dump

test
Jean-Christophe Vanhalle 2 years ago
parent
commit
5e1f6753f9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      backup.sh

+ 1
- 1
backup.sh View File

@@ -29,4 +29,4 @@ docker exec "${PREFIX}-db" \
/usr/bin/mysqldump \
-u root \
--password="${DB_ROOT_PASSWORD}" \
"${DB_NAME}" > "${backup_path}/db/dump.sql"
"${DB_NAME}" > "${backup_path}/db/${DB_NAME}.sql"

Loading…
Cancel
Save