File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,11 @@ func updateLabels(out *atlas.Cluster) {
110110
111111func (opts * atlasClustersCreateOpts ) applyOpts (out * atlas.Cluster ) {
112112 replicationSpec := opts .newReplicationSpec ()
113- out .ProviderBackupEnabled = & opts .backup
113+ if opts .backup {
114+ out .ProviderBackupEnabled = & opts .backup
115+ out .PitEnabled = & opts .backup
116+ }
117+
114118 out .DiskSizeGB = & opts .diskSizeGB
115119 out .MongoDBMajorVersion = opts .mdbVersion
116120 out .ProviderSettings = opts .newProviderSettings ()
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const (
2121 Members = "Number of members in the replica set."
2222 Tier = "Tier for each data-bearing server in the cluster."
2323 DiskSizeGB = "Capacity, in gigabytes, of the host’s root volume."
24- Backup = "If true, enables Cloud Continuous Backup for your cluster."
24+ Backup = "If true, enables Continuous Cloud Backup for your cluster."
2525 MDBVersion = "MongoDB version of the cluster to deploy."
2626 AuthDB = "Authentication database name."
2727 Granularity = "Duration in ISO 8601 notation that specifies the interval between measurement data points."
You can’t perform that action at this time.
0 commit comments