mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-18 18:36:05 -07:00
Compare commits
3 Commits
a815d65d26
...
fd1928a08b
Author | SHA1 | Date | |
---|---|---|---|
fd1928a08b | |||
f7d323ed31 | |||
171d95f420 |
@ -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***"
|
24
home/dot_config/borgmatic.d/torus_common.yaml
Normal file
24
home/dot_config/borgmatic.d/torus_common.yaml
Normal 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
|
10
home/dot_config/borgmatic.d/torus_kestrel.yaml
Normal file
10
home/dot_config/borgmatic.d/torus_kestrel.yaml
Normal 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
|
10
home/dot_config/borgmatic.d/torus_rsync.yaml
Normal file
10
home/dot_config/borgmatic.d/torus_rsync.yaml
Normal 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
|
@ -6,7 +6,7 @@
|
||||
bc # Arbitrary-precision arithmetic language.
|
||||
fzf # Command-line fuzzy finder for Unix-like operating systems.
|
||||
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.
|
||||
libreoffice-fresh # Office suite compatible with Microsoft Office.
|
||||
xournal # Note-taking and sketching application.
|
||||
|
@ -142,7 +142,7 @@ in {
|
||||
"google-chrome.desktop"
|
||||
"kitty.desktop"
|
||||
"steam.desktop"
|
||||
"discord.desktop"
|
||||
"vesktop.desktop"
|
||||
];
|
||||
disable-user-extensions = false;
|
||||
enabled-extensions = [
|
||||
@ -237,7 +237,7 @@ in {
|
||||
"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"; };
|
||||
"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"; };
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user