From fc01155ea520bf3f6ceaafef3a32393331a9319a Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 23 Jan 2021 21:25:12 +0100 Subject: l green-host: backup with borg --- lass/2configs/green-host.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lass/2configs/green-host.nix b/lass/2configs/green-host.nix index 5f44f5065..a5328943c 100644 --- a/lass/2configs/green-host.nix +++ b/lass/2configs/green-host.nix @@ -18,4 +18,12 @@ localIp = "10.233.2.16"; format = "ecryptfs"; }; + + services.borgbackup.jobs.sync-green = { + encryption.mode = "none"; + paths = "/var/lib/sync-containers/green/ecryptfs"; + repo = "/var/lib/sync-containers/green/backup"; + compression = "auto,lzma"; + startAt = "daily"; + }; } -- cgit v1.2.3