feat-backup-targets #1

Merged
av merged 8 commits from feat-backup-targets into master 2025-12-20 08:24:16 +00:00
2 changed files with 10 additions and 4 deletions
Showing only changes of commit 91c5eab236 - Show all commits

View File

@@ -23,7 +23,3 @@ models:
undo:
type: sqlite
path: "{{ (data_dir, 'gramps_db/59a0f3d6-1c3d-4410-8c1d-1c9c6689659f/undo.db') | path_join }}"
archive:
includes:
- "{{ data_dir }}"
- "{{ media_dir }}"

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"