From b0858c162716ed585b3b548cefc37ff664921471 Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Mon, 29 Aug 2022 12:46:28 +0000
Subject: [PATCH] Backup: Add stats to borgbackup create options

We want to have this in our own monitoring
---
 morph/lib/borgbackup.nix | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/morph/lib/borgbackup.nix b/morph/lib/borgbackup.nix
index 4b1d2620..f8a0b502 100644
--- a/morph/lib/borgbackup.nix
+++ b/morph/lib/borgbackup.nix
@@ -56,6 +56,9 @@ in {
           BORG_RSH = "ssh -i /run/keys/borgbackup/ssh-key -o StrictHostKeyChecking=accept-new";
         };
 
+	# For our monitoring
+	extraCreateArgs = "--stats";
+
         # Ciphertext doesn't compress well
         compression = "none";
 
-- 
GitLab