Problem
Running ProxSave inside a privileged LXC with
pct set XXX -mp0 /,mp=/host,ro=1
pct set XXX -mp1 /etc/pve,mp=/host/etc/pve,ro=1
and .../config/backup.env
SYSTEM_ROOT_PREFIX=/host
already works surprisingly well.
However:
- Proxmox detection still inspects the container root
- host-only commands are skipped even when the host filesystem is available
- absolute symlinks (/etc/ceph/ceph.conf -> /etc/pve/ceph.conf) are not rewritten
Proposal
Introduce a supported something like
HOST_BACKUP_MODE=true
which
- detects Proxmox under SYSTEM_ROOT_PREFIX
- executes host commands through nsenter (optional)
- resolves absolute symlinks relative to SYSTEM_ROOT_PREFIX
- officially supports backup appliances running as HA LXC.
Problem
Running ProxSave inside a privileged LXC with
pct set XXX -mp0 /,mp=/host,ro=1
pct set XXX -mp1 /etc/pve,mp=/host/etc/pve,ro=1
and .../config/backup.env
SYSTEM_ROOT_PREFIX=/host
already works surprisingly well.
However:
Proposal
Introduce a supported something like
HOST_BACKUP_MODE=true
which