feat(restic): update backup profiles and ignore patterns for improved organization
fix(ssh): clean up whitespace in SSH configuration files feat(zed): enhance Zed settings with new configurations and improved defaults fix(zsh): remove unused editor aliases for cleaner alias management
This commit is contained in:
@@ -1,60 +1,19 @@
|
||||
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"
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Projects"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Documents/Projects
|
||||
schedule: "*-*-* *:15:00" # каждый час в 15 минут
|
||||
retain:
|
||||
forget:
|
||||
keep-last: 24
|
||||
keep-daily: 14
|
||||
keep-monthly: 3
|
||||
@@ -66,41 +25,40 @@ projects:
|
||||
|
||||
# Важные данные
|
||||
vaults:
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1"
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Vaults"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Documents/Vaults
|
||||
schedule: "*-*-* *:30:00" # каждый час в 30 минут
|
||||
retain:
|
||||
forget:
|
||||
keep-last: 12
|
||||
keep-daily: 7
|
||||
keep-monthly: 12
|
||||
|
||||
# Документы
|
||||
files:
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1"
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Files"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Documents/Files
|
||||
schedule: "*-*-* 02:15:00" # 02:15 каждый день
|
||||
retain:
|
||||
forget:
|
||||
keep-daily: 30
|
||||
keep-weekly: 12
|
||||
keep-yearly: 1
|
||||
|
||||
# Фотографии и видео
|
||||
pictures:
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1"
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1/Pictures"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Pictures
|
||||
- /home/ada/Videos
|
||||
schedule: "*-*-* 03:30:00" # 03:30 каждый день
|
||||
retain:
|
||||
forget:
|
||||
keep-daily: 14
|
||||
keep-weekly: 8
|
||||
keep-monthly: 12
|
||||
keep-yearly: 2
|
||||
keep-yearly: 2
|
||||
|
||||
Reference in New Issue
Block a user