Files
infra/cloud-pc/resticprofile/profiles.toml
T
Dmitry dc3ff78d6d
Deploy cloud-pc / deploy (push) Failing after 15s
Deploy mini-pc / deploy (push) Failing after 4s
Deploy ru-vps / deploy (push) Failing after 5s
Refactor Docker Compose configurations and add deployment workflows for cloud-pc and mini-pc services
2026-05-27 15:41:15 +03:00

55 lines
1.9 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"