Skip to main content

Test a backup destination

POST 

/backup/destinations/:destinationId/test

Required role: admin. Only an account or token with the admin role can call this operation.

Example request
curl --request POST \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/backup/destinations/{destinationId}/test"

Writes a small file to the destination, reads it back and deletes it. A destination that cannot be reached is a 200 with success false and the reason; a missing rclone is a 424 rclone_missing.

Request​

Responses​

Whether the write, read-back and delete all worked.