From 3b473dcaa0dced0be12d8e5d27a1196dc6f1372f Mon Sep 17 00:00:00 2001 From: Limezy Date: Sat, 13 Nov 2021 14:32:14 +0700 Subject: [PATCH] Update restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index c287cdf..203e9ea 100755 --- a/scripts/restore +++ b/scripts/restore @@ -99,7 +99,7 @@ chown -R minio:www-data "$mc_path/outlinestorage" pushd "$mc_path" ynh_exec_warn_less sudo -u minio ./mc mb minio/outlinestorage --region "fr-ynh-1" ynh_exec_warn_less sudo -u minio ./mc policy set public minio/outlinestorage - ynh_exec_warn_less sudo -u minio ./mc mirror --remove --a ./outlinestorage/ minio/outlinestorage + ynh_exec_warn_less sudo -u minio ./mc mirror --a ./outlinestorage/ minio/outlinestorage popd ynh_secure_remove --file="$mc_path/outlinestorage"