Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / / / /

mongocli ops-manager backups snapshots schedule update

On this page

  • Syntax
  • Options
  • Inherited Options

Update a snapshot schedule for a cluster.

mongocli ops-manager backups snapshots schedule update [options]
Name
Type
Required
Description
--clusterCheckpointIntervalMin
int
false
Number of minutes between successive cluster checkpoints. Valid values: 15|30|60.
--clusterId
string
true
Unique identifier of the cluster.
--dailySnapshotRetentionDays
int
false
Number of days to retain daily snapshots. Accepted values for this option are: values between 1 and 365 inclusive.
-h, --help
false
help for update
--monthlySnapshotRetentionMonths
int
false
Number of months to retain monthly snapshots. Accepted values for this option are: values between 1 and 36 inclusive.
-o, --output
string
false
Output format. Valid values: json|json-path|go-template|go-template-file
--pointInTimeWindowHours
int
false
Number of hours in the past for which a point-in-time snapshot can be created.
--projectId
string
false
Project ID to use. Overrides configuration file or environment variable settings.
--referenceHourOfDay
int
false
Hour of the day to schedule snapshots using a 24 hour clock. Accepted values for this option are: values between 0 and 23 inclusive.
--referenceMinuteOfHour
int
false
Minute of the hour to schedule snapshots. Accepted values for this option are: values between 0 and 59 inclusive.
--referenceTimeZoneOffset
string
false
The ISO-8601 timezone offset where the Ops Manager host resides.
--snapshotIntervalHours
int
false
Number of hours between snapshots. Valid values: 6|8|12|24.
--snapshotRetentionDays
int
false
Number of days to keep recent snapshots. Accepted values for this option are: values between 2 and 5 inclusive.
--weeklySnapshotRetentionWeeks
int
false
Number of weeks to retain weekly snapshots. Accepted values for this option are: values between 1 and 52 inclusive.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Auto generated by MongoDB CLI on 29-Jun-2021

Back

describe