Files
infra/cloud-pc/resticprofile/profiles.toml
T
Dmitry c09754a161
Deploy ru-vps / deploy (push) Successful in 16s
Deploy mini-pc / deploy (push) Successful in 29s
Deploy cloud-pc / deploy (push) Failing after 41s
Add rclone and resticprofile installation playbooks, and update profiles for Yandex Disk backups
2026-05-28 13:12:33 +03:00

99 lines
3.3 KiB
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"
# ── Данные и конфиги сервисов ─────────────────────────────────────────────────
[services]
inherit = "default"
repository = "/mnt/backup/restic/services"
[services.backup]
source = ["/opt/data", "/opt/configs"]
tag = ["cloud-pc", "services"]
exclude-caches = true
one-file-system = true
schedule = "02:00"
schedule-permission = "system"
schedule-log = "/var/log/resticprofile/services.log"
[services.forget]
schedule = "02:30"
# ── Samba-шара ────────────────────────────────────────────────────────────────
[samba]
inherit = "default"
repository = "/mnt/backup/restic/samba"
[samba.backup]
source = ["/opt/samba"]
tag = ["cloud-pc", "samba"]
exclude-caches = true
one-file-system = true
schedule = "03:00"
schedule-permission = "system"
schedule-log = "/var/log/resticprofile/samba.log"
[samba.forget]
schedule = "03:30"
# ── Yandex Disk: ночная удалённая копия ───────────────────────────────────────
[yadisk-default]
inherit = "default"
[yadisk-default.check]
schedule = "Sun 06:00"
schedule-permission = "system"
schedule-after-network-online = true
[yadisk-services]
inherit = "yadisk-default"
repository = "rclone:yadisk:System/Backups/cloud-pc/restic/services"
[yadisk-services.backup]
source = ["/opt/data", "/opt/configs"]
tag = ["cloud-pc", "services", "yadisk"]
exclude-caches = true
one-file-system = true
schedule = "04:00"
schedule-permission = "system"
schedule-after-network-online = true
schedule-log = "/var/log/resticprofile/yadisk-services.log"
[yadisk-services.forget]
schedule = "04:30"
[yadisk-samba]
inherit = "yadisk-default"
repository = "rclone:yadisk:System/Backups/cloud-pc/restic/samba"
[yadisk-samba.backup]
source = ["/opt/samba"]
tag = ["cloud-pc", "samba", "yadisk"]
exclude-caches = true
one-file-system = true
schedule = "05:00"
schedule-permission = "system"
schedule-after-network-online = true
schedule-log = "/var/log/resticprofile/yadisk-samba.log"
[yadisk-samba.forget]
schedule = "05:30"