Replace docker rclone volumes with native cifs volumes

This commit is contained in:
Tobias Reisinger 2026-01-25 12:22:18 +01:00
parent 85568c8278
commit 635a0c4da8
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
12 changed files with 19 additions and 106 deletions

View file

@ -1,12 +0,0 @@
#!/usr/bin/env bash
backup_path="$1"
stage="$2"
if [ "$stage" == "before" ]; then
rclone mount --config /opt/services/backup/rclone.conf --daemon immich_upload: "$backup_path"
fi
if [ "$stage" == "after" ]; then
unmount "$backup_path"
fi

View file

@ -25,12 +25,6 @@
content: '{{ backup_yml_all | to_nice_yaml }}'
mode: "0644"
- name: Create rclone.conf
ansible.builtin.copy:
dest: "{{ (service_path, 'rclone.conf') | path_join }}"
content: '{{ vault_backup.rclone }}'
mode: "0600"
- name: Import tasks specific to the hooks scripts
ansible.builtin.import_tasks: hooks.yml
- name: Import tasks specific to the recovery scripts