Trouble restoring VMs

jcalvin

New Member
Nov 28, 2025
2
0
1
Hi

I'm running a Proxmox VE 8.2.7. server and just now joined a cluster. The VM configs all disappeared. I couldn't find the old config files in both /etc/pve/qemu-server and /etc/pve/nodes/server2/qemu-server. I have previously used Proxmox Backup Server 3.4.0 and was hoping to be able to re-install it (the PBS VM also disappeared because it was in the same PVE).

The datastore of the PBS was on my shared folder in NAS. When I re-installed the PBS and added the previously used data store, it said "Datastore not empty". What is the best solution to restoring all the VM configs?

Is there any hidden config files (made prior to joining cluster) stored somewhere else? Or the last resort is to backup from the previous Datastore. And somehow the Datastore directory is a bit messed up, but i still have the /ns/(node name/vm/ .... etc. So is it possible to backup from that folder? Thank you
 
Check
Bash:
namei -l /mnt/nas/pbs
then see here and here. PBS is very particular about permissions. Depending on how you mounted the NAS you might have to add certain mount options and/or mess around with chown/chmod. Perhaps in combination with find. I feel like PBS should add a option/button to fix permissions for a given path. Maybe you could create a feature request for that?

Here's an example of how permissions look for a working datastore
Bash:
# namei -l /mnt/data/datastorename/.chunks/0015/001556...
f: /mnt/data/datastorename/.chunks/0015/001556...
drwxr-xr-x root   root   /
drwxr-xr-x root   root   mnt
drwxr-xr-x root   root   data
drwxr-xr-x backup backup datastorename
drwxr-x--- backup backup .chunks
drwxr-x--- backup backup 0015
-rw-r--r-- backup backup 001556...

backup has a hard coded ID/GID of 34
Bash:
# id backup
uid=34(backup) gid=34(backup) groups=34(backup),26(tape)
 
Last edited:
  • Like
Reactions: templar