Skip to main content

Last restore drill

GET 

/backup/drill

Required role: viewer. An account or token with the viewer or admin role can call this operation.

Example request
curl --request GET \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/backup/drill"

The result of the most recent restore drill: whether the newest config archive on each enabled backup destination could be fetched, opened the way a restore opens it, and verified, and when. lastRun is absent until a drill has run. 501 not_configured when this daemon has no backup service. When the next drill is due is in getSchedules, under the restore_drill job.

Responses​

The last drill's result.