Backups

Download a file from a backup

GET
/cloud/project/{project_uuid}/backup/datastore/file-restore/download/

Streams a file from a VM backup. For a directory or virtual disk, returns an archive: .zip by default, .tar.zst when tar=1.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

Query Parameters

filepath*string

Base64-encoded path (filepath from the file listing).

tar?boolean

If true, archive directories as .tar.zst instead of .zip. Defaults to false.

volume*string

Backup ID (volid from the backup list).

Response Body

application/octet-stream

curl -X GET "https://example.com/cloud/project/string/backup/datastore/file-restore/download/?filepath=string&volume=string"
Empty