l codimd: backup statedir

This commit is contained in:
lassulus 2023-09-02 11:36:38 +02:00
parent 9bc7ad4afe
commit e59b9c0192

View File

@ -34,7 +34,10 @@ in
CMD_CSP_ALLOW_FRAMING = "true"; 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 = { systemd.services.hedgedoc-backup = {
startAt = "daily"; startAt = "daily";
serviceConfig = { serviceConfig = {