move options around in borgmatic and add ustop

This commit is contained in:
Tyler Starr 2024-09-23 13:53:21 -07:00
parent e2eae2e3c5
commit a2486cab21
7 changed files with 27 additions and 1 deletions

View File

@ -3,7 +3,6 @@ keep_weekly: 4
keep_monthly: 6
encryption_passcommand: cat /run/agenix/borg/torus/password
compression: zstd,22
checks:
- name: repository
- name: spot

View File

@ -1,3 +1,4 @@
compression: zstd,22
repositories:
- path: ssh://tstarr@torus//engi/store/kestrel.borg
label: torus

View File

@ -14,4 +14,6 @@ after_backup:
archive_name_format: 'torus_apps.borg-{now}'
compression: zstd,22
<<: !include torus_common.yaml

View File

@ -8,4 +8,6 @@ before_backup:
archive_name_format: 'torus_bulk.borg-{now}'
compression: zstd,22
<<: !include torus_common.yaml

View File

@ -0,0 +1,8 @@
source_directories:
- /engi/media
archive_name_format: 'torus_media.borg-{now}'
compression: lz4
<<: !include torus_common.yaml

View File

@ -0,0 +1,13 @@
# Usage
# Example commands for rsync.net repos
```
sudo borgmatic init --repository {repo} --encryption repokey --override remote_path=borg1 --config {config_file}
sudo borgmatic create --repository {repo} --list --stats --override remote_path=borg1 --config {config_file}
```
# Example commands for local repos
```
sudo borgmatic init --repository {repo} --encryption repokey --config {config_file}
sudo borgmatic create --repository {repo} --list --stats --config {config_file}
```

View File

@ -11,6 +11,7 @@ in {
pavucontrol # Simple GTK based mixer for the PulseAudio sound server
libimobiledevice # Library to support iPhone, iPod Touch and iPad devices on Linux
ifuse # fuse filesystem implementation to access the contents of iOS devices
usbtop
];
security.rtkit.enable = true;