Files
dotfiles/restic/.config/resticprofile/profiles.yaml
T

65 lines
1.5 KiB
YAML

groups:
all:
- projects
- vaults
- files
- pictures
schedule: "0 * * * *"
projects:
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Projects"
password-file: "/home/ada/.config/resticprofile/pass.txt"
backup:
source:
- /home/ada/Documents/Projects
schedule: "*-*-* 20:30:00" # каждый час в 15 минут
forget:
keep-last: 24
keep-daily: 14
keep-monthly: 3
exclude:
- "**/.git"
- "**/node_modules"
- "**/.venv"
- "**/target"
# Важные данные
vaults:
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Vaults"
password-file: "/home/ada/.config/resticprofile/pass.txt"
backup:
source:
- /home/ada/Documents/Vaults
schedule: "*-*-* 20:30:00"
forget:
keep-last: 12
keep-daily: 7
keep-monthly: 12
# Документы
files:
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Files"
password-file: "/home/ada/.config/resticprofile/pass.txt"
backup:
source:
- /home/ada/Documents/Files
schedule: "*-*-* 20:30:00" # 02:15 каждый день
forget:
keep-daily: 30
keep-weekly: 12
keep-yearly: 1
# Фотографии и видео
pictures:
repository: "rclone:yadisk:System/Backups/ada-x1/Pictures"
password-file: "/home/ada/.config/resticprofile/pass.txt"
backup:
source:
- /home/ada/Pictures
schedule: "*-*-* 20:30:00" # 03:30 каждый день
forget:
keep-daily: 14
keep-weekly: 8
keep-monthly: 12
keep-yearly: 2