default: repository: "rclone:yadisk:System/Backups/ada-x1" password-file: "/home/ada/.config/resticprofile/pass.txt" exclude-file: "/home/ada/.config/resticprofile/.resticignore" initialize: false # Общие опции для всех backup команд backup: check-before: false # не проверять перед backup'ом для скорости use-fs-snapshot: false # Очистка старых снимков forget: group-by: "host,paths" keep-last: 10 keep-daily: 7 keep-weekly: 4 keep-monthly: 6 prune: true groups: all: - dotfiles - projects - vaults - files - pictures schedule: "0 * * * *" # Критичные данные - конфиги и dotfiles dotfiles: repository: "rclone:yadisk:System/Backups/ada-x1" password-file: "/home/ada/.config/resticprofile/pass.txt" backup: source: - /home/ada/.dotfiles - /home/ada/.config - /home/ada/.ssh schedule: "*-*-* 0,6,12,18:00:00" # каждые 6 часов (0, 6, 12, 18) retain: keep-last: 28 # последние 28 часов keep-daily: 30 # месячные keep-monthly: 12 # год архивов exclude: - "**/.git" - "**/node_modules" - "**/__pycache__" # Код и проекты - часто меняются projects: repository: "rclone:yadisk:System/Backups/ada-x1" password-file: "/home/ada/.config/resticprofile/pass.txt" backup: source: - /home/ada/Documents/Projects schedule: "*-*-* *:15:00" # каждый час в 15 минут retain: keep-last: 24 keep-daily: 14 keep-monthly: 3 exclude: - "**/.git" - "**/node_modules" - "**/.venv" - "**/target" # Важные данные vaults: repository: "rclone:yadisk:System/Backups/ada-x1" password-file: "/home/ada/.config/resticprofile/pass.txt" backup: source: - /home/ada/Documents/Vaults schedule: "*-*-* *:30:00" # каждый час в 30 минут retain: keep-last: 12 keep-daily: 7 keep-monthly: 12 # Документы files: repository: "rclone:yadisk:System/Backups/ada-x1" password-file: "/home/ada/.config/resticprofile/pass.txt" backup: source: - /home/ada/Documents/Files schedule: "*-*-* 02:15:00" # 02:15 каждый день retain: keep-daily: 30 keep-weekly: 12 keep-yearly: 1 # Фотографии и видео pictures: repository: "rclone:yadisk:System/Backups/ada-x1" password-file: "/home/ada/.config/resticprofile/pass.txt" backup: source: - /home/ada/Pictures - /home/ada/Videos schedule: "*-*-* 03:30:00" # 03:30 каждый день retain: keep-daily: 14 keep-weekly: 8 keep-monthly: 12 keep-yearly: 2