If the platform's public SSH key is not specified on the external storage, VM backups will not be written to that storage. To check the key:
- Connect to the server with the platform via SSH.
- Get the public key:
docker exec -it vm_box curl -k -X GET -H 'internal-auth: on' -H 'Service: vm' -H 'Content-Type: application/json' 'http://input:1500/vault/v4/value/ssh_pub'
- Copy or save the public platform key.
- Connect to the external storage via SSH. Use the login and port specified in the storage connection settings.
- Check the contents of the public key in the ~/.ssh/authorized_keys file.
- If the content of the key does not match the platform's public key, delete the wrong key and add the correct one.