From 160ec1bf86cc1d171bf0ffc19aba604a179f15f8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 23 Apr 2018 16:08:09 +0200 Subject: better borg archive prefixes --- hel.nix | 14 +------------- odin.nix | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/hel.nix b/hel.nix index 475e0046..daaf0daa 100644 --- a/hel.nix +++ b/hel.nix @@ -527,20 +527,8 @@ services.borgbackup = { snapshots = "btrfs"; - prefix = "automatic.yggdrasil.midgard.hel."; + prefix = "yggdrasil.midgard.hel."; targets = { - "odin" = { - repo = "borg.odin:/srv/backup/borg"; - paths = [ "/home/gkleen" ]; - prune = { - "/home/gkleen" = - [ "--keep-within" "24H" - "--keep-daily" "31" - "--keep-monthly" "12" - "--keep-yearly" "-1" - ]; - }; - }; "munin" = { repo = "borg.munin:borg"; paths = [ "/home/gkleen" ]; diff --git a/odin.nix b/odin.nix index cddbb5a4..14ea349b 100644 --- a/odin.nix +++ b/odin.nix @@ -163,7 +163,7 @@ services.borgbackup = { snapshots = "lvm"; - prefix = "automatic.yggdrasil.asgard.odin."; + prefix = "yggdrasil.asgard.odin."; targets = { "munin" = { repo = "borg.munin:borg"; -- cgit v1.2.3