From 1d4b925f86f1e18e1df3cece4d49aade6e5e5303 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Tue, 30 Apr 2024 12:56:08 +0300 Subject: [PATCH] Don't back up dirs that don't exist --- hosts/cube/restic/default.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/hosts/cube/restic/default.nix b/hosts/cube/restic/default.nix index 0e05de9..8865125 100644 --- a/hosts/cube/restic/default.nix +++ b/hosts/cube/restic/default.nix @@ -23,15 +23,12 @@ systemConfiguration { paths = [ "/tmp/postgresql-dump.sql.gz" ] ++ map (dir: "/var/lib/${dir}") [ - "dkim" "forgejo" "gitea-runner" "grafana" - "mail" "matrix-sliding-sync" "matrix-synapse" "nextcloud" - "postfix" ]; backupPrepareCommand = ''