From d63ac458315d9ea8114a28d67e7b658d538eef68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Sun, 3 Dec 2017 12:39:12 +0100 Subject: [PATCH] use new helper to restore backup --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 4e97e3b..80fa5a7 100644 --- a/scripts/restore +++ b/scripts/restore @@ -21,7 +21,7 @@ db_pass=$(ynh_app_setting_get $app mysqlpwd) # Restore sources & data final_path=/var/www/$app -ynh_backup "www" "$final_path" +ynh_restore_file "$final_path" # Restore permissions sudo chown -R root:root $final_path