I just want to share the following story to prevent other people from making the same mistake:
I create a (unprivileged) Ubuntu (18.04) container to mimic a physical computer and to learn how to run proxmox-backup-client on another system with an external Proxmox Backup Server. This went very well using some tips from this forum. One of the experiments included writing a/.pxarexclude to exclude the Ubuntu system folders (like /usr, /bin and of cource /dev, /proc etc.) to reduce the size and time of the backup. This worked very well inside the container and is now happily working on the physical computer with the proxmox-backup-client running from a cron job.
This Ubuntu container was (and is) regularly backed up as part of my Proxmox VE vzdump backup regime. Some time later, I was again experimenting within the container and wanted to undo what I had just done by restoring the whole container from backup. This gave a not too serious error about unable to detect the architecture during restore. However, it gave unexpected fatal errors when starting the container. I found that this broken container is missing the Ubuntu system folders like /bin, which explains the earlier errors and the failure to start.
It turns out that the (outside) Proxmox VE vzdump backup also respected the /.pxarexclude in the container, which was only intended for the proxmox-backup-client running inside the container.
This was rather unexpected to me, as I assumed that the whole container was backed up by Proxmox VE like with VMs, but explainable in hindsight. Is this a bug or a feature?
I create a (unprivileged) Ubuntu (18.04) container to mimic a physical computer and to learn how to run proxmox-backup-client on another system with an external Proxmox Backup Server. This went very well using some tips from this forum. One of the experiments included writing a/.pxarexclude to exclude the Ubuntu system folders (like /usr, /bin and of cource /dev, /proc etc.) to reduce the size and time of the backup. This worked very well inside the container and is now happily working on the physical computer with the proxmox-backup-client running from a cron job.
This Ubuntu container was (and is) regularly backed up as part of my Proxmox VE vzdump backup regime. Some time later, I was again experimenting within the container and wanted to undo what I had just done by restoring the whole container from backup. This gave a not too serious error about unable to detect the architecture during restore. However, it gave unexpected fatal errors when starting the container. I found that this broken container is missing the Ubuntu system folders like /bin, which explains the earlier errors and the failure to start.
It turns out that the (outside) Proxmox VE vzdump backup also respected the /.pxarexclude in the container, which was only intended for the proxmox-backup-client running inside the container.
This was rather unexpected to me, as I assumed that the whole container was backed up by Proxmox VE like with VMs, but explainable in hindsight. Is this a bug or a feature?
Last edited: