M michabbs Well-Known Member May 5, 2020 140 20 58 Jan 3, 2026 #1 My /var/log/proxmox-backup/tasks folder is huge: Code: # cd /var/log/proxmox-backup # du -hs * 85M api 1.1G tasks Is it safe to simply delete it? Why it is not rotated automatically?
My /var/log/proxmox-backup/tasks folder is huge: Code: # cd /var/log/proxmox-backup # du -hs * 85M api 1.1G tasks Is it safe to simply delete it? Why it is not rotated automatically?
Impact Famous Member Sep 12, 2022 1,430 619 123 Jan 3, 2026 #2 [SOLVED] Post in thread 'Proxmox-backup logs' Oct 19, 2021 we recently implmented a cleanup of old task logs https://git.proxmox.com/?p=proxmox-backup.git;a=commit;h=0e1edf19b1c3f4e68e1340b340a6c655846ce095 it's not currently packaged, so it may take a bit until you can update to it. if you really cannot wait, you can manually delete task logs e.g. older than 90 days with Code: find /var/log/proxmox-backup/tasks -type f -name 'UPID*' -mtime +90 -delete (replace the '90' with a value you find appropriate) if you do not give the '-delete' parameter it gives you a list of files that matched note that it will no longer work to view... [SOLVED] Post in thread 'Proxmox-backup logs' May 2, 2022 DerDanilo said: Any other systems that cause big daemon.log files? Click to expand... i'd check the content of the log to determine what it fills... DerDanilo said: Could you build a command to manually force log rotation for PBS related logs? Click to expand... we could do that, but there is (since recently) a config to set the (maximum) days to keep logs Code: proxmox-backup-manager node update --task-log-max-days N it will keep at least N days of task logs (a bit more actually) task log rotation for now is triggered daily at midnight does that help you? Reactions: michabbs
[SOLVED] Post in thread 'Proxmox-backup logs' Oct 19, 2021 we recently implmented a cleanup of old task logs https://git.proxmox.com/?p=proxmox-backup.git;a=commit;h=0e1edf19b1c3f4e68e1340b340a6c655846ce095 it's not currently packaged, so it may take a bit until you can update to it. if you really cannot wait, you can manually delete task logs e.g. older than 90 days with Code: find /var/log/proxmox-backup/tasks -type f -name 'UPID*' -mtime +90 -delete (replace the '90' with a value you find appropriate) if you do not give the '-delete' parameter it gives you a list of files that matched note that it will no longer work to view... [SOLVED] Post in thread 'Proxmox-backup logs' May 2, 2022 DerDanilo said: Any other systems that cause big daemon.log files? Click to expand... i'd check the content of the log to determine what it fills... DerDanilo said: Could you build a command to manually force log rotation for PBS related logs? Click to expand... we could do that, but there is (since recently) a config to set the (maximum) days to keep logs Code: proxmox-backup-manager node update --task-log-max-days N it will keep at least N days of task logs (a bit more actually) task log rotation for now is triggered daily at midnight does that help you?