Unable to backup to root DIR (SFTP)



So I’ve noticed whilst attempting to get SFTP working as a backup solution that we’re unable to backup to the root directory.

For example;

I’ve had to some something ‘hacky’ to get round it;

Is this something that will be fixed in an upcoming version?


You can use double slash to point to the root directory, like sftp://blah@blah.com//absolute/path

With a single slash the storage path will always start with the home directory. For example sftp://username@blah.com/path means the storage will be at /home/username/path.