summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-01-23 21:25:12 +0100
committerlassulus <lassulus@lassul.us>2021-01-23 21:25:12 +0100
commitfc01155ea520bf3f6ceaafef3a32393331a9319a (patch)
tree394d3b473f6aebf5c0bbd5f41465f7343043bcc9 /lass
parent9b884ed48306b2f881521e61e5bfea26c545d168 (diff)
l green-host: backup with borg
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/green-host.nix8
1 files changed, 8 insertions, 0 deletions
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";
+ };
}