Recover from an uploaded snapshot (shard)
Recovers the shard of a local collection from an uploaded snapshot. This will overwrite any collection data, which is stored in this shard.
Path parameters
collection_name
Name of the collection
shard_id
Id of the shard to recover
Headers
api-key
Query parameters
wait
If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.
priority
Defines source of truth for snapshot recovery
Allowed values:
checksum
Optional SHA256 checksum to verify snapshot integrity before recovery.
Request
This endpoint expects a multipart form containing an optional file.
snapshot
Response
This endpoint returns an object.
time
Time spent to process this request
status
result