Run a Backup Definition

Run the given backup definition.

GET /api/backup/definitions/<ID>

Requests the that a backup definition should be run now. The response contains the ID of the backup result that was created

Example Request

# Request
# Use user:password for authorization
GET /api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584/execute HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
"6ed666d2-963a-41f9-972f-dc18d95506b5"

Application Example

# Browser access
http://127.0.0.1:9000/api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584/execute
 
# Shell access using curl
curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584/execute"
 
# Shell access using curl using username and password
curl -Lsu username:password "http://127.0.0.1:9000/api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584/execute"