Snapshots
Recover from a snapshot
Changed onRecover local collection data from a snapshot. This will overwrite any data, stored on this node, for the collection. If collection does not exist - it will be created.
put/collections/{collection_name}/snapshots/recover
Request
- Base URLhttp://localhost:6333
- Auth
- API key in header api-key
- or HTTP bearer
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Request body
Response
successful operation
Example response
{
"time": 0.002,
"status": "ok"
}Changes
- info
api tag
Snapshotsadded - info
api tag
collectionsremoved - info
api tag
snapshotsremoved
- info