@cryptotaxi247 / infra-1 / commits / 4a2b8f0c

haumea/zrepl: reduce number of snapshots

- 3x5m is not actionable since we often take more than 15 minutes to actually notice any issue - 20x5m is a lot of write churn on the backup target, which is currently only my personal NAS - 52x1w already offers 52 weekly backups, so 120x3w goes back 6 years and overlaps 17 times with 52x1w. Hopefully we don't need to restore data that is older than 1y.

Martin Weinelt committed Jun 14, 2024 at 15:05 UTC 4a2b8f0c6649299f5cf425f707c76e11ef4343ad
1 file changed -3
delft/haumea/zrepl.nix
-3
@@ -31,7 +31,6 @@
31 type = "grid";
32 regex = "^zrepl_snap_.*";
33 grid = lib.concatStringsSep " | " [
34 - "3x5m"
34 "4x15m"
35 "24x1h"
36 "4x1d"
@@ -43,12 +42,10 @@
42 { type = "grid";
43 regex = "^zrepl_snap_.*";
44 grid = lib.concatStringsSep " | " [
46 - "20x5m"
45 "96x1h"
46 "12x4h"
47 "7x1d"
48 "52x1w"
51 - "120x3w"
49 ];
50 }
51 ];