Skip to content

One backup's manifest and size by bundle id

GET
/v1/console/dr/backups/{id}
curl --request GET \
--url https://example.com/v1/console/dr/backups/example \
--header 'Authorization: Bearer <token>'

Returns one backup’s manifest and size. The id is the bundle’s filename; a malformed id (path separators, dotdot) is rejected before the filesystem is touched.

id
required
string
>= 1 characters

The backup’s bundle id (its filename).

OK

Media type application/json
object
filename
required
string
id
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
size_bytes
required
integer format: int64
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"
}
}