- API >
- Public API Resources >
- Backup and Restore >
- Snapshots >
- Get One Snapshot for One Config Server
Get One Snapshot for One Config Server¶
On this page
Deprecated when using MongoDB 3.4
As of MongoDB 3.4, mirrored config server deployments (also known as SCCC) are no longer supported. The following API method works with SCCC config servers only. Replica set config servers (also known as CSRS) use the Get One Snapshot for One Cluster method. To learn how to convert your config servers from SCCC to a CSRS, see Upgrade Config Servers to Replica Set in the MongoDB Server Manual.
Base URL: https://cloud.mongodb.com/api/public/v1.0
Resource¶
Request Parameters¶
Request Path Parameters¶
Name | Type | Description |
---|---|---|
PROJECT-ID | string | Unique identifier of the project that owns the snapshot. |
CLUSTER-ID | string | Unique identifier of the cluster that the snapshot represents. |
SNAPSHOT-ID | string | Unique identifier of the snapshot. |
Request Query Parameters¶
The following query parameters are optional:
Name | Type | Necessity | Description | Default | ||||||
---|---|---|---|---|---|---|---|---|---|---|
pretty | boolean | Optional | Flag indicating whether the response body should be in a prettyprint format. | false |
||||||
envelope | boolean | Optional | Flag that indicates whether or not to wrap the response in an envelope. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. For endpoints that return one result, the response body includes:
|
false |
Request Body Parameters¶
This endpoint does not use HTTP request body parameters.
Response¶
Name | Type | Description |
---|---|---|
clusterId | objectId | ID of the cluster the snapshot represents. |
complete | boolean | Indicator that the snapshot has been created. This is
false if the snapshot creation job is still in progress. |
created | document | The components of a timestamp. |
created.date | timestamp | The exact point in time when the snapshot was taken in ISO 8601 date and time format at UTC. |
created.increment | integer | The operation order in which this snapshot took place at this exact point in time. To learn how timestamps work in MongoDB, see Timestamps. |
doNotDelete | boolean | Indicator that the snapshot cannot be deleted. If |
expires | timestamp | The date in ISO 8601 date and time format at UTC after which this snapshot can be deleted. If If the |
groupId | objectId | ID of the project that owns the snapshot. |
id | objectId | ID of the snapshot. |
lastOplogAppliedTimestamp | document | The components of the timestamp of the last oplog entry was applied. |
lastOplogAppliedTimestamp.date | timestamp | The exact point in time when the last oplog was applied in ISO 8601 date and time format at UTC. |
lastOplogAppliedTimestamp.increment | integer | The operation order in which last oplog was applied at this exact point in time. To learn how timestamps work in MongoDB, see Timestamps. |
links | object array | One or more links to sub-resources and/or related resources. All
links arrays in responses include at least one link called
self . The relationships between URLs are explained in the
Web Linking Specification. |
namespaceFilterList | object array | The namespaces that are included or excluded from this snapshot. |
namespaceFilterList.filterList | string array | A comma-separated list of any combination of databases or namespaces that are exclusively included or explicitly excluded from the snapshot. The default value is an empty array ( |
namespaceFilterList.filterType | string | A value that determines how namespaces are filtered for this snapshot.
The default value is |
parts | object array | The individual parts that comprise the complete snapshot. This array contains a single document. |
parts.dataSizeBytes | number | The total size of the data in the snapshot in bytes. |
parts.encryptionEnabled | boolean | Indicator of the state of encryption of the snapshot data. |
parts.fileSizeBytes | number | The total size of the data files in bytes. |
parts.hostId | string | ID of a config server. |
parts.masterKeyUUID | objectId | The KMIP master key ID used to encrypt the snapshot data. Note This parameter appears only if this snapshot has
|
parts.mongodVersion | string | The version of mongod that was running when the
snapshot was created. |
parts.storageSizeBytes | number | The total size of space allocated for document storage. |
parts.typeName | string | The type of server that the part represents:
|