less snaps for nvr
monthly snap was taking up 1.5tb of nvme
This commit is contained in:
parent
240f1ede65
commit
86674c4821
2 changed files with 8 additions and 3 deletions
|
@ -10,11 +10,16 @@
|
|||
daily = 7;
|
||||
monthly = 12;
|
||||
};
|
||||
"nvr" = {
|
||||
autoprune = true;
|
||||
autosnap = true;
|
||||
hourly = 24;
|
||||
daily = 7;
|
||||
};
|
||||
};
|
||||
datasets = {
|
||||
"nahar/scrypted" = {
|
||||
useTemplate = [ "production" ];
|
||||
recursive = true;
|
||||
useTemplate = [ "nvr" ];
|
||||
};
|
||||
"nahar/containers/volumes/plex" = {
|
||||
useTemplate = [ "production" ];
|
||||
|
|
|
@ -219,7 +219,7 @@ in
|
|||
description = "Create and mount nightly ZFS snapshot";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${lib.getExe resticSnapAndMount}";
|
||||
ExecStart = "${resticSnapAndMount}/bin/zfs-nightly-snap";
|
||||
};
|
||||
requires = [ "zfs.target" ];
|
||||
after = [ "zfs.target" ];
|
||||
|
|
Loading…
Reference in a new issue