Create a restore
Can be used by the following roles assigned at the organization, folder or cluster scope:
- CLUSTER_ADMIN
- CLUSTER_OPERATOR_WRITER
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the cluster where the backup will be restored.
Body
CLUSTER, DATABASE, TABLE The ID of the backup from which data will be restored. If backup_id is not set, the restore will use the latest available backup from source_cluster_id.
The list of objects to restore. Required when type is DATABASE or TABLE.
The ID of the cluster containing the backup to be restored.
Response
A successful response.
The timestamp at which the backup data was captured.
The ID of the backup used for this restore job.
The percentage of the restore job that has been completed. The value ranges from 0 to 1.
The time at which the restore job was initiated.
The name of the cluster to which the restore is being applied.
The unique identifier associated with the restore.
The name of the cluster from which the backup was taken.
PENDING, SUCCESS, FAILED CLUSTER, DATABASE, TABLE Error code from the restore job, only populated if it has failed.
Error message from the restore job, only populated if it has failed.
The timestamp at which the restore job completed.
The CockroachDB internal job ID for the restore job.
The list of database objects (databases, tables) that were restored.

