mongocli ops-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 Ops Manager UI
or API.
Syntax¶
mongocli ops-manager|om 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. Ops 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 retrieve
the backup snapshot schedule. | yes |
--dailySnapshotRetentionDays | integer | Days to retain daily snapshots. Ops Manager accepts values between
Note To disable daily snapshot retention, set | no |
--monthlySnapshotRetentionMonths | integer | Months to retain monthly snapshots. Ops 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 |