1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

Update restore

This commit is contained in:
Limezy 2021-11-13 14:32:14 +07:00
parent 4d90b07b04
commit 3b473dcaa0

View file

@ -99,7 +99,7 @@ chown -R minio:www-data "$mc_path/outlinestorage"
pushd "$mc_path" 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 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 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 popd
ynh_secure_remove --file="$mc_path/outlinestorage" ynh_secure_remove --file="$mc_path/outlinestorage"