mongocli cm backup snapshot schedule update

Update a snapshot schedule for a cluster

Options

NameDescription
--clusterCheckpointIntervalMin <clusterCheckpointIntervalMin>Number of minutes between successive cluster checkpoints. Valid values are 15, 30, or 60
--clusterId <clusterId>
  • Required ✳
--dailySnapshotRetentionDays <dailySnapshotRetentionDays>Number of days to retain daily snapshots. Accepted values are between 1 and 365 inclusive
--monthlySnapshotRetentionMonths <monthlySnapshotRetentionMonths>Number of months to retain monthly snapshots. Accepted values are between 1 and 36 inclusive
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--pointInTimeWindowHours <pointInTimeWindowHours>Number of hours in the past for which MongoDB should create a point-in-time snapshot
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable
--referenceHourOfDay <referenceHourOfDay>Hour of the day to schedule snapshots using a 24-hour clock. Accepted values are between 0 and 23 inclusive
--referenceMinuteOfHour <referenceMinuteOfHour>Minute of the hour to schedule snapshots. Accepted values are between 0 and 59 inclusive
--referenceTimeZoneOffset <referenceTimeZoneOffset>The ISO-8601-formatted timezone offset where the Ops Manager host resides
--snapshotIntervalHours <snapshotIntervalHours>Number of hours between snapshots. Valid values are 6, 8, 12, or 24
--snapshotRetentionDays <snapshotRetentionDays>Number of days to keep recent snapshots. Accepted values are between 2 and 5 inclusive
--weeklySnapshotRetentionWeeks <weeklySnapshotRetentionWeeks>Number of weeks to retain weekly snapshots. Accepted values are between 1 and 52 inclusive