Setup zfs auto snapshot for nas
This commit is contained in:
parent
47ca8a1bbc
commit
50ffbc5b57
|
@ -246,6 +246,43 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
sanoid = {
|
||||
enable = true;
|
||||
datasets = {
|
||||
"Primary/becki" = {
|
||||
autoprune = true;
|
||||
autosnap = true;
|
||||
daily = 4;
|
||||
monthly = 3;
|
||||
yearly = 1;
|
||||
};
|
||||
"Primary/gabriel" = {
|
||||
autoprune = true;
|
||||
autosnap = true;
|
||||
daily = 4;
|
||||
monthly = 3;
|
||||
yearly = 1;
|
||||
};
|
||||
"Primary/shared" = {
|
||||
autoprune = true;
|
||||
autosnap = true;
|
||||
daily = 2;
|
||||
monthly = 2;
|
||||
};
|
||||
"Primary/k3scluster" = {
|
||||
autoprune = true;
|
||||
autosnap = true;
|
||||
daily = 2;
|
||||
monthly = 2;
|
||||
};
|
||||
"Primary/gitea" = {
|
||||
autoprune = true;
|
||||
autosnap = true;
|
||||
daily = 2;
|
||||
monthly = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue