Keep last 24 hourly backups.
This commit is contained in:
parent
ecf993643d
commit
ccc9468d43
2 changed files with 7 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
services.prometheus.exporters.node = {
|
||||
enable = true;
|
||||
enabledCollectors = [ "systemd" ];
|
||||
};
|
||||
}
|
|
@ -22,6 +22,7 @@
|
|||
'';
|
||||
timerConfig.OnCalendar = "hourly";
|
||||
pruneOpts = [
|
||||
"--keep-hourly 24"
|
||||
"--keep-daily 7"
|
||||
"--keep-weekly 5"
|
||||
"--keep-monthly 12"
|
||||
|
|
Loading…
Add table
Reference in a new issue