From b6fc2bf19c4f07f6376e504f8ed583d747e957be Mon Sep 17 00:00:00 2001 From: sajenim Date: Tue, 23 Jan 2024 09:48:12 +0800 Subject: [PATCH] backup containers --- nixos/viridian/services/borgbackup.nix | 30 +++----------------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/nixos/viridian/services/borgbackup.nix b/nixos/viridian/services/borgbackup.nix index ff5fec8..c155735 100644 --- a/nixos/viridian/services/borgbackup.nix +++ b/nixos/viridian/services/borgbackup.nix @@ -2,36 +2,12 @@ { services.borgbackup.jobs = { - multimedia = { + containers = { paths = [ - "/var/lib/jellyfin" - "/var/lib/jellyseerr" - "/var/lib/sonarr" - "/var/lib/radarr" - "/var/lib/lidarr" + "/srv/containers" ]; encryption.mode = "none"; - repo = "/mnt/backup/multimedia/borg"; - compression = "auto,zstd"; - startAt = "daily"; - }; - - torrents = { - paths = [ - "/var/lib/qbittorrent" - ]; - encryption.mode = "none"; - repo = "/mnt/backup/torrents/borg"; - compression = "auto,zstd"; - startAt = "daily"; - }; - - minecraft = { - paths = [ - "/var/lib/minecraft" - ]; - encryption.mode = "none"; - repo = "/mnt/backup/minecraft/borg"; + repo = "/srv/backup/borg/containers"; compression = "auto,zstd"; startAt = "daily"; };