Recover from a snapshot (shard)

Recovers the shard of a local collection from a snapshot. This will overwrite any collection data, which is stored in this shard.

Path parameters

collection_namestringRequired
Name of the collection
shard_idintegerRequired
Id of the shard to recover

Headers

api-keystringRequired

Query parameters

waitbooleanOptional

If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.

Request

This endpoint expects an object.
locationstringRequired
priorityenum or anyOptional
checksumstringOptional
Optional SHA256 checksum to verify snapshot integrity before recovery.

Response

successful operation
timedouble or null
Time spent to process this request
statusstring or null
resultboolean or null