Enable automatic ZFS backups to remote server
This commit is contained in:
parent
1ca6c43c3d
commit
1f8869b3d6
|
@ -31,4 +31,19 @@
|
||||||
"force user" = "coace";
|
"force user" = "coace";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# ZFS automatic backup solution
|
||||||
|
services.znapzend = {
|
||||||
|
enable = true;
|
||||||
|
pure = true;
|
||||||
|
zetup."vault" = {
|
||||||
|
plan = "1h=>10min,1d=>1h,1w=>1d,1m=>1w,1y=>1m";
|
||||||
|
recursive = true;
|
||||||
|
destinations.backup = {
|
||||||
|
host = "10.0.1.4";
|
||||||
|
dataset = "shield/unit";
|
||||||
|
plan = "1w=>1d,1m=>1w,1y=>1m";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue