mirror of
https://github.com/roles-ansible/ansible_role_restic_archiver.git
synced 2024-08-16 10:09:49 +02:00
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
---
|
|
# which repos should we cleanup by default
|
|
restic_archiver__repos: {}
|
|
# - name: example_server:
|
|
# location: /srv/restic/example_server_repo
|
|
# password: securepassword4eXaMpleSserver
|
|
# - name: other_server
|
|
# location: /srv/restic/other_server_repo
|
|
# password: xtrasecuredifferentpassword4other
|
|
# archive: true
|
|
# archive_location: /mnt/archive/other_server_repo
|
|
# archive_password: archive4other_server_password
|
|
# archive_cleanup: true
|
|
# keep_last: 5
|
|
# keep_hourly: 4
|
|
# keep_daily: 1
|
|
# keep_weekly: 1
|
|
# keep_monthly: 1
|
|
# keep_yearly: 1
|
|
# keep_within: 1
|
|
|
|
# how long should we store all backups by default
|
|
restic_archiver__keep: 9
|
|
restic_archiver__keep_hourly: 28
|
|
restic_archiver__keep_daily: 26
|
|
restic_archiver__keep_weekly: 8
|
|
restic_archiver__keep_monthly: 13
|
|
restic_archiver__keep_yearly: 12
|
|
|
|
|
|
|
|
# defaults file for skeleton
|
|
restic_install_path: '/usr/bin'
|
|
restic_script_dir: '~/restic'
|
|
restic_repos: {}
|
|
restic_archiver__backups: []
|
|
restic_create_cron: false
|
|
|
|
restic_archiver__dir_owner: '{{ ansible_user | default(ansible_user_id) }}'
|
|
restic_archiver__dir_group: '{{ ansible_user | default(ansible_user_id) }}'
|
|
|
|
# version check for this playbook
|
|
submodules_versioncheck: false
|