When defining the location of a (ssh) backup virtualmin still tries to write to the root of that serve

I made a remote backup schedule for all virtualmin servers with virtualmin. I defined a ssh server and added the remote location in a subfolder. I haven't got write permissions to the root of the remote scp/ssh server so that's why I used a subfolder.

However, virtualmin still tries to copy some kind of testfile to the root of the ssh server to test for write permissions. In my view it should test the write permissions of the subfolder.

This is the error message I'm getting:

Starting backup of 1 domains to ----------------- on SSH server ------------------ ..
 
Failed to connect to SSH server : scp: virtualmin-copy-test.timonline-backups: permission denied 
Backup failed! See the progress output above for the reason why.
Status: 
Active

Comments

Howdy -- thanks for your report.

I attempted a test on Ubuntu 12.04, where I performed a backup, and had those sent to an SSH server using a non-privileged user. The backup directory is owned by that test user, and above that was owned by root.

I wasn't able to reproduce the issue you're describing though, that actually worked.

To help us reproduce that issue, can you paste in a screenshot of your Scheduled Backups screen?

Also, just to verify -- which Virtualmin version are you using? You'd want to be using the latest, 3.98.