2019-08-12 17:23:59 +02:00
|
|
|
---
|
2020-12-09 17:26:16 +01:00
|
|
|
# which repos should we cleanup by default
|
|
|
|
restic_archiver__repos: {}
|
2020-12-09 17:42:54 +01:00
|
|
|
# - name: example_server:
|
2020-12-09 17:26:16 +01:00
|
|
|
# location: /srv/restic/example_server_repo
|
|
|
|
# password: securepassword4eXaMpleSserver
|
2020-12-09 17:42:54 +01:00
|
|
|
# - name: other_server
|
|
|
|
# location: /srv/restic/other_server_repo
|
|
|
|
# password: xtrasecuredifferentpassword4other
|
2020-12-10 19:44:40 +01:00
|
|
|
# archive: true
|
|
|
|
# archive_location: /mnt/archive/other_server_repo
|
|
|
|
# archive_password: archive4other_server_password
|
|
|
|
# archive_cleanup: true
|
2020-12-09 17:42:54 +01:00
|
|
|
# keep_last: 5
|
|
|
|
# keep_hourly: 4
|
|
|
|
# keep_daily: 1
|
|
|
|
# keep_weekly: 1
|
|
|
|
# keep_monthly: 1
|
|
|
|
# keep_yearly: 1
|
|
|
|
# keep_within: 1
|
2020-12-09 17:26:16 +01:00
|
|
|
|
|
|
|
# how long should we store all backups by default
|
2021-02-17 17:21:20 +01:00
|
|
|
restic_archiver__keep: 5
|
|
|
|
restic_archiver__keep_hourly: 16
|
|
|
|
restic_archiver__keep_daily: 14
|
2020-12-09 17:26:16 +01:00
|
|
|
restic_archiver__keep_weekly: 8
|
2021-02-17 17:21:20 +01:00
|
|
|
restic_archiver__keep_monthly: 16
|
2020-12-09 17:26:16 +01:00
|
|
|
restic_archiver__keep_yearly: 12
|
|
|
|
|
2020-12-14 11:19:18 +01:00
|
|
|
# owner and user of all restic stuff
|
|
|
|
restic_archiver__owner: 'root'
|
|
|
|
restic_archiver__group: 'root'
|
2020-12-09 17:26:16 +01:00
|
|
|
|
2020-12-14 11:19:18 +01:00
|
|
|
# shedule restic cronjob
|
|
|
|
restic_archiver__hour: '3'
|
|
|
|
restic_archiver__minute: '32'
|
2020-12-09 17:26:16 +01:00
|
|
|
|
2020-12-14 12:02:36 +01:00
|
|
|
# validate if disk is mounted
|
|
|
|
restic_archiver__mount_required: false
|
|
|
|
# which disk have to be mounted
|
|
|
|
restic_archiver__mount_disk: '/mnt/'
|
|
|
|
# umount after use?
|
|
|
|
restic_archiver__umount_after_usage: false
|
|
|
|
|
|
|
|
# required packages
|
|
|
|
restic_archiver__package:
|
|
|
|
- cron
|
|
|
|
|
2020-12-14 15:50:39 +01:00
|
|
|
restic_archiver__log_output: true
|
|
|
|
restic_archiver__logrotate: true
|
|
|
|
|
2020-12-14 16:05:01 +01:00
|
|
|
restic_archiver__mailsummary: false
|
2021-01-11 19:01:04 +01:00
|
|
|
restic_archiver__mailaddress: 'root@localhost'
|
2020-12-14 16:05:01 +01:00
|
|
|
|
2021-01-11 12:32:06 +01:00
|
|
|
# restic default options
|
2021-01-11 14:12:10 +01:00
|
|
|
restic_archiver__default_opt: ''
|
2021-01-11 12:32:06 +01:00
|
|
|
|
2021-01-13 12:14:11 +01:00
|
|
|
# additional msgs
|
|
|
|
restic_archiver__additional_mail_msg: ''
|
2020-12-14 11:19:18 +01:00
|
|
|
# version check for this playbook (true is recomended)
|
2020-12-09 17:26:16 +01:00
|
|
|
submodules_versioncheck: false
|