mongocli cloud-manager backup snapshots schedule update¶
The backup snapshots schedule update
command updates the backup
snapshot schedule for the specified cluster. You can also update the
backup snapshot schedule through the Cloud Manager UI
or API.
Syntax¶
mongocli cloud-manager|cm backup(s) snapshot(s) schedule update [ --clusterCheckpointIntervalMin <checkpoint-interval-minutes> ] --clusterId <cluster-id> [ --dailySnapshotRetentionDays <retention-days> ] [ --monthlySnapshotRetentionMonths <retention-months> ] [ --output|-o <output-format> ] [ --pointInTimeWindowHours <pit-window-hours> ] [ --profile|-P <profile-name> ] [ --projectId <project-ID> ] [ --referenceHourOfDay <reference-hour-of-day> ] [ --referenceMinuteOfHour <reference-minute-of-hour> ] [ --referenceTimeZoneOffset <reference-timezone-offset> ] [ --snapshotIntervalHours <snapshot-interval-hours> ] [ --snapshotRetentionDays <snapshot-retention-days> ] [ --weeklySnapshotRetentionWeeks <weekly-snapshot-retention-weeks> ]
Use -h
or --help
to view the command-line help for
this command.
Options¶
Option | Type | Description | Required? |
---|---|---|---|
--clusterCheckpointIntervalMin | integer | Minutes between successive cluster checkpoints. This number determines the granularity of point-in-time restores for sharded clusters. Cloud Manager accepts the following values: Important
You may use checkpoints for clusters that run MongoDB with
| no |
--clusterId | string | Unique identifier of the cluster for which you want to update
its backup snapshot schedule. | yes |
--dailySnapshotRetentionDays | integer | Days to retain daily snapshots. Cloud Manager accepts values between
Note To disable daily snapshot retention, set | no |
--monthlySnapshotRetentionMonths | integer | Months to retain monthly snapshots. Cloud Manager accepts values between
Note To disable monthly snapshot retention, set | no |
--output , -o | string | Command output format. Valid values are:
If omitted, the command returns output in the default format. | no |
--pointInTimeWindowHours | integer | Number of hours in the past for which users can create a
point-in-time snapshot. | no |
--profile , -P | string | Name of the profile where the project ID and the Programmatic API Key |