recoverSnapshot

abstract suspend fun recoverSnapshot(name: String, location: String, priority: SnapshotPriority? = null, checksum: String? = null, wait: Boolean = true)

Recover collection name from a snapshot at location — an http(s):// URL (e.g. another node's snapshot) or a file:/// path the server can read.

Parameters

priority

which data wins if the collection has replicas (see SnapshotPriority).

checksum

optional SHA-256 checksum verified before recovery.

Throws

if the collection does not exist.