1
1
Fork 0

Compare commits

...

3 commits

Author SHA1 Message Date
75db442141
borgmatic: fix prune not finding archives
Signed-off-by: Myned <dev@bjork.tech>
2025-01-17 16:25:35 -06:00
57cacd057b
fish: modify borgmatic abbreviations
Signed-off-by: Myned <dev@bjork.tech>
2025-01-17 15:42:19 -06:00
64f2e0ec3c
borgmatic: disable yearly backup
Signed-off-by: Myned <dev@bjork.tech>
2025-01-17 15:17:28 -06:00
2 changed files with 7 additions and 4 deletions

View file

@ -53,14 +53,17 @@ in {
as = "adb shell"; as = "adb shell";
asa = "adb shell sh /sdcard/Android/data/com.llamalab.automate/cache/start.sh"; # Automate asa = "adb shell sh /sdcard/Android/data/com.llamalab.automate/cache/start.sh"; # Automate
b = "sudo borgmatic"; b = "sudo borgmatic --progress --stats";
bb = "sudo borgmatic borg"; bb = "sudo borgmatic borg";
bc = "sudo borgmatic create --progress --stats"; bc = "sudo borgmatic create --progress --stats";
bct = "sudo borgmatic compact";
be = "sudo borgmatic extract --progress"; be = "sudo borgmatic extract --progress";
bi = "sudo borgmatic init -e repokey-blake2"; bi = "sudo borgmatic info";
bin = "sudo borgmatic init -e repokey-blake2";
bk = "sudo borgmatic key export"; bk = "sudo borgmatic key export";
bl = "sudo borgmatic list"; bl = "sudo borgmatic list";
bm = "sudo borgmatic mount"; bm = "sudo borgmatic mount";
bp = "sudo borgmatic prune";
brl = "sudo borgmatic rlist"; brl = "sudo borgmatic rlist";
br = "sudo borgmatic restore"; br = "sudo borgmatic restore";
bt = "sudo borgmatic export-tar"; bt = "sudo borgmatic export-tar";

View file

@ -28,11 +28,11 @@ in {
# https://torsion.org/borgmatic/docs/reference/configuration/ # https://torsion.org/borgmatic/docs/reference/configuration/
settings = { settings = {
archive_name_format = "{now:%Y-%m-%d %H:%M:%S}"; # Remove hostname keep_hourly = 24;
keep_daily = 7; keep_daily = 7;
keep_weekly = 4; keep_weekly = 4;
keep_monthly = 1; keep_monthly = 1;
keep_yearly = 1; keep_yearly = 0;
retries = 10; retries = 10;
retry_wait = 60; # Additive seconds per retry retry_wait = 60; # Additive seconds per retry
compression = "auto,zstd"; # Use heuristics to decide whether to compress with zstd compression = "auto,zstd"; # Use heuristics to decide whether to compress with zstd