From e9dc4601ad29498f6936c3851d51f58223e892be Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 28 May 2021 15:00:10 +0200 Subject: [PATCH] restic: Do not initialise the repository MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It already is initialised, and NixOS’ initialisation always prints all existing snapshots to the journal which makes it almost impossible to find the logs from the regular backup. --- modules/restic/system.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/restic/system.nix b/modules/restic/system.nix index b4b5db1..a1f55ee 100644 --- a/modules/restic/system.nix +++ b/modules/restic/system.nix @@ -84,7 +84,6 @@ in "/srv" "/var" ] ++ cfg.extraPaths; - initialize = true; extraBackupArgs = [ "--exclude-caches" "--exclude-file=${excludesFile}"