diff options
author | lassulus <git@lassul.us> | 2023-09-02 11:36:38 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-09-02 11:36:38 +0200 |
commit | e59b9c0192fbea275ad3667c5e2dfae8d9b8a840 (patch) | |
tree | 44e576ba066ad1d03b86d8acab469004b89f6928 /lass/2configs | |
parent | 9bc7ad4afe727660f05c037386d0a00f5625801a (diff) |
l codimd: backup statedir
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/codimd.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lass/2configs/codimd.nix b/lass/2configs/codimd.nix index f8880dbdc..d0ba8912c 100644 --- a/lass/2configs/codimd.nix +++ b/lass/2configs/codimd.nix @@ -34,7 +34,10 @@ in CMD_CSP_ALLOW_FRAMING = "true"; }; - services.borgbackup.jobs.hetzner.paths = [ "/var/backup" ]; + services.borgbackup.jobs.hetzner.paths = [ + "/var/backup" + "/var/lib/hedgedoc" + ]; systemd.services.hedgedoc-backup = { startAt = "daily"; serviceConfig = { |