From 039fa5a930f5569f87f579611703e72d28c3abcb Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 2 Feb 2021 17:34:22 +0100 Subject: [PATCH] gitea: specify backup time --- services/gitea.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/services/gitea.nix b/services/gitea.nix index 5968f12..1010afd 100644 --- a/services/gitea.nix +++ b/services/gitea.nix @@ -56,7 +56,11 @@ in { other.SHOW_FOOTER_VERSION = false; }; - dump.enable = true; + dump = { + enable = true; + # Borg backup starts at midnight so create dump before + interval = "*-*-* 23:40:00"; + }; database = { type = "postgres";