pbs - Interactive Restores - Not restoring empty directories

TangoDelta

New Member
Aug 6, 2025
3
1
3
Sweden
I tried looking, but could not find anything about this.

I am running a postgres container that has a health check script. I deleted the persistent data today to try my backup. It went well, except for some empty folders that did not get restored. I did a partial restore using the following method:

pxar:/ > restore target/ --pattern etc/**

Like in the example here: https://pbs.proxmox.com/docs/backup-client.html#interactive-restores
Just more general.

I thought this would include all directories and subdirectories, but there is probably something I'm missing.

Only reason i noticed was because the health check looks for directories, even if they are empty, therefore health check failed.

Anyone got an idea? Am I just bad at globs? :D
 
Hello,

Is it can be that some of the files/folders has limited permissions?
Did you try to run a full VM recovery for a test?
 
  • Like
Reactions: TangoDelta