back up letsencrypt data with borg

This commit is contained in:
Charlotte Som 2024-11-27 00:01:55 +00:00
parent 4f7eaf864a
commit 6d653149cf

View file

@ -7,7 +7,8 @@
{ label = "plinth"; path = "ssh://backup@100.66.18.84/./plinth"; } { label = "plinth"; path = "ssh://backup@100.66.18.84/./plinth"; }
]; ];
source_directories = [ source_directories = [
"/srv/pds" "/etc/letsencrypt"
"/srv/pds/data"
"/srv/pds-testing/data" "/srv/pds-testing/data"
]; ];
encryption_passcommand = "${pkgs.coreutils}/bin/cat /root/.borg_password"; encryption_passcommand = "${pkgs.coreutils}/bin/cat /root/.borg_password";