Compare commits

...

3 Commits

6 changed files with 47 additions and 34 deletions

View File

@ -1,31 +0,0 @@
source_directories:
- /engi/apps # Docker containers and data
#- /engi/backup # Static files and service dumps
#- /home/tstarr/Sync # Syncthing files on Torus
exclude_patterns:
- 'code-server/config/*'
- 'code-server/workspace/*'
- 'immich/library/*'
archive_name_format: 'borg-torus-{now}'
repositories:
#- path: ssh://user@backupserver/./sourcehostname.borg
# label: backupserver
- path: /engi/backup/borg/borg-apps
label: local
before_backup:
- echo "Running pre-backup scripts! $(date)" >> /engi/test/test.txt
- tree /engi > /engi/backup/tree.txt
- stop-docker-containers
#- sudo -u gitea backup-dump-gitea
after_backup:
- restore-docker-containters
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
encryption_passphrase: "***REMOVED***"

View File

@ -0,0 +1,24 @@
source_directories:
- /engi/apps # Docker containers and data
#- /engi/backup # Static files and service dumps
#- /home/tstarr/Sync # Syncthing files on Torus
exclude_patterns:
- '**/code-server/config/**'
- '**/code-server/workspace/**'
- '**/immich/library/**'
archive_name_format: 'torus.borg-{now}'
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
encryption_passcommand: cat /run/agenix/borg/torus/password
compression: zstd,22
checks:
- name: repository
- name: spot
count_tolerance_percentage: 10
data_sample_percentage: 1
data_tolerance_percentage: 0.5

View File

@ -0,0 +1,10 @@
repositories:
- path: ssh://tstarr@kestrel//store/torus.borg
label: kestrel
before_backup:
- "tree /engi > /engi/backup/tree.txt"
#- sudo -u gitea backup-dump-gitea
- stop-docker-containers
<<: !include torus_common.yaml

View File

@ -0,0 +1,10 @@
repositories:
- path: ssh://fm2120@fm2120.rsync.net//data2/home/fm2120/store/torus.borg
label: rsync
after_backup:
- restore-docker-containers
remote_path: borg1
<<: !include torus_common.yaml

View File

@ -6,7 +6,7 @@
bc # Arbitrary-precision arithmetic language. bc # Arbitrary-precision arithmetic language.
fzf # Command-line fuzzy finder for Unix-like operating systems. fzf # Command-line fuzzy finder for Unix-like operating systems.
gamemode # Optimizes system performance for gaming by adjusting system settings. gamemode # Optimizes system performance for gaming by adjusting system settings.
discord # Voice, video, and text communication platform for communities and friends. vesktop # Voice, video, and text communication platform for communities and friends.
inkscape # Vector graphics editor for creating illustrations, icons, logos, diagrams, and more. inkscape # Vector graphics editor for creating illustrations, icons, logos, diagrams, and more.
libreoffice-fresh # Office suite compatible with Microsoft Office. libreoffice-fresh # Office suite compatible with Microsoft Office.
xournal # Note-taking and sketching application. xournal # Note-taking and sketching application.

View File

@ -142,7 +142,7 @@ in {
"google-chrome.desktop" "google-chrome.desktop"
"kitty.desktop" "kitty.desktop"
"steam.desktop" "steam.desktop"
"discord.desktop" "vesktop.desktop"
]; ];
disable-user-extensions = false; disable-user-extensions = false;
enabled-extensions = [ enabled-extensions = [
@ -237,7 +237,7 @@ in {
"terminal" = { binding = "<Super><Control>Return"; command = "kitty"; name = "Open Terminal"; }; "terminal" = { binding = "<Super><Control>Return"; command = "kitty"; name = "Open Terminal"; };
"browser" = { binding = "<Super><Control>b"; command = "google-chrome-stable --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'"; name = "Open Browser"; }; "browser" = { binding = "<Super><Control>b"; command = "google-chrome-stable --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'"; name = "Open Browser"; };
"steam" = { binding = "<Super><Control>s"; command = "steam"; name = "Open Steam"; }; "steam" = { binding = "<Super><Control>s"; command = "steam"; name = "Open Steam"; };
"discord" = { binding = "<Super><Control>d"; command = "discord"; name = "Open Discord"; }; "vesktop" = { binding = "<Super><Control>d"; command = "vesktop"; name = "Open Vesktop"; };
"nautilus" = { binding = "<Super><Control>f"; command = "nautilus"; name = "Open File Manager"; }; "nautilus" = { binding = "<Super><Control>f"; command = "nautilus"; name = "Open File Manager"; };
}; };
}; };