Snapshot
Methods related to snapshot management.
createSnapshot() [READ MORE]
This operation creates a snapshot for a collection. A snapshot captures the current state of a collection and its data.
describeSnapshot() [READ MORE]
This operation retrieves detailed information about a specific snapshot.
dropSnapshot() [READ MORE]
This operation deletes a snapshot for a collection.
getRestoreSnapshotState() [READ MORE]
This operation checks the state of a snapshot restore job. Use the jobid returned by restoreSnapshot().
listRestoreSnapshotJobs() [READ MORE]
This operation lists all snapshot restore jobs. You can filter by target collection name and database name.
listSnapshots() [READ MORE]
This operation lists all snapshots for a collection.
pinSnapshotData() [READ MORE]
This operation pins snapshot data to prevent it from being garbage collected. Use this to ensure a snapshot remains available for restoration.
restoreSnapshot() [READ MORE]
This operation restores a collection from a snapshot to a new or existing collection.
unpinSnapshotData() [READ MORE]
This operation unpins snapshot data, allowing it to be garbage collected when no longer needed.