From 6d653149cf587a1f987e3e9cf83f3d36f0e2281c Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Wed, 27 Nov 2024 00:01:55 +0000 Subject: [PATCH] back up letsencrypt data with borg --- flake/system/borg.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake/system/borg.nix b/flake/system/borg.nix index 1e5313b..743408a 100644 --- a/flake/system/borg.nix +++ b/flake/system/borg.nix @@ -7,7 +7,8 @@ { label = "plinth"; path = "ssh://backup@100.66.18.84/./plinth"; } ]; source_directories = [ - "/srv/pds" + "/etc/letsencrypt" + "/srv/pds/data" "/srv/pds-testing/data" ]; encryption_passcommand = "${pkgs.coreutils}/bin/cat /root/.borg_password";