Hyper-V Backup, Permission denied reading /run/user/*/doc

Posted on

The Hyper-V VSS daemon runs as root, but there are some parts of the filesystem that even root cannot access, such as fuse mount points. These are only accessible by the user that creates them, not root.

Consequently, the following error occurs during the initial freeze of a backup, and the backup aborts:

Hyper-V VSS: FREEZE of /run/user/1553/doc failed; error:13 Permission denied

Is there some way to exclude certain parts of the filesystem from the backup?

This is happening on RHEL 7.6,
hypervvssd 0.34.20180415git.el7