Skip to content

Upload a raw .drbundle file for restore pre-flight (the body is the file's verbatim bytes, at most 10 GiB); the manifest is inspected and returned with the upload id

POST
/v1/console/dr/restore/upload
curl --request POST \
--url https://example.com/v1/console/dr/restore/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/octet-stream' \
--data binary

Uploads a raw .drbundle file for restore pre-flight. The body is the file’s verbatim bytes (at most 10 GiB); the manifest is inspected and returned with the upload id, which the apply step consumes.

Media type application/octet-stream
string format: binary

OK

Media type application/json
object
filename
required
string
manifest
required
object
created_at
required

The instant the backup was taken; RPO at a disaster is time-of-disaster minus this.

string format: date-time
engine
required
string
Allowed values: sqlite postgres
engine_version

The engine binary version that produced the bundle.

string
format
required

The manifest format; a reader rejects an unknown format.

string
upload_id
required
string
Example
{
"manifest": {
"engine": "sqlite"
}
}

Bad request

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Unauthenticated

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Forbidden

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Not found

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Conflict / setup required

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Rate limited

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}