[pbs-devel] [PATCH proxmox-backup 0/2] let users control the amount of task logs saved

Dominik Csapak d.csapak at proxmox.com
Fri Mar 25 12:43:39 CET 2022

by providing a 'task-log-max-days' property which controls how many
days (approximately) we save.

simpler way would be to configure the amount of archive files, but
that does not really translate into a nice user setting (that concept
is not really visible to users)

alternatively we could change the logrotation that it rotates by
date/time instead of size/filecount.

there is no gui yet, but should not be hard to do and one can do
 proxmox-backup-manager node update --task-log-max-days 365

Dominik Csapak (2):
  config/node: add 'task_log_max_days' config
  rest-server: add option to rotate task logs by 'max_days' instead of

 proxmox-rest-server/src/worker_task.rs | 49 +++++++++++++++++++++++---
 src/api2/node/config.rs                |  4 +++
 src/bin/proxmox-backup-proxy.rs        |  6 ++++
 src/config/node.rs                     |  4 +++
 4 files changed, 59 insertions(+), 4 deletions(-)


More information about the pbs-devel mailing list