diff options
author | lassulus <lassulus@lassul.us> | 2021-01-23 21:25:12 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-01-23 21:25:12 +0100 |
commit | fc01155ea520bf3f6ceaafef3a32393331a9319a (patch) | |
tree | 394d3b473f6aebf5c0bbd5f41465f7343043bcc9 /lass/2configs/green-host.nix | |
parent | 9b884ed48306b2f881521e61e5bfea26c545d168 (diff) |
l green-host: backup with borg
Diffstat (limited to 'lass/2configs/green-host.nix')
-rw-r--r-- | lass/2configs/green-host.nix | 8 |
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"; + }; } |