new zfs filesystem and snapshots registered
This commit is contained in:
+6
-4
@@ -5,7 +5,7 @@
|
||||
|
||||
# boot.zfs.enableUnstable = true;
|
||||
boot.zfs.forceImportRoot = false;
|
||||
# boot.zfs.extraPools = [ "DATA" ];
|
||||
boot.zfs.extraPools = [ "DATA" ];
|
||||
services.zfs.autoScrub.enable = true;
|
||||
|
||||
# Enable and configure zrepl service
|
||||
@@ -33,12 +33,14 @@
|
||||
client_identities = [ "siredward" ];
|
||||
};
|
||||
filesystems = {
|
||||
"SERVICE/volumes" = true;
|
||||
"DATA/service/config<" = true;
|
||||
"DATA/service/data<" = true;
|
||||
"DATA/storage<" = true;
|
||||
};
|
||||
snapshotting = {
|
||||
type = "periodic";
|
||||
prefix = "SN_";
|
||||
interval = "1h";
|
||||
prefix = "NN_";
|
||||
interval = "2h";
|
||||
};
|
||||
}];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user