Backup and restore
Create, list, retrieve, and delete backups, and start, list, and cancel restores.
Backup and restore endpoints require the upgraded storage engine, enabled with the --use-pacha-tree flag, and a compactor node that runs the backup and restore engine. If the storage engine is not present on the node, these endpoints return 503 Service Unavailable. All endpoints require an admin (operator) token or admin user.
Backups and restores run asynchronously: starting one returns immediately with a handle that you poll for status. Only one restore can run cluster-wide at a time.
/api/v3/enterprise/backupList backups
Lists all full backups.
Requires an admin (operator) token. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
curl --request GET \
"https://localhost:8181/api/v3/enterprise/backup" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
backups
required
object[]data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/backupStart a backup
Registers and asynchronously starts a full backup. Returns immediately with the resolved backup name and an in-progress acknowledgement.
Backups run asynchronously. Poll List backups or Get a backup to track progress.
Requires an admin (operator) token. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Request body required
application/jsonforce
booleanname
stringtype
required
stringfull backups are supported.full{
"force": false,
"name": "nightly-backup",
"type": "full"
}curl --request POST \
"https://localhost:8181/api/v3/enterprise/backup" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"force":false,"name":"nightly-backup","type":"full"}'Responses
backup_name
required
stringstatus
required
string{
"backup_name": "nightly-backup",
"status": "in_progress"
}Request failed. Possible reasons:
- Invalid database name
- Malformed request body
- Invalid timestamp precision
data
objecterror
stringdata
objecterror
stringdata
objecterror
stringforce is false, or a duplicate backup job is already in flight.data
objecterror
stringdata
objecterror
string/api/v3/enterprise/backupCancel a running backup
Cancels an in-progress backup job by name.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Request body required
application/jsonname
required
string{
"name": "nightly-backup"
}curl --request DELETE \
"https://localhost:8181/api/v3/enterprise/backup" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"name":"nightly-backup"}'Responses
backup_name
required
string{
"backup_name": "nightly-backup"
}Request failed. Possible reasons:
- Invalid database name
- Malformed request body
- Invalid timestamp precision
data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/backup/{name}Get a backup
Returns a single backup’s manifest.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Parameters
Path parameters
name
required
stringcurl --request GET \
"https://localhost:8181/api/v3/enterprise/backup/{name}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/backup/{name}Delete a backup
Deletes a backup by name.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Parameters
Path parameters
name
required
stringcurl --request DELETE \
"https://localhost:8181/api/v3/enterprise/backup/{name}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
backup_name
required
stringtype
required
string{
"backup_name": "nightly-backup",
"type": "full"
}data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/restoreList restores
Lists every restore for the cluster, newest first, including in-flight and completed restores.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
curl --request GET \
"https://localhost:8181/api/v3/enterprise/restore" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
restores
required
object[]data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/restoreStart a restore
Registers and asynchronously starts a restore from a named backup. Returns a restore_id handle for tracking and cancellation.
Restores run asynchronously. Poll Get a restore to track progress. Only one restore can run cluster-wide at a time; if a restore is already running, this endpoint returns 409 Conflict.
Requires an admin (operator) token. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Request body required
application/jsonbackup_name
required
string{
"backup_name": "nightly-backup"
}curl --request POST \
"https://localhost:8181/api/v3/enterprise/restore" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{"backup_name":"nightly-backup"}'Responses
restore_id
required
stringstatus
required
string{
"restore_id": "01J8X9Z0ABCDEF",
"status": "in_progress"
}backup_name is empty.data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/restore/{id}Get a restore
Reports a restore’s state by restore_id. Reads the persisted manifest, so it works for in-flight and completed restores.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node; otherwise the endpoint returns 503 Service Unavailable.
This endpoint is only available in InfluxDB 3 Enterprise.
Parameters
Path parameters
id
required
stringrestore_id returned when the restore started.curl --request GET \
"https://localhost:8181/api/v3/enterprise/restore/{id}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
backup_name
required
stringcompleted_at
string <date-time>created_at
required
string <date-time>restore_id
required
stringstatus
required
stringtotal_files
required
integer <int64>total_size_bytes
required
integer <int64>{
"backup_name": "nightly-backup",
"completed_at": null,
"created_at": "2025-06-16T03:00:00Z",
"restore_id": "01J8X9Z0ABCDEF",
"status": "in_progress",
"total_files": 128,
"total_size_bytes": 524288000
}data
objecterror
stringdata
objecterror
stringdata
objecterror
stringdata
objecterror
string/api/v3/enterprise/restore/{id}Cancel a running restore
Cancels an in-flight restore by restore_id.
Requires an admin (operator) token or admin user. Requires the upgraded storage engine (enabled with the --use-pacha-tree flag) present on a compactor node.
This endpoint is only available in InfluxDB 3 Enterprise.
Parameters
Path parameters
id
required
stringrestore_id returned when the restore started.curl --request DELETE \
"https://localhost:8181/api/v3/enterprise/restore/{id}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
stringdata
objecterror
stringdata
objecterror
stringWas this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB 3 Enterprise and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support. Customers using a trial license can email trial@influxdata.com for assistance.