backup
backup copied to clipboard
Unable to use external storage
I got an sftp external storage configured. I verified it's working by copying data to it trough nextcloud. However, the backup app shows "No external storage available.
My external storage setup:
Backup app:
(note the 'unable to fetch external storage' message)
I'm running nc v23.0.0 with backup app v1.0.0 through the official docker image with MySQL as database. I cannot see any error messages in nextcloud.log or docker logs (includes apache error and access logs).
EDIT:
Upon further inspection I found a failed GET request to https://redacted.tld/ocs/v2.php/apps/backup/external
. It's an error 400 with a body
{
"ocs":{
"meta":{
"status":"failure",
"statuscode":400,
"message":"no authentication parameters specified"
},
"data":[]
}
}
Do you have anything in nextcloud.log
?
you can also use:
./occ backup:external:list
and ./occ backup:external:add
Ok, seems that the RSA private key is not supported
Ok, seems that the RSA private key is not supported
Thanks, this helped me out.
I configured 2 external storages, one with sftp password and the second with sftp RSA private key. The storage app would only work if I removed the sftp RSA private key storage. So it seems RSA private key is not only unsupported, but it breaks the backup app if you use sftp RSA at all.
Same problem on my side. Neither a external SFTP storage with public RSA key or a SFTP storage with private RSA key works. (Backup App v1.0.3)
Idem. External SFTP storage with RSA key doesn't work. (Backup App v1.0.3) +-----------+------+----------------+ | StorageId | Path | Storage Folder | +-----------+------+----------------+ In SFTP.php line 106:
no authentication parameters specified
backup:external:list