Replace znapzend with ZFS auto snapshot
This commit is contained in:
parent
42b782b9f8
commit
994dbc5b3b
|
@ -1,22 +1,14 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
# ZFS automatic backup solution
|
||||
services.znapzend = {
|
||||
# ZFS automatic snapshots
|
||||
services.zfs.autoSnapshot = {
|
||||
enable = true;
|
||||
autoCreation = true;
|
||||
features = {
|
||||
compressed = true;
|
||||
recvu = true;
|
||||
};
|
||||
pure = true;
|
||||
zetup = {
|
||||
"syscea/stateful/root".plan =
|
||||
"1day=>1hour,2week=>1day,1month=>1week,1year=>1month";
|
||||
|
||||
"syscea/stateful/home".plan =
|
||||
"1day=>1hour,2week=>1day,1month=>1week,1year=>1month";
|
||||
};
|
||||
frequent = 0;
|
||||
hourly = 24;
|
||||
daily = 7;
|
||||
weekly = 4;
|
||||
monthly = 12;
|
||||
};
|
||||
|
||||
# Syncthing configuration
|
||||
|
|
Loading…
Reference in New Issue