From 65e096c381032c491b68062aa2cdffa6852160b1 Mon Sep 17 00:00:00 2001 From: Till Date: Wed, 5 Jul 2023 21:32:53 +0200 Subject: [PATCH] snapshots --- system/btrbk.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system/btrbk.nix b/system/btrbk.nix index bf50fe3..a845c61 100644 --- a/system/btrbk.nix +++ b/system/btrbk.nix @@ -2,9 +2,10 @@ { services.btrbk.instances.btrbk = { + onCalendar = "hourly"; settings = { - snapshot_preserve = "14d"; - snapshot_preserve_min = "2d"; + snapshot_preserve = "40d"; + snapshot_preserve_min = "7d"; snapshot_dir = "/btrbk_snapshots"; subvolume = "/home"; };