Replace znapzend with ZFS auto snapshot
This commit is contained in:
parent
42b782b9f8
commit
994dbc5b3b
|
@ -1,22 +1,14 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# ZFS automatic backup solution
|
# ZFS automatic snapshots
|
||||||
services.znapzend = {
|
services.zfs.autoSnapshot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoCreation = true;
|
frequent = 0;
|
||||||
features = {
|
hourly = 24;
|
||||||
compressed = true;
|
daily = 7;
|
||||||
recvu = true;
|
weekly = 4;
|
||||||
};
|
monthly = 12;
|
||||||
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";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Syncthing configuration
|
# Syncthing configuration
|
||||||
|
|
Loading…
Reference in New Issue