- API >
- Public API Resources >
- Backup and Restore >
- Checkpoints
Checkpoints¶
On this page
Note
Groups and projects are synonymous terms. Your {PROJECT-ID}
is the
same as your project id. For existing groups, your group/project id
remains the same. This page uses the more familiar term group when
referring to descriptions. The endpoint remains as stated in the
document.
This resource allows you to view Checkpoints metadata. You can use checkpoints to create custom snapshots of a cluster at points in time between regular snapshots.
Important
You may use checkpoints for clusters that run MongoDB with
Feature Compatibility Version
of 4.0 or earlier. Checkpoints were removed from
MongoDB instances with FCV of 4.2 or later.
Endpoints¶
Get All Checkpoints¶
Get all checkpoints for a cluster.
Get One Checkpoint¶
Get a single checkpoint.
Sample Entity¶
Entity Fields¶
Name | Type | Description |
---|---|---|
clusterId |
string | Unique identifier of the cluster represented by the checkpoint. |
completed |
string | Timestamp in ISO 8601 date and time format in UTC for the point-in-time when the checkpoint completed and the balancer restarted. |
groupId |
string | Unique identifier of the group that owns the checkpoint. |
id |
string | Unique identifier of the checkpoint. |
parts |
array of objects | Individual parts that comprise the complete checkpoint. There will be one element for each shard plus one element for the config servers. |
parts .replicaSetName |
string | Name of the replica set. Not present for a config server. |
parts .shardName |
string | Name of the shard. |
parts .tokenDiscovered |
Boolean | Flag that indicates whether the token exists. |
parts .tokenTimestamp |
object | Timestamp of an entry in the oplog, as specified by the
entry’s ts field. The ts field is a BSON timestamp and has two components: the
timestamp, which is the value in seconds since the Unix epoch,
and the increment, which is an incrementing ordinal for
operations within a given second. |
parts .typeName |
string | Type of server represented by the part. Possible values are:
|
restorable |
Boolean | Flag that indicates whether the checkpoint can be used for a restore. |
started |
string | Timestamp in ISO 8601 date and time format in UTC for the point-in-time when Cloud Manager stopped the balancer and began the checkpoint. |
timestamp |
string | Timestamp in ISO 8601 date and time format in UTC for the point-in-time to which the checkpoint restores data. |
Links¶
Relation | Description |
---|---|
self |
Checkpoint |
http://mms.mongodb.com/cluster |
Cluster the checkpoint belongs to. |
http://mms.mongodb.com/group |
Project that owns the checkpoint. |