proxmox-backup-client static on Ubuntu 18.04.6

MelbourneNerd53

New Member
Jul 1, 2024
4
0
1
Hi,

I'm running the static version of proxmox-backup-client on an older Ubuntu 18.04.6 and it works well.

One minor thing is I see a lot of

processed 10.726 GiB in 11m, uploaded 22.802 MiB
processed 12.007 GiB in 12m, uploaded 67.891 MiB
failed to open file: "blkio.reset_stats": access denied
failed to open file: "blkio.reset_stats": access denied
failed to open file: "blkio.reset_stats": access denied
<etc>
failed to open file: "devices.allow": access denied
failed to open file: "devices.deny": access denied
failed to open file: "devices.allow": access denied
<etc>

and similar in the client output - but the backup otherwise appears to work well.

I think this is just due to the client trying to use cgroups (etc) features that behave differently in later releases of linux, and I'm OK to ignore these. Is this assumption correct?

if so, can I set something in proxmox-backup-client to exclude these being logged? as my backups logs are being clogged with these errors.

proxmox-backup-client version
client version: 4.1.1
 
failed to open file: "blkio.reset_stats": access denied
failed to open file: "blkio.reset_stats": access denied
failed to open file: "blkio.reset_stats": access denied
<etc>
failed to open file: "devices.allow": access denied
failed to open file: "devices.deny": access denied
failed to open file: "devices.allow": access denied
<etc>

and similar in the client output - but the backup otherwise appears to work well.
do you run the proxmox-backup-client as root or as a different user? Most likely the user the pbs client process is executed as does not have permissions to read these files. To exclude, you can use .pxarexclude files or specify them on command invocation, see https://pbs.proxmox.com/docs/backup-client.html#excluding-files-directories-from-a-backup
 
  • Like
Reactions: MelbourneNerd53
I run it as root.

After looking how to get more verbosity from the system I ran proxmox-backup-client with PBS_LOG=trace
and found it is throwing this error while trying to back up files in /var/lib/lxcfs/ when I thought it was trying to access system cgroup files, so will look into excluding this directory - these systems have lxcfs installed on them, which seems to be the cause, not that these are running on an older OS.
 
Last edited: