[HELP NEEDED] Datacenter full backup on a shared server from Synology?

Akhademik

New Member
Jun 6, 2023
23
7
1
I have a folder call ProxShared on Synology NAS. I successfully shared and mounted to Proxmox server.

I tried to do a fully backup from my Proxmox and saved it to the ProxShared instead of using its own storage then i got the message premission denied

Screenshot 2023-06-17 at 12.59.50.png

After awhile i realize that i had some containers, some of them with un-privilege and some with privilege access. The one that cause the error is the one with un-privilege ( also included some of the ct templates with un-privilege). Could anyone tell me how to fix this? I read on internet that we need to do a user mapping something in the un-privilege so it have the permission for the process. But i was thinking is it possible to create a group call backup and set that group have root right then i'll just add the current user of those containers to the backup group to have the right to do the backup?

Hope to hear from you guys soon. Thanks
 
https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
All of the UIDs (user id) and GIDs (group id) are mapped to a different number range than on the host machine, usually root (uid 0) became uid 100000 (...)

https://forum.proxmox.com/threads/b...hr-grund-war-unprivileged-lxc-container.65956
There are different ways like:
  • Configure the uid 100000 on your Synology NAS
  • Add 'tmpdir: /tmp' to your /etc/vzdump.conf if your /tmp is big enough to hold your biggest unprivileged container
  • Use CIFS
 
  • Like
Reactions: Akhademik