From 2b0d7851048b208fdbcdd2d854beb2ab9d68155f Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 24 Oct 2021 12:33:48 +0200 Subject: [PATCH] l green-host: prune backups --- lass/2configs/green-host.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lass/2configs/green-host.nix b/lass/2configs/green-host.nix index 4d2a219ec..a83ed0544 100644 --- a/lass/2configs/green-host.nix +++ b/lass/2configs/green-host.nix @@ -25,5 +25,9 @@ repo = "/var/lib/sync-containers/green/backup"; compression = "auto,lzma"; startAt = "daily"; + prune.keep = { + daily = 7; + weekly = 4; + }; }; }