fixup! Add a kopia_backup role for the daily Kopia snapshot script and timer against an existing S3 repository

This commit is contained in:
2026-10-07 20:57:59 +00:00
parent af50b5a820
commit e47fe98ea0
+3 -2
View File
@@ -54,14 +54,15 @@
- s3
- --endpoint={{ kopia_backup.endpoint }}
- --bucket={{ kopia_backup.bucket }}
- --access-key={{ kopia_backup.access_key }}
- --secret-access-key={{ kopia_backup.secret_key }}
- --override-hostname={{ kopia_backup.hostname }}
- --override-username=root
cache:
- --content-cache-size-mb={{ kopia_backup.content_cache_size_mb }}
- --metadata-cache-size-mb={{ kopia_backup.metadata_cache_size_mb }}
# Secrets through the environment, flags would show them in the process list
environment:
AWS_ACCESS_KEY_ID: "{{ kopia_backup.access_key }}"
AWS_SECRET_ACCESS_KEY: "{{ kopia_backup.secret_key }}"
KOPIA_PASSWORD: "{{ kopia_backup.password }}"
KOPIA_CHECK_FOR_UPDATES: "false"
when: kopia_backup_status.rc != 0