I maintain 8 PBS servers. Most of them are version 1.1-9.
I've noticed that in some servers, files in sub directory of /var/log/proxmox-backup/tasks take a lot of space. In one server they use as much as 2.6 GB.
After analyze, I found that:
- The files in these directories are never rotated. (Or stop rotate for a long time.) In some server, there are old files from 2020.
- Most files are from sync job request. The servers without incoming sync request have only few files.
- There are archive.XX.zst files. But it seem that it still keep very old files.
How to make it clear old files and how can I specify rotate parameters. (Such as how long to keep log or how much space it can keep log.)
I've attached list of some files in this directory.
I've noticed that in some servers, files in sub directory of /var/log/proxmox-backup/tasks take a lot of space. In one server they use as much as 2.6 GB.
After analyze, I found that:
- The files in these directories are never rotated. (Or stop rotate for a long time.) In some server, there are old files from 2020.
- Most files are from sync job request. The servers without incoming sync request have only few files.
- There are archive.XX.zst files. But it seem that it still keep very old files.
How to make it clear old files and how can I specify rotate parameters. (Such as how long to keep log or how much space it can keep log.)
I've attached list of some files in this directory.