From 66c394e0bce7e5575f8897c8c04a2cfc60c2e5fc Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 5 Feb 2019 22:11:04 +0100 Subject: [PATCH] Fix db_name for restoration --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 28c0e85..f4841b7 100644 --- a/scripts/restore +++ b/scripts/restore @@ -94,7 +94,7 @@ ynh_install_app_dependencies "mongodb mongodb-server" # Start mogodb systemctl enable mongodb systemctl start mongodb -mongorestore --db $db_name ./dump/$app +mongorestore --db $db_name ./dump/$db_name #================================================= # RESTORE SYSTEMD