Snapshots
Recover from an uploaded snapshot
Recover local collection data from an uploaded snapshot. This will overwrite any data, stored on this node, for the collection. If collection does not exist - it will be created.
post/collections/{collection_name}/snapshots/upload
Path parameters
collection_namestring required
Name of the collection
Query parameters
waitboolean
If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.
priority'no_sync' | 'snapshot' | 'replica'
Defines source of truth for snapshot recovery:
NoSync means - restore snapshot without any additional synchronization. Snapshot means - prefer snapshot data over the current state. Replica means - prefer existing data over the snapshot.
Defines source of truth for snapshot recovery
checksumstring
Optional SHA256 checksum to verify snapshot integrity before recovery.
Response
successful operation
Example response
{
"time": 0.002,
"status": "ok"
}