homelab/dev/host_vars/rsnapshot.yml

36 lines
711 B
YAML
Raw Normal View History

# base
allow_reboot: false
manage_network: false
2021-06-08 04:33:55 +00:00
#mail:
# host: smtp.gmail.com
# from: automated@example.com
# user: automated
# password: password123
# rootalias: personal@example.com
# rsnapshot
rsnapshot:
2021-06-06 03:40:54 +00:00
- name: localhost
intervals:
- name: hourly
count: 6
- name: daily
count: 4
cron:
- interval: hourly
minute: "*/2" # every even minute
#minute: 0
- interval: daily
minute: "1-59/2" # every odd minute
#minute: 0
#hour: 0
2021-06-08 04:33:55 +00:00
#report:
# to: personal@example.com
# subject: Localhost Backup Report
backups:
2021-06-06 03:40:54 +00:00
- name: config
source: /etc/
- name: logs
source: /var/log/