文档菜单
文档首页
/ /
MongoDB CLI
/ / / / /

mongocli ops-manager backups snapshots schedule update

本页内容

  • 语法
  • 选项
  • 继承选项

更新集群的快照计划。

命令语法
mongocli ops-manager backups snapshots schedule update [options]
名称
类型
必需
描述
--clusterCheckpointIntervalMin
int
false
连续集群检查点之间的分钟数。有效值是15、30或60。
--clusterId
string
true
集群的唯一标识符。
--dailySnapshotRetentionDays
int
false
保留每日快照的天数。接受值范围是1到365(包括)。
-h, --help
false
update的帮助
--monthlySnapshotRetentionMonths
int
false
保留每月快照的月份数。接受值范围是1到36(包括)。
-o, --output
string
false
输出格式。有效值是json、json-path、go-template或go-template-file。要查看完整的输出,请使用-o json选项。
--pointInTimeWindowHours
int
false
MongoDB应创建点时间快照的过去小时数。
--projectId
string
false
用于识别项目的十六进制字符串。此选项覆盖配置文件或环境变量的设置。
--referenceHourOfDay
int
false
使用24小时制安排快照的日小时。接受值范围是0到23(包括)。
--referenceMinuteOfHour
int
false
安排快照的小时分钟。接受值范围是0到59(包括)。
--referenceTimeZoneOffset
string
false
Ops Manager主机所在的ISO-8601格式的时区偏移量。
--snapshotIntervalHours
int
false
快照之间的小时数。有效值是6、8、12或24。
--snapshotRetentionDays
int
false
保留最近快照的天数。接受值范围是2到5(包括)。
--weeklySnapshotRetentionWeeks
int
false
保留每周快照的周数。接受值范围是1到52(包括)。
名称
类型
必需
描述
-P, --profile
string
false
从您的配置文件中使用的配置文件名。有关MongoCLI配置文件中配置文件的信息,请参阅https://dochub.mongodb.org/core/atlas-cli-configuration-file.

返回

描述