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

mongocli cloud-manager backups snapshots schedule update

本页内容

  • 语法
  • 选项
  • 继承选项

更新集群的快照计划。

命令语法
mongocli cloud-manager backups snapshots schedule update [options]
名称
类型
必需
描述
--clusterCheckpointIntervalMin
int
false
连续集群快照之间的分钟数。有效值为15、30或60。
--clusterId
string
true
集群的唯一标识符。
--dailySnapshotRetentionDays
int
false
保留每日快照的天数。接受值在1到365之间。
-h, --help
false
更新帮助
--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.

返回

描述