From 61bab3a8bf3335c822b359b3129392e8e692de7f Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Sat, 16 Sep 2023 16:41:41 +0200 Subject: [PATCH] Fix backup issue on blowhole Signed-off-by: Magic_RB --- nixos/systems/blowhole/nas.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/systems/blowhole/nas.nix b/nixos/systems/blowhole/nas.nix index 41d6895..aafe86c 100644 --- a/nixos/systems/blowhole/nas.nix +++ b/nixos/systems/blowhole/nas.nix @@ -15,7 +15,7 @@ snapshot="$(date +restic%+4Y_%U_%u)" ${pkgs.zfs-relmount}/bin/zfs-relmount snapshot storfa/ds1/cartman "''${snapshot}" - mkdir /run/restic/cartman + mkdir -p /run/restic/cartman ${pkgs.zfs-relmount}/bin/zfs-relmount mount-snapshot storfa/ds1/cartman /run/restic/cartman "''${snapshot}" export RESTIC_PROGRESS_FPS=1