mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-07-16 19:53:53 +03:00
Upgrade ansible-role-backup_borg (v1.4.4-2.1.6-1 -> v1.4.4-2.1.6-2) and wire via _auto variables
The new role version splits backup_borg_location_exclude_patterns into auto/custom components, following the existing split for backup_borg_location_source_directories. The playbook now wires its computed values into the _auto variables for both, so users can append their own entries via the _custom variables instead of redefining the whole lists and accidentally dropping playbook-provided values. Previously, redefining backup_borg_location_exclude_patterns dropped the postgres_data_path exclusion (making borg walk live Postgres data and fail with warning exit codes), and the playbook's own source_directories wiring made the role's _custom variable a no-op. Related to #5092 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3399,12 +3399,12 @@ backup_borg_postgresql_databases_password: "{{ postgres_connection_password if p
|
||||
backup_borg_postgresql_databases_port: "{{ postgres_connection_port if postgres_enabled else 5432 }}"
|
||||
backup_borg_postgresql_databases_auto: "{{ postgres_managed_databases | map(attribute='name') if postgres_enabled else [] }}"
|
||||
|
||||
backup_borg_location_source_directories:
|
||||
backup_borg_location_source_directories_auto:
|
||||
- "{{ matrix_base_data_path }}"
|
||||
|
||||
# local_thumbnails is deliberately NOT excluded: with dynamic_thumbnails disabled (Synapse's default),
|
||||
# nothing regenerates lost thumbnails, so the official Synapse backup guide recommends backing them up.
|
||||
backup_borg_location_exclude_patterns: |
|
||||
backup_borg_location_exclude_patterns_auto: |
|
||||
{{
|
||||
([matrix_synapse_media_store_path + '/remote_content', matrix_synapse_media_store_path + '/remote_thumbnail', matrix_synapse_media_store_path + '/url_cache', matrix_synapse_media_store_path + '/url_cache_thumbnails'] if matrix_homeserver_implementation == 'synapse' else [])
|
||||
+
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
version: v1.0.0-7
|
||||
name: auxiliary
|
||||
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-backup_borg.git
|
||||
version: v1.4.4-2.1.6-1
|
||||
version: v1.4.4-2.1.6-2
|
||||
name: backup_borg
|
||||
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-cinny.git
|
||||
version: v4.12.3-0
|
||||
|
||||
Reference in New Issue
Block a user