您可以使用云备份合规策略配置文件来指定使用Atlas CLI更新云备份合规策略时所需的设置。 Atlas CLI接受.json云备份合规策略配置文件。
可用设置
When you update a cloud backup compliance policy using a configuration file, you can specify any settings that are listed in Update the Backup Compliance Policy under Request Body Schema.
创建配置文件
请按照以下步骤使用配置文件更新云备份合规策略:
1
Copy the sample request for Update the Backup Compliance Policy.
Navigate to the Update the Backup Compliance Policy section of the Atlas Admin API specification.
在右侧的Request samples下,单击Expand all 。
单击Copy ,复制样本请求。
3
使用 --file 选项运行Atlas clusters 搜索 nodes create命令。
使用--file标志指定保存的文件的路径。