Files
dotfiles/dot_config/resticprofile/profiles.yaml
T

123 lines
2.8 KiB
YAML

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