192 lines
4.6 KiB
YAML
192 lines
4.6 KiB
YAML
groups:
|
|
all:
|
|
- projects
|
|
- projects-local
|
|
- vaults
|
|
- vaults-local
|
|
- files
|
|
- files-local
|
|
- pictures
|
|
- pictures-local
|
|
|
|
dotfiles:
|
|
repository: "rclone:yadisk:System/Backups/ada-x1/dotfiles"
|
|
password-file: "~/.config/resticprofile/pass.txt"
|
|
backup:
|
|
source:
|
|
- ~/dotfiles
|
|
- ~/.config
|
|
- ~/.ssh
|
|
- ~/.claude
|
|
- ~/.codex
|
|
exclude:
|
|
# Кеши и мусор (везде)
|
|
- "**/.cache"
|
|
- "**/__pycache__"
|
|
- "**/Cache"
|
|
- "**/CachedData"
|
|
- "**/GPUCache"
|
|
- "**/CachedExtensions"
|
|
- "**/*.log"
|
|
- "**/*.tmp"
|
|
|
|
# ~/.config: electron/browser-приложения (большие, не нужны)
|
|
- "~/.config/Code"
|
|
- "~/.config/chromium"
|
|
- "~/.config/BraveSoftware"
|
|
- "~/.config/google-chrome"
|
|
- "~/.config/Claude"
|
|
- "~/.config/Codex"
|
|
- "~/.config/JetBrains"
|
|
- "~/.config/Bitwarden"
|
|
- "~/.config/Element"
|
|
- "~/.config/Docker Desktop"
|
|
- "~/.config/GitHub Desktop"
|
|
- "~/.config/AmneziaVPN.ORG"
|
|
- "~/.config/libvirt"
|
|
|
|
# ~/.claude: рантайм и логи (memory/ сохраняем)
|
|
- "~/.claude/telemetry"
|
|
- "~/.claude/file-history"
|
|
- "~/.claude/session-env"
|
|
- "~/.claude/cache"
|
|
- "~/.claude/backups"
|
|
- "~/.claude/ide"
|
|
- "~/.claude/shell-snapshots"
|
|
- "~/.claude/paste-cache"
|
|
- "~/.claude/sessions"
|
|
- "~/.claude/plugins"
|
|
- "~/.claude/stats-cache.json"
|
|
- "~/.claude/history.jsonl"
|
|
- "~/.claude/projects/**/*.jsonl"
|
|
|
|
# ~/.codex: рантайм и логи
|
|
- "~/.codex/.tmp"
|
|
- "~/.codex/tmp"
|
|
- "~/.codex/sessions"
|
|
- "~/.codex/log"
|
|
- "~/.codex/shell_snapshots"
|
|
- "~/.codex/plugins"
|
|
- "~/.codex/cache"
|
|
- "~/.codex/vendor_imports"
|
|
- "~/.codex/logs_*"
|
|
- "~/.codex/state_*.sqlite"
|
|
- "~/.codex/state_*.sqlite-shm"
|
|
- "~/.codex/state_*.sqlite-wal"
|
|
- "~/.codex/sqlite"
|
|
- "~/.codex/session_index.jsonl"
|
|
- "~/.codex/skills"
|
|
- "~/.codex/history.jsonl"
|
|
forget:
|
|
keep-last: 10
|
|
keep-daily: 14
|
|
keep-weekly: 4
|
|
keep-monthly: 3
|
|
|
|
projects:
|
|
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Projects"
|
|
password-file: "~/.config/resticprofile/pass.txt"
|
|
backup:
|
|
source:
|
|
- ~/Documents/Projects
|
|
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: "~/.config/resticprofile/pass.txt"
|
|
backup:
|
|
source:
|
|
- ~/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
|
|
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
|
|
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
|
|
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
|