mountpoint missing after restoring a backup

Jan 31, 2021
6
0
6
38
Hi,
today I've tried to restore a backup from one of my CT's.
After the backup was restored, I've noticed that the application could not access to its storage as I would have expected.
The storage was a folder on a ZFS volume - and after checking the container's config file, I just noticed that the mountpoint which I had configured was missing.

Here's the configuration:

Code:
arch: amd64
cores: 4
features: nesting=1
hostname: emby-server
memory: 15259
mp0: /volume2/media/,mp=/volume2/media
nameserver: 192.168.52.251
...

After addint the mp0 manually, everything was working again, but I wonder why this parameter was missing after restore.
at the moment, I am just concerned, that none of my backups (of several containers) would restore their mountpoints - at least, when they have been added manually to the containers configuration file... ?!

Does anyone know why this might be the case and how I could prevent this from happening again?

thanks!
 
check the restore log - bind mounts are not restored when restoring as unprivileged user (they require root privileges to be added in the first place, so the same applies on restore as well). if the bind mount entry was part of the backed-up config, the restore task log should contain a warning referencing this fact.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!