Gramps: exclude media files from gobackup

Backup media files with backup-targets
This commit is contained in:
2025-12-20 11:04:50 +03:00
parent ca7f089fe6
commit 91c5eab236
2 changed files with 10 additions and 4 deletions

View File

@@ -57,6 +57,16 @@
group: "{{ app_user }}"
mode: "0750"
- name: "Create backup targets file"
ansible.builtin.lineinfile:
path: "{{ base_dir }}/backup-targets"
line: "{{ item }}"
create: true
loop:
- "{{ data_dir }}"
- "{{ media_dir }}"
- "{{ backups_dir }}"
- name: "Copy rename script"
ansible.builtin.copy:
src: "files/{{ app_name }}/gramps_rename.py"