From a903eff28116e07be648c606950ac4c702d9b071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Fri, 11 Aug 2017 11:05:29 +0200 Subject: [PATCH] fix: bad path for the MySQL credentials (for the backup before the upgrade). --- scripts/update-all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update-all.sh b/scripts/update-all.sh index ae7a2f8..6d0736c 100755 --- a/scripts/update-all.sh +++ b/scripts/update-all.sh @@ -120,8 +120,8 @@ if [[ $bypass -eq 0 ]]; then backupdir=data/backup/$(date +"%Y%m%d_%H%M%S") mkdir $backupdir echo -e "\e[32mDumping database to $backupdir...\e[0m" - mysqldump --defaults-file=data/dbcredentials/credentialsmysql.cnf --databases monarc_common > $backupdir/dump-common.sql - mysqldump --defaults-file=data/dbcredentials/credentialsmysql.cnf --databases monarc_cli > $backupdir/dump-cli.sql + mysqldump --defaults-file=data/backup/credentialsmysql.cnf --databases monarc_common > $backupdir/dump-common.sql + mysqldump --defaults-file=data/backup/credentialsmysql.cnf --databases monarc_cli > $backupdir/dump-cli.sql else echo -e "\e[93mDatabase backup not configured. Skipping.\e[0m" fi