Unable to make backups to sshfs share


Aug 25, 2019
Hi. I've trying to run backup jobs overnight in a sshfs share, but I keep getting an access denied error

ERROR: Backup of VM 100 failed - mkdir /mnt/vzsnap0: Permission denied at /usr/share/perl5/PVE/VZDump/LXC.pm line 161.

I already changed my /etc/vzdump.conf tempdir variable to several different values, such as /tmp or /var/tmpdir (this one I created myself first), but it doesn't seem to help. It feels like it is ignoring the value and trying to mount on the system where the share is located for no reason at all.
If it's worth nothing, I'm running all my backups in stop mode.

Can anyone help me?

Thank you!
* On a quick hunch (without testing) - how do you mount the sshfs? (`mount` output probably tells enough)
* Can you write to the sshfs-mount as user root? (`echo "test" > /<sshfsmountpoint>/test`)

I hope this helps!


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!