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:
@@ -1,9 +1,13 @@
|
|||||||
groups:
|
groups:
|
||||||
all:
|
all:
|
||||||
- projects
|
- projects
|
||||||
|
- projects-local
|
||||||
- vaults
|
- vaults
|
||||||
|
- vaults-local
|
||||||
- files
|
- files
|
||||||
|
- files-local
|
||||||
- pictures
|
- pictures
|
||||||
|
- pictures-local
|
||||||
schedule: "0 * * * *"
|
schedule: "0 * * * *"
|
||||||
|
|
||||||
projects:
|
projects:
|
||||||
@@ -23,6 +27,23 @@ projects:
|
|||||||
- "**/.venv"
|
- "**/.venv"
|
||||||
- "**/target"
|
- "**/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:
|
vaults:
|
||||||
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Vaults"
|
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Vaults"
|
||||||
@@ -36,6 +57,18 @@ vaults:
|
|||||||
keep-daily: 7
|
keep-daily: 7
|
||||||
keep-monthly: 12
|
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:
|
files:
|
||||||
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Files"
|
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Files"
|
||||||
@@ -49,6 +82,18 @@ files:
|
|||||||
keep-weekly: 12
|
keep-weekly: 12
|
||||||
keep-yearly: 1
|
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:
|
pictures:
|
||||||
repository: "rclone:yadisk:System/Backups/ada-x1/Pictures"
|
repository: "rclone:yadisk:System/Backups/ada-x1/Pictures"
|
||||||
@@ -62,3 +107,16 @@ pictures:
|
|||||||
keep-weekly: 8
|
keep-weekly: 8
|
||||||
keep-monthly: 12
|
keep-monthly: 12
|
||||||
keep-yearly: 2
|
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,7 +1,7 @@
|
|||||||
# 20 - SelfHost
|
# 20 - SelfHost
|
||||||
Host vps vps-ada
|
Host vps vps-ada
|
||||||
HostName 157.22.231.198
|
HostName 157.22.231.198
|
||||||
Port 22
|
Port 3422
|
||||||
User ada
|
User ada
|
||||||
IdentityFile ~/.ssh/keys/homelab_ssh.pub
|
IdentityFile ~/.ssh/keys/homelab_ssh.pub
|
||||||
|
|
||||||
|
|||||||
@@ -3,12 +3,13 @@ Host ru-vps
|
|||||||
User ada
|
User ada
|
||||||
ServerAliveInterval 30
|
ServerAliveInterval 30
|
||||||
ServerAliveCountMax 3
|
ServerAliveCountMax 3
|
||||||
|
IdentityFile /home/ada/.dotfiles/ssh/.ssh/keys/homelab_ssh.pub
|
||||||
|
|
||||||
Host fl-vps
|
Host fl-vps
|
||||||
HostName 89.167.32.245
|
HostName 89.167.32.245
|
||||||
Port 4322
|
Port 4322
|
||||||
User ada
|
User ada
|
||||||
IdentityFile ~/.ssh/keys/fl-vpn.pub
|
IdentityFile /home/ada/.dotfiles/ssh/.ssh/keys/fl-vpn.pub
|
||||||
ProxyJump ru-vps
|
ProxyJump ru-vps
|
||||||
ServerAliveInterval 30
|
ServerAliveInterval 30
|
||||||
ServerAliveCountMax 3
|
ServerAliveCountMax 3
|
||||||
|
|||||||
Reference in New Issue
Block a user