2022-04-15 15:51:32 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.zrepl = {
|
2023-04-02 15:27:03 +00:00
|
|
|
enable = false;
|
2022-04-15 15:51:32 +00:00
|
|
|
settings = {
|
|
|
|
global = {
|
|
|
|
logging = [{
|
|
|
|
type = "syslog";
|
|
|
|
level = "info";
|
|
|
|
format = "human";
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
|
|
|
|
jobs = [{
|
|
|
|
name = "backups";
|
|
|
|
type = "sink";
|
|
|
|
serve = {
|
|
|
|
type = "tcp";
|
|
|
|
listen = "100.68.185.47:29491";
|
|
|
|
clients = {
|
|
|
|
"100.103.44.76" = "lufta";
|
|
|
|
"fda2:d982:1da2:a88b:6c8:3903:be65:3261" = "genza";
|
|
|
|
"100.106.39.95" = "logos";
|
|
|
|
"100.122.181.67" = "kos-mos";
|
|
|
|
"100.126.232.35" = "logos";
|
|
|
|
"100.103.116.84" = "ontos";
|
|
|
|
"100.78.40.86" = "pneuma";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
root_fs = "rpool/backup";
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|