Hi,
I want to run Proxmox backup as an unprivileged container, which backups to an external HDD.
I got the external HDD part working:
I mount the external HDD as a mount point.
This works fine, and I can see all the backups as they are owned by backup:backup (uid and gid 34).
However the problem is that /etc/proxmox-backup is also owned by backup:backup.
This goes wrong somehow and are actually owned by nobody/nogroup:
Is it even possible to do something like this?
Thank you.
I want to run Proxmox backup as an unprivileged container, which backups to an external HDD.
I got the external HDD part working:
Code:
arch: amd64
cmode: tty
console: 1
cpulimit: 0
cpuunits: 1024
hostname: backup
memory: 2048
mp0: /backup,mp=/backup
net0: name=eth0,bridge=vmbr0,hwaddr=96:CC:76:03:C6:0C,ip=dhcp,type=veth
onboot: 1
ostype: debian
protection: 0
rootfs: local-lvm:vm-110-disk-0,size=10G
swap: 512
tty: 2
unprivileged: 1
lxc.idmap: u 0 100000 34
lxc.idmap: g 0 100000 34
lxc.idmap: u 34 34 1
lxc.idmap: g 34 34 1
lxc.idmap: u 35 100035 65501
lxc.idmap: g 35 100035 65501
I mount the external HDD as a mount point.
This works fine, and I can see all the backups as they are owned by backup:backup (uid and gid 34).
However the problem is that /etc/proxmox-backup is also owned by backup:backup.
This goes wrong somehow and are actually owned by nobody/nogroup:
Code:
# ls -la /etc/ | grep back
drwx------ 2 nobody nogroup 4096 May 22 10:50 proxmox-backup
Is it even possible to do something like this?
Thank you.
Last edited: