(corrino) hedgedoc: now with backups
HEAD main1 files changed, 14 insertions, 0 deletions
diff --git a/nix/hosts/corrino/www/md.emile.space.nix b/nix/hosts/corrino/www/md.emile.space.nix
index d9db013..d94c06c 100644
--- a/nix/hosts/corrino/www/md.emile.space.nix
+++ b/nix/hosts/corrino/www/md.emile.space.nix
@@ -85,6 +85,20 @@
};
};
+ services.restic.backups."hedgedoc" = {
+ repository = "/mnt/storagebox-bx11/hedgedoc";
+ paths = [ "/var/lib/hedgedoc" ];
+ timerConfig = null;
+ passwordFile = config.age.secrets.restic_password.path;
+ initialize = true;
+ pruneOpts = [
+ "--keep-daily 7"
+ "--keep-weekly 5"
+ "--keep-monthly 12"
+ "--keep-yearly 75"
+ ];
+ };
+
# backups
# services.restic.backups."hedgedoc" = {
# user = "u331921";
|