39 lines
972 B
TOML
39 lines
972 B
TOML
version = "1"
|
|
|
|
[global]
|
|
scheduler = "systemd"
|
|
|
|
[default]
|
|
password-file = "/etc/restic/password"
|
|
initialize = true
|
|
|
|
[default.forget]
|
|
keep-daily = 7
|
|
keep-weekly = 4
|
|
keep-monthly = 6
|
|
schedule-permission = "system"
|
|
schedule-after-backup = true
|
|
prune = true
|
|
|
|
[default.check]
|
|
schedule = "Sun 04:00"
|
|
schedule-permission = "system"
|
|
schedule-after-network-online = true
|
|
|
|
[services]
|
|
inherit = "default"
|
|
repository = "rclone:yadisk:System/Backups/ru-vps/restic/services"
|
|
|
|
[services.backup]
|
|
source = ["/opt/data", "/opt/configs"]
|
|
tag = ["ru-vps", "services"]
|
|
exclude-caches = true
|
|
one-file-system = true
|
|
schedule = "03:00"
|
|
schedule-permission = "system"
|
|
schedule-after-network-online = true
|
|
schedule-log = "/var/log/resticprofile/services.log"
|
|
|
|
[services.forget]
|
|
schedule = "03:30"
|