diff --git a/minio backup.yml b/minio backup.yml index 0c85349..1fa3412 100644 --- a/minio backup.yml +++ b/minio backup.yml @@ -3,7 +3,7 @@ become: yes tasks: - name: Export data - command: "s3cmd sync --preserve --config {{ config }} s3://{{ item }} {{ backup_dir }}" + command: "s3cmd sync --preserve --config {{ config }} s3://{{ item }} {{ backup_dir }}/{{ item }}" loop: '{{ buckets }}' - name: Create tar archive command: >