From 4d3635b8f5e9d6b7b6dfaa592f5d54c93f46f9b9 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Sun, 8 Jul 2018 09:18:01 +0200 Subject: [PATCH] Review fixes --- scripts/backup | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/backup b/scripts/backup index 884ac2f..634b63d 100755 --- a/scripts/backup +++ b/scripts/backup @@ -58,7 +58,7 @@ ynh_backup "/etc/php5/fpm/conf.d/20-$app.ini" # BACKUP THE POSTGRESQL DATABASE #================================================= -ynh_psql_dump_db "$db_name" > /db.sql +ynh_psql_dump_db "$db_name" > db.sql #================================================= # SPECIFIC BACKUP diff --git a/scripts/restore b/scripts/restore index 6bf31b4..920199d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -33,7 +33,7 @@ domain=$(ynh_app_setting_get $app domain) path_url=$(ynh_app_setting_get $app path) final_path=$(ynh_app_setting_get $app final_path) db_name=$(ynh_app_setting_get $app db_name) -db_name=$(ynh_app_setting_get $app db_pwd) +db_pwd=$(ynh_app_setting_get $app db_pwd) #================================================= # CHECK IF THE APP CAN BE RESTORED