Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Unverified Commit 63c3be02 authored by Idriss's avatar Idriss
Browse files

Fix: start from 1

parent 90ece354
No related branches found
No related tags found
No related merge requests found
...@@ -62,8 +62,8 @@ apply_bucket_backup() { ...@@ -62,8 +62,8 @@ apply_bucket_backup() {
bucket_name="${!var_bucket_name}" bucket_name="${!var_bucket_name}"
dest="cmw${suffix//_}" dest="cmw${suffix//_}"
echo "[apply_bucket_backup] suffix=${suffix} endpoint=${endpoint} bucket_name=${bucket_name} dest=${dest}"
if [[ $endpoint && $access_key && $secret_key ]]; then if [[ $endpoint && $access_key && $secret_key ]]; then
echo "[apply_bucket_backup] endpoint=${endpoint} bucket_name=${bucket_name} dest=${dest}"
bucket_backup "${endpoint}" "${access_key}" "${secret_key}" "${dest}" "${bucket_name}" bucket_backup "${endpoint}" "${access_key}" "${secret_key}" "${dest}" "${bucket_name}"
return 0 return 0
fi fi
...@@ -72,7 +72,7 @@ apply_bucket_backup() { ...@@ -72,7 +72,7 @@ apply_bucket_backup() {
} }
apply_bucket_backup "" apply_bucket_backup ""
i=0 i=1
while true; do while true; do
if ! apply_bucket_backup "_${i}"; then if ! apply_bucket_backup "_${i}"; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment