{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
Download a Result
Download a selected backup result as zip file.
Note:The results can be accessed in two different ways.
GET /api/backup/results/<ID>/download
GET /api/backup/definitions/<ID>/results/<ID>/download
Requests the download of a given backup result. The request may contain a parameter to select certain aspects of the backup result.
REQUEST Parameter | Value Type | Description |
---|---|---|
tasks | string | A comma separated list of tasks to export. See result details for the list of tasks in the selected backup result |
Example Request
Note: Only one of the GET lines can be used at the same time. They represent alternatives.
# Request # Use user:password for authorization GET /api/backup/results/6ed666d2-963a-41f9-972f-dc18d95506b5/download HTTP/1.1 GET /api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584/results/6ed666d2-963a-41f9-972f-dc18d95506b5/download HTTP/1.1 Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u # Response HTTP/1.1 200 OK Content-Type: application/zip <BINARY DATA>
Application Example
# Browser access http://127.0.0.1:9000/api/backup/results/6ed666d2-963a-41f9-972f-dc18d95506b5/download http://127.0.0.1:9000/api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584/results/6ed666d2-963a-41f9-972f-dc18d95506b5/download # Shell access using curl curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/backup/results/6ed666d2-963a-41f9-972f-dc18d95506b5/download" # Shell access using curl using username and password curl -Lsu username:password "http://127.0.0.1:9000/api/backup/results/6ed666d2-963a-41f9-972f-dc18d95506b5/download" curl -Lsu username:password "http://127.0.0.1:9000/api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584/results/6ed666d2-963a-41f9-972f-dc18d95506b5/download"