Backup & Restore

get

Get a backup/restore item details

Path parameters
idinteger · int64Required

The unique identifier held by the backup Lenses store

Responses
application/json
objectOptional
get
GET /api/v1/environments/{name}/proxy/api/v1/s3/backups/{id} HTTP/1.1
Host: 
Accept: */*
{
  "id": 1,
  "createdAt": 1,
  "type": "Backup",
  "topic": "text",
  "connectCluster": "text",
  "connectorName": "text",
  "connectorVersion": "text",
  "s3Location": "text",
  "reference": "text"
}
post

Back up a topic to S3. You must configure the bucket, optional prefix and the flush settings.

Path parameters
topicstringRequired

The topic name

Body
clusterstringRequired
s3objectRequired
flushobjectOptional
Responses
application/json
objectOptional
post
POST /api/v1/environments/{name}/proxy/api/v1/kafka/topic/{topic}/backup HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 99

{
  "cluster": "text",
  "s3": {
    "bucket": "text",
    "prefix": "text"
  },
  "flush": {
    "count": 1,
    "size": 1,
    "interval": 1
  }
}
{
  "id": 1,
  "connector": "text",
  "cluster": "text"
}
delete

Delete a backup/restore item

Path parameters
idinteger · int64Required

The unique identifier held by the backup Lenses store

Responses
delete
DELETE /api/v1/environments/{name}/proxy/api/v1/s3/backups/{id} HTTP/1.1
Host: 
Accept: */*

No content

get

List all backup/restore items

Responses
application/json
object[]Optional
get
GET /api/v1/environments/{name}/proxy/api/v1/s3/backups HTTP/1.1
Host: 
Accept: */*
[
  {
    "id": 1,
    "createdAt": 1,
    "type": "Backup",
    "topic": "text",
    "connectCluster": "text",
    "connectorName": "text",
    "connectorVersion": "text",
    "s3Location": "text",
    "reference": "text"
  }
]

Last updated

Was this helpful?