add borg prune options
This commit is contained in:
parent
25b0da7db4
commit
6c85340a7f
2 changed files with 14 additions and 0 deletions
|
@ -50,6 +50,13 @@
|
||||||
$(journalctl -u borgbackup-job-crashRsync.service|tail -n 5)" \
|
$(journalctl -u borgbackup-job-crashRsync.service|tail -n 5)" \
|
||||||
https://ntfy.cything.io/chunk
|
https://ntfy.cything.io/chunk
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
prune.keep = {
|
||||||
|
within = "1d";
|
||||||
|
daily = "7d";
|
||||||
|
weekly = 4;
|
||||||
|
monthly = -1;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -231,6 +231,13 @@
|
||||||
$(journalctl -u borgbackup-job-ytnixRsync.service|tail -n 5)" \
|
$(journalctl -u borgbackup-job-ytnixRsync.service|tail -n 5)" \
|
||||||
https://ntfy.cything.io/chunk
|
https://ntfy.cything.io/chunk
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
prune.keep = {
|
||||||
|
within = "1d";
|
||||||
|
daily = "7d";
|
||||||
|
weekly = 4;
|
||||||
|
monthly = -1;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.btrbk.instances.local = {
|
services.btrbk.instances.local = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue