Setup zfs auto snapshot for nas

This commit is contained in:
Gabriel Simmer 2023-08-25 21:15:33 +01:00
parent 47ca8a1bbc
commit 50ffbc5b57
Signed by: arch
SSH key fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ

View file

@ -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;
};
};
};
};