惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Schneier on Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
T
The Exploit Database - CXSecurity.com
T
Tenable Blog
Latest news
Latest news
P
Proofpoint News Feed
P
Privacy International News Feed
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
O
OpenAI News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Help Net Security
aimingoo的专栏
aimingoo的专栏
月光博客
月光博客
Engineering at Meta
Engineering at Meta
NISL@THU
NISL@THU
罗磊的独立博客
C
Cyber Attacks, Cyber Crime and Cyber Security
WordPress大学
WordPress大学
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
News | PayPal Newsroom
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Google DeepMind News
Google DeepMind News
C
CERT Recently Published Vulnerability Notes
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Y
Y Combinator Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
TaoSecurity Blog
TaoSecurity Blog
A
About on SuperTechFans
人人都是产品经理
人人都是产品经理
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 叶小钗
L
LangChain Blog
I
InfoQ
The Last Watchdog
The Last Watchdog
腾讯CDC
W
WeLiveSecurity
I
Intezer
S
Security @ Cisco Blogs
Spread Privacy
Spread Privacy
有赞技术团队
有赞技术团队
Simon Willison's Weblog
Simon Willison's Weblog
The Cloudflare Blog
宝玉的分享
宝玉的分享
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

Proxmox Support Forum

[SOLVED] - Github Auth for Mirrors-Kernel Repo? [Automation] Mass migration tool for MS Win11/Server Proxmox GUI hang - not response is it possible to reject or quarantine spam based on conditions I set ? The PVENode task list in PVE9 is partially obscured due to the terminal font being too large. About 100% error reporting due to pveproxy.service hooks Kubernetes overlay networking breaks when upgrading from PVE 9.1 to PVE 9.2.3 Zentraler Speicher No space left on device Combine datastore and direct file archival to tape Kernel panic VFS: Unable to mount root fs on unknown-block (0,0) sobald ein 7.x Kernel verwendet wird. How to migrate disk of a VM from one ZFS to another Windows Server 2025 fails to boot after PVE 9.2 / Linux 7.0 Kernel upgrade Cannot Install Proxmox on T610 Poweredge with H700 PERC card sdn Config. gateway not reachable How to safely change domain/FQDN? Welche Filterquote erreicht ihr? NFS Share status unknown on 2 of 5 nodes Can't connect to PVE9 consoles [solved] Can't connect to PVE9 consoles [solved] [SOLVED] - Use secondary network for PVE commands Created cluster, one node storage gone BUG: proxmox mail gateway FROM = null bypass spam filtering Moving existing PBS from VMWare workstation to PVE cluster Does eBGP SDN fabric support external peering? Bug: PDM 1.1 not recognizing valid license status Proxmox GUI hang - not response PVE crashes unexpectedly Proxmox Backup Server 4.2 released! Advice ceph-osd crashes with kernel 6.17.2-1-pve on Dell system [META] Links on Proxmox Forum Website Hardwarer oder Software RAID Joining a cluster with already created guests VM PDM missing backup jobs from PVE / Log retention Remove VM.Monitor from all users/roles, PVE 9.2 Proxmox Freezing (new instalation) 9.2.2 - Intel 12700T No Web gui and random connection reset by peer [SOLVED] - i40e module for X710 Intel NIC Dutch Proxmox Day 2026 How pools use the space Corosync initiiert Reboot trotz Verfügbarkeit der Systeme Opt-in Linux 7.0 Kernel for Proxmox VE 9 available After PVE 8to9 upgrade, unable to check guest fs freeze status Problem with MegaRAID SAS3508 controller proxmox-kernel-7.0.2-6-pve failing network service Auto sync guest time after rollback of VM snapshot with RAM/state Broadcom BCM57504 (100G) bnxt_en TX timeout and NIC reset on Proxmox 8.1.5 — while BCM57414 (25G) works fine on same host QEMU 11.0 available on pve-test and pve-no-subscription as of now 350 MPM Solventless Lamination Machine for High-Speed Flexible Packaging Making sense of NVMe zfs and SMART errors [SOLVED] - PVE loses network connection after kernel upgrade to proxmox-kernel-7.0.0-3-pve [SOLVED] - Remove or reset cluster configuration. Proxmox 8.4.1 Fresh Install BCM57416 10G Ethernet Adapter Not Recognized PDM 1.1.1 unable to add AD realm with anonymous search [TUTORIAL] - Developer Workstation (Proxmox-VE 9) with cinnamon (LMDE7) SDN zone shows "pending" on peer nodes after node reboot (9.2.x) Cluster not quorate - extending auth key lifetime! Proxmox not rebooting properly (SOLVED) Proxmox 9 Stuck on loading initial ramdisk With new HA-Disarm Feature is there a Documentation for NUT Setup on Clusters? Proxmox 8.3 Installation Issue on ProLiant DL380 Gen9 Cluster networking setup LXC System images unavailable [SOLVED] - Fix: NVIDIA Drivers Failing after upgrade to Proxmox 9.2.2 (Kernel 7.0.2-6-pve) / NovaCore Conflict Install NUT directly on Proxmox VE and control guests from here driver usb for windows 7 System startup error and no network: Failed to start ifupdown2-pre.service - Helper to synchronize boot up for ifupdown. PBS backup space grow up constantly Proxmox Datacenter Manager 1.1 released! IPv4 not available in newly created VM Recommended Setup for Offsite Proxmox Backups? Hetzner Storage Box & Remote PBS Challenges duplicate, please delete this passthrought an USB device "by ID" to CT PDM Installer Freezes at 66% Tried PDM for the first time (version 1.1) - had issues PDM 1.1 automated install Suche Server-Provider für Proxmox connecting sdn to edge firewall SDN, IPAM & DHCP Migrating from read-only file system Ubuntu 26.04 installation fails for unknown reason Status Unbekannt nach Cluster Join Installing Proxmox Backup Server on Mac Mini (Late 2012) kernel 7.0 performance issue with zfs pools PVE becomes unreachable via ethernet but OS is running [SOLVED] - New 9.2 install - can't find 7.0.2-6-pve , not all the time [SOLVED] - Backup and dedupe a VM with LUKS Gibt es mit PVE 2.x ggf. Änderungen bei der RAM-Nutzung, bzw. deren Anzeige bei VMs? I need help for setting up backup solution Way more NAGware, very little functionality, bugs galore Root squashing virtiofsd with --uid-map Intel ixgbe Driver Update Fail Passkey Login (not 2FA) Roblox VM detection - can be overcome? [TUTORIAL] - ZFS-Autosnaptshot inkl. Rollback und Daten direkt recovern (Windows/Linux) How to stop PVE Kernel upgrade [SOLVED] - very long waiting to log in to lxc debian 11 ssh [TUTORIAL] - Configuring Fusion-Io (SanDisk) ioDrive, ioDrive2, ioScale and ioScale2 cards with Proxmox Increase maximum USB devices in vm.conf
[SOLVED] - Proxmox-backup logs
invalid@exam · 2026-06-16 · via Proxmox Support Forum

Hi,

I just noticed that /var/log/proxmox-backup is using quite a lot of space.
It seems as log rotation is not explicitly defined in logrotate.
Is there any other setting that is taking care of this log rotation or can I just use logrotate as for any other logs?

I didn’t find anything related in documentation, so probably rotation can be defined in logrotate as for any other service?

Thanks in advance.

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 those task logs in the webui if you delete them

just out of curiosity, how much space is used? (you can check e.g. with 'du -sh /var/log/proxmox-backup/*')

Hi @dcsapak ,

Thanks for the answer, I will implement this cleaning as you suggested until the feature is available in update.
I guess I can clean the /var/log/proxmox-backup/api as well, actually, better to use logrotate here as the logs are moved daily to zst compressed access.log and auth.log?

The used space of proxmox-backup logs:

Code:

$ du -sh /var/log/proxmox-backup/*
4.8G    /var/log/proxmox-backup/api
4.5G    /var/log/proxmox-backup/tasks

Server uses about 22 Tb of backup data.

I guess I can clean the /var/log/proxmox-backup/api as well, actually, better to use logrotate here as the logs are moved daily to zst compressed access.log and auth.log?

we do not use logrotate but use our own logrotation (since we can then use zstd which should be better than gzip) in the proxmox-backup-proxy (which is not configurable at the moment, though you can open a feature request here if you want: https://bugzilla.proxmox.com)
deleting old logs manually should not be a problem though

also, can you show the content of /var/log/proxmox-backup/api ? it may be that the daemon did not rotate because of a bug (fixed in git but also not yet rolled out). that could be fixed by restarting proxmox-backup-proxy (systemctl restart proxmox-backup-proxy) but beware, that will abort running tasks (backup/restore/etc)

Sure, this was output (I removed archived one manually):

Code:

total 4.6G
-rw-r--r-- 1 backup backup 4.3G Oct 19 10:26 access.log.1
-rw-r--r-- 1 backup backup 2.6M Jun  5 00:00 access.log.10.zst
-rw-r--r-- 1 backup backup 2.7M Jun  4 00:00 access.log.11.zst
-rw-r--r-- 1 backup backup 2.6M Jun  3 00:00 access.log.12.zst
-rw-r--r-- 1 backup backup 1.7M Jun  2 00:00 access.log.13.zst
-rw-r--r-- 1 backup backup  34M Aug 21 00:00 access.log.2.zst
-rw-r--r-- 1 backup backup 166M Aug 11 00:00 access.log.3.zst
-rw-r--r-- 1 backup backup 3.4M Jun 11 00:00 access.log.4.zst
-rw-r--r-- 1 backup backup 2.7M Jun 10 00:00 access.log.5.zst
-rw-r--r-- 1 backup backup 2.7M Jun  9 00:00 access.log.6.zst
-rw-r--r-- 1 backup backup 2.7M Jun  8 00:00 access.log.7.zst
-rw-r--r-- 1 backup backup 2.6M Jun  7 00:00 access.log.8.zst
-rw-r--r-- 1 backup backup 2.6M Jun  6 00:00 access.log.9.zst
-rw-r--r-- 1 backup backup 7.2M Oct 19 10:26 auth.log
-rw-r--r-- 1 backup backup  33M Oct 18 23:59 auth.log.1
-rw-r--r-- 1 backup backup 286K Oct  3 00:00 auth.log.10.zst
-rw-r--r-- 1 backup backup 284K Oct  1 00:00 auth.log.11.zst
-rw-r--r-- 1 backup backup 309K Sep 29 00:00 auth.log.12.zst
-rw-r--r-- 1 backup backup 286K Sep 27 00:00 auth.log.13.zst
-rw-r--r-- 1 backup backup 305K Oct 19 00:00 auth.log.2.zst
-rw-r--r-- 1 backup backup 285K Oct 17 00:00 auth.log.3.zst
-rw-r--r-- 1 backup backup 300K Oct 15 00:00 auth.log.4.zst
-rw-r--r-- 1 backup backup 311K Oct 13 00:00 auth.log.5.zst
-rw-r--r-- 1 backup backup 289K Oct 11 00:00 auth.log.6.zst
-rw-r--r-- 1 backup backup 295K Oct  9 00:00 auth.log.7.zst
-rw-r--r-- 1 backup backup 261K Oct  7 00:00 auth.log.8.zst
-rw-r--r-- 1 backup backup 268K Oct  5 00:00 auth.log.9.zst

Well, seems that restart of proxmox-backup-proxy did some rotate as I had this:

Code:

ll api/
total 4.6G
-rw-r--r-- 1 backup backup 4.6G Oct 19 13:45 access.log.1
-rw-r--r-- 1 backup backup  11M Oct 19 13:45 auth.log
-rw-r--r-- 1 backup backup  35M Oct 18 23:59 auth.log.1

(so access.log was missing), after restart of the service it is here:

Code:

$ ll api/
total 4.6G
-rw-r--r-- 1 backup backup  407 Oct 19 13:45 access.log
-rw-r--r-- 1 backup backup 4.6G Oct 19 13:45 access.log.1
-rw-r--r-- 1 backup backup  11M Oct 19 13:45 auth.log
-rw-r--r-- 1 backup backup  35M Oct 18 23:59 auth.log.1

BTW, the proxmox-backup-manager is still on the version 1.1.13. We are planning upgrade.

Thanks for this clarification.

@dcsapak Was this fixed already?

On our server the following logs are quiet huge. We currently solved this by switching log rotate to daily.

Code:

- proxmox-backup = 10 GiB
- daemon.log = 4 GiB
- syslog = 2 GiB

we did fix some log rotation related things, namely the cleanup would not continue if it encountered an error... but this only affects the proxmox-backup logs, the syslog + daemon.log are managed by logrotate

Any other systems that cause big daemon.log files?
Could you build a command to manually force log rotation for PBS related logs?

Any other systems that cause big daemon.log files?

i'd check the content of the log to determine what it fills...

Could you build a command to manually force log rotation for PBS related logs?

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?

Hi,
I'm facing the same issue, in particular, my garbage collection tasks log occupies around 1.1GB of space (there are like 5 million warning inside, which i can't see cause webgui crashes).

Where can i use this "proxmox-backup-manager node update --task-log-max-days N" code? And when will it delete the older logs to give me a bit of time to investigate further the Warning issue?

Thanks in advance

I'm facing the same issue, in particular, my garbage collection tasks log occupies around 1.1GB of space (there are like 5 million warning inside, which i can't see cause webgui crashes).

sounds like there is some serious issue here, you can check the task log manually with
'proxmox-backup-manager task log <UPID>'

Where can i use this "proxmox-backup-manager node update --task-log-max-days N" code? And when will it delete the older logs to give me a bit of time to investigate further the Warning issue?

that is simply a command you can enter on the cli (via ssh or the web console), but this will probably not help if you have few task logs that are big
the log-rotation is triggered every day at midnight

yup, I've entered 60 days and it will delete a bit of logs which will give me a bit of space/time for the analysis.
About the 1.1GB logs instead, i've this situation:

I used to have a daily backup schedule with like 200 VMs
I moved two of em into a new backup schedule (with dedicated datastore on PBS) without deleting the old ones and the warnings are all like this.

Code:

2022-05-13T02:26:11+02:00: WARN: warning: unable to access non-existent chunk 56e479d7042cb81f6dd00db0b80660f8f24b971b092962329f3fb3886757b956, required by "/backup/proxmox/SQLDumps/vm/11273/2022-04-24T21:12:02Z/drive-virtio0.img.fidx"

Is it safe to delete my backups on the older datastore? I think this might solve the issue cause the garbage collection task which gives me pain is the on on the older datastore, while the one on the newer is ok and properly dimensioned

do you have nested datastores? what does your datastore config look like? (/etc/proxmox-backup/datastore.cfg)

normally chunks should not vanish, or what did you move exactly?

Yes, I've nested datastores, this is the config:

Code:

datastore: nfs-em1nas-volume1
    gc-schedule thu 22:00
    keep-daily 7
    keep-last 7
    keep-monthly 6
    keep-weekly 6
    keep-yearly 1
    path /backup/proxmox
    prune-schedule daily

datastore: nfs-truenas-db
    comment
    gc-schedule daily
    keep-daily 11
    keep-last 72
    keep-monthly 6
    keep-weekly 6
    keep-yearly 1
    path /backup/proxmox/SQLDumps
    prune-schedule daily

I didn't "move" anything, i just removed the 2 VMs from the daily backup job on PVE and inserted em in the hourly one

The daily backup is configured on nfs-em1nas-volume1 datastore and the hourly one in the nfs-truenas-db datastore

Right now i have older backups on the daily datastore and the newer ones on the hourly one.

Last edited:

Hi,

despite i've given the "proxmox-backup-manager node update --task-log-max-days 60" i still have older tasks in my folder, here are the examples:

Code:

-rw-r--r--   1 backup backup  1.1G Feb 26 01:56 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.1G Mar  4 13:03 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.1G Mar 11 04:50 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.2G Mar 18 04:14 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.2G Mar 25 04:26 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.2G Apr  1 04:21 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.2G Apr  8 04:59 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.2G Apr 15 05:46 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.2G Apr 22 05:25 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.2G Apr 29 05:03 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.2G May  6 05:16 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:
-rw-r--r--   1 backup backup  1.3G May 13 06:05 UPID:[edited]:garbage_collection:nfs\x2dem1nas\x2dvolume1:root@pam:

If i check the /etc/proxmox-backup/node.cfg file it's empty, how can i check that the PBS has correctly taken/understood the above command?
This is my backup manager version:

Code:

proxmox-backup             2.1-1        running kernel: 5.13.19-2-pve
proxmox-backup-server      2.1.5-1      running version: 2.1.2       
pve-kernel-helper          7.1-14                                    
pve-kernel-5.13            7.1-9                                     
pve-kernel-5.4             6.4-10                                    
pve-kernel-5.13.19-2-pve   5.13.19-4                                 
pve-kernel-5.4.151-1-pve   5.4.151-1                                 
pve-kernel-5.4.65-1-pve    5.4.65-1                                  
ifupdown2                  3.1.0-1+pmx3                              
libjs-extjs                7.0.0-1                                   
proxmox-backup-docs        2.1.5-1                                   
proxmox-backup-client      2.1.5-1                                   
proxmox-mini-journalreader 1.2-1                                     
proxmox-widget-toolkit     3.4-7                                     
pve-xtermjs                4.16.0-1                                  
smartmontools              7.2-pve2                                  
zfsutils-linux             2.1.4-pve1

thanks for the advice, I'll work on it.

Aside from that the main issue is that the task log rotation is not working, see #16 post for more details, this is the log in my "Log rotation" task

Code:

2022-05-15T00:00:00+02:00: starting task log rotation
2022-05-15T00:00:00+02:00: task log archive was not rotated
2022-05-15T00:00:00+02:00: API access log was not rotated
2022-05-15T00:00:00+02:00: API authentication log was rotated
2022-05-15T00:00:00+02:00: TASK OK

Last edited:

the log rotation only works on our 'index' (/var/log/proxmox-backup/tasks/archive.*) files, so only if those rotate out, then will task logs be removed
thats why i said:

but this will probably not help if you have few task logs that are big

if i do here:

Code:

proxmox-backup-manager node update --task-log-max-days 60

my /etc/proxmox-backup/node.cfg contains:

instead of trying to solve it that way, i'd rather fix the underlying issue of yours that you nested datastores

you can of course manually delete those task logs for now, ofc you won't be able to view those tasks logs anymore

Ok, thanks for the info, a couple more questions, given that i'm already pursuing the double, not nested, datastores.

1. Why if i type "proxmox-backup-manager node update --task-log-max-days 60" it doesn't appear in my node.cfg config?
my version on another server is the latest and it still doesn't appear, any idea on how i can troubleshoot that? Can i type it directly in the node.cfg and restart proxmox-backup-manager?

2. When does a log task ends up in the archive? Cause some of those logs are definitely older than 60 days, and after I've a clean situation with the double datastore, I'd like to slowly cleanup those bigger logs

Many thanks for the help