summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-05-29 15:49:29 +0200
committerlassulus <lassulus@lassul.us>2019-05-29 15:54:15 +0200
commitf8164a8e32b646464376afa951232085c9f1322b (patch)
treeacf06ecaa664be7cc4dd8b4f934dd00290686fd1
parentd68e0e2e2d9f2aa07e5daf950971f4f6ff1634b7 (diff)
l domsen: increase journalctl lines in backup errors
-rw-r--r--lass/2configs/websites/domsen.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/lass/2configs/websites/domsen.nix b/lass/2configs/websites/domsen.nix
index 912d56925..c99bd7b15 100644
--- a/lass/2configs/websites/domsen.nix
+++ b/lass/2configs/websites/domsen.nix
@@ -238,13 +238,18 @@ in {
createHome = true;
};
- krebs.on-failure.plans.restic-backups-domsen = {};
users.users.kasia = {
uid = genid_uint31 "kasia";
home = "/home/kasia";
useDefaultShell = true;
createHome = true;
};
+
+ krebs.on-failure.plans.restic-backups-domsen = {
+ journalctl = {
+ lines = 1000;
+ };
+ };
services.restic.backups.domsen = {
initialize = true;
extraOptions = [ "sftp.command='ssh efOVcMWSZ@wilhelmstr2.duckdns.org -S none -v -p 52222 -i ${toString <secrets> + "/ssh.id_ed25519"} -s sftp'" ];