feat(restic): add local mirror configurations for projects, vaults, and pictures

feat(ssh): update port for vps host and fix IdentityFile paths in proxy configuration
This commit is contained in:
Dmitry
2026-03-18 15:47:09 +03:00
parent 162dc556e7
commit 94d03d41e3
3 changed files with 61 additions and 2 deletions
@@ -1,9 +1,13 @@
groups:
all:
- projects
- projects-local
- vaults
- vaults-local
- files
- files-local
- pictures
- pictures-local
schedule: "0 * * * *"
projects:
@@ -23,6 +27,23 @@ projects:
- "**/.venv"
- "**/target"
# Локальное зеркало projects
projects-local:
repository: "rclone:home-file:files/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"
@@ -36,6 +57,18 @@ vaults:
keep-daily: 7
keep-monthly: 12
# Локальное зеркало vaults
vaults-local:
repository: "rclone:home-file:files/System/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"
@@ -49,6 +82,18 @@ files:
keep-weekly: 12
keep-yearly: 1
# Локальное зеркало files
files-local:
repository: "rclone:home-file:files/System/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"
@@ -62,3 +107,16 @@ pictures:
keep-weekly: 8
keep-monthly: 12
keep-yearly: 2
# Локальное зеркало pictures
pictures-local:
repository: "rclone:home-file:files/System/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
+1 -1
View File
@@ -1,7 +1,7 @@
# 20 - SelfHost
Host vps vps-ada
HostName 157.22.231.198
Port 22
Port 3422
User ada
IdentityFile ~/.ssh/keys/homelab_ssh.pub
+2 -1
View File
@@ -3,12 +3,13 @@ Host ru-vps
User ada
ServerAliveInterval 30
ServerAliveCountMax 3
IdentityFile /home/ada/.dotfiles/ssh/.ssh/keys/homelab_ssh.pub
Host fl-vps
HostName 89.167.32.245
Port 4322
User ada
IdentityFile ~/.ssh/keys/fl-vpn.pub
IdentityFile /home/ada/.dotfiles/ssh/.ssh/keys/fl-vpn.pub
ProxyJump ru-vps
ServerAliveInterval 30
ServerAliveCountMax 3