From c9f0e14ba784cc90b8d733c09e177e6c37e7482a Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Mon, 29 Aug 2022 16:46:39 +0000
Subject: [PATCH] Backup: Borg: Stats output as JSON please

---
 morph/lib/borgbackup.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/morph/lib/borgbackup.nix b/morph/lib/borgbackup.nix
index 9e38b61a..56a51428 100644
--- a/morph/lib/borgbackup.nix
+++ b/morph/lib/borgbackup.nix
@@ -57,7 +57,7 @@ in {
         };
 
 	# Output statistics after uploading a backup set
-	extraCreateArgs = "--stats";
+	extraCreateArgs = "--stats --json";
 
         # Ciphertext doesn't compress well
         compression = "none";
-- 
GitLab