Restore a Database
You can restore a database cluster in-place from a previous snapshot.
List available snapshots of a cluster
To restore from a snapshot you will need to provide a snapshot ID. You can request a list of all available snapshots:
Our chosen clusterId
is: cc54e0f2-5e49-42bf-97e8-089c2eff0264
Request
Response
Restore from backup in-place
You can now create a restore job for the chosen cluster. Your database will not be available during the restore operation. In order to successfully create a restore job, no other active restore job must exist.
Note: To restore a cluster in-place you can only use snapshots from that cluster.
Note: The cluster will have a BUSY
state and must not receive connections.
Restore snapshot request
Response
The API will respond with a 202 Accepted
status code if the request is successful.
Point in time recovery
Use the recovery target point in time which specifies the exact oplog timestamp that you choose to restore the database cluster.
Point in time recovery request
Response
The API will respond with a 202 Accepted
status code if the request is successful.
Note: Check the cluster details in order to see the progress of the restoration.
Last updated