Configure baclup for sqlite databases
This commit is contained in:
parent
76328bf6c6
commit
d1eae9b5b5
@ -10,6 +10,16 @@ models:
|
||||
type: 'local'
|
||||
path: '{{ (backup_directory, "gramps") | path_join }}'
|
||||
keep: 2
|
||||
databases:
|
||||
users:
|
||||
type: sqlite
|
||||
path: /home/major/applications/gramps/data/gramps_users/users.sqlite
|
||||
sqlite:
|
||||
type: sqlite
|
||||
path: /home/major/applications/gramps/data/gramps_db/59a0f3d6-1c3d-4410-8c1d-1c9c6689659f/sqlite.db
|
||||
undo:
|
||||
type: sqlite
|
||||
path: /home/major/applications/gramps/data/gramps_db/59a0f3d6-1c3d-4410-8c1d-1c9c6689659f/undo.db
|
||||
archive:
|
||||
includes:
|
||||
- /home/major/applications/gramps/data
|
||||
|
@ -38,11 +38,11 @@
|
||||
group: root
|
||||
mode: '0700'
|
||||
|
||||
# - name: "Creates a cron file for backups under /etc/cron.d"
|
||||
# ansible.builtin.cron:
|
||||
# name: restic backup
|
||||
# minute: "0"
|
||||
# hour: "2"
|
||||
# user: "root"
|
||||
# job: "systemd-cat {{ bin_prefix }}/restic-backup.sh"
|
||||
# cron_file: ansible_restic_backup
|
||||
- name: "Creates a cron file for backups under /etc/cron.d"
|
||||
ansible.builtin.cron:
|
||||
name: restic backup
|
||||
minute: "0"
|
||||
hour: "0"
|
||||
user: "root"
|
||||
job: "systemd-cat {{ bin_prefix }}/restic-backup.sh"
|
||||
cron_file: ansible_restic_backup
|
||||
|
@ -9,7 +9,7 @@
|
||||
# See: https://github.com/zyedidia/eget/releases
|
||||
|
||||
vars:
|
||||
eget_install_dir: '/usr/local/bin'
|
||||
eget_install_dir: '{{ bin_prefix }}'
|
||||
eget_bin_path: '{{ (eget_install_dir, "eget") | path_join }}'
|
||||
|
||||
tasks:
|
||||
|
@ -16,6 +16,8 @@
|
||||
- jq
|
||||
- make
|
||||
- python3-pip
|
||||
- sqlite3
|
||||
- tree
|
||||
|
||||
tasks:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user