Unable to backup to root DIR (SFTP)


#1

Hello,

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;
sftp://blah@blah.com/

I’ve had to some something ‘hacky’ to get round it;
sftp://blah@blah.com/…/

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


#2

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.