123 lines
2.9 KiB
YAML
123 lines
2.9 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: "/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"
|
|
|
|
# Локальное зеркало projects
|
|
projects-local:
|
|
repository: "rclone:home-smb:backup/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: "/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
|
|
|
|
# Локальное зеркало vaults
|
|
vaults-local:
|
|
repository: "rclone:home-smb:backup/backups/ada-x1/Documents/Vaults"
|
|
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
|
backup:
|
|
source:
|
|
- /home/ada/Documents/Vaults
|
|
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
|
|
|
|
# Локальное зеркало files
|
|
files-local:
|
|
repository: "rclone:home-smb:backup/backups/ada-x1/Documents/Files"
|
|
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
|
backup:
|
|
source:
|
|
- /home/ada/Documents/Files
|
|
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
|
|
|
|
# Локальное зеркало pictures
|
|
pictures-local:
|
|
repository: "rclone:home-smb:backup/backups/ada-x1/Pictures"
|
|
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
|
backup:
|
|
source:
|
|
- /home/ada/Pictures
|
|
forget:
|
|
keep-daily: 14
|
|
keep-weekly: 8
|
|
keep-monthly: 12
|
|
keep-yearly: 2
|