2021-06-04 00:38:56 +00:00
|
|
|
# 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
|
|
|
|
|
2021-06-04 00:38:56 +00:00
|
|
|
# rsnapshot
|
|
|
|
rsnapshot:
|
2021-06-06 03:40:54 +00:00
|
|
|
- name: localhost
|
2021-06-04 00:38:56 +00:00
|
|
|
intervals:
|
2021-06-04 04:50:14 +00:00
|
|
|
- name: hourly
|
|
|
|
count: 6
|
|
|
|
- name: daily
|
|
|
|
count: 4
|
2021-06-04 00:38:56 +00:00
|
|
|
cron:
|
|
|
|
- interval: hourly
|
|
|
|
minute: "*/2" # every even minute
|
|
|
|
#minute: 0
|
|
|
|
- interval: daily
|
|
|
|
minute: "1-59/2" # every odd minute
|
|
|
|
#minute: 0
|
2021-06-04 23:24:27 +00:00
|
|
|
#hour: 0
|
2021-06-08 04:33:55 +00:00
|
|
|
#report:
|
|
|
|
# to: personal@example.com
|
|
|
|
# subject: Localhost Backup Report
|
2021-06-04 00:38:56 +00:00
|
|
|
backups:
|
2021-06-06 03:40:54 +00:00
|
|
|
- name: config
|
|
|
|
source: /etc/
|
2021-06-04 00:38:56 +00:00
|
|
|
- name: logs
|
|
|
|
source: /var/log/
|