You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Automatic backup frequency, for internal display, default value is 24h.",
50
+
Description: "Specify the daily automatic backup frequency. 12: Back up twice a day, approximately 12 hours apart; 24: Back up once a day (default), approximately 24 hours apart.",
Description: "Specify the number of days to save backup data. The default is 7 days, and the support settings are 7, 30, 90, 180, 365.",
63
+
Description: "Specifies the retention period for backup data. Unit: days, default is 7 days. Value range: [7, 365].",
64
64
},
65
65
66
66
"active_weekdays": {
67
67
Type: schema.TypeString,
68
68
Optional: true,
69
-
Description: "Which days of the week to backup, 0-6, comma separated. Only effective for advanced backup.",
69
+
Description: "Specify the specific dates for automatic backups to be performed each week. Format: Enter a number between 0 and 6 to represent Sunday through Saturday (e.g., 1 represents Monday). Separate multiple dates with commas (,). Example: Entering 1,3,5 means the system will perform backups on Mondays, Wednesdays, and Fridays every week. Default: If not set, the default is a full cycle (0,1,2,3,4,5,6), meaning backups will be performed daily.",
70
70
},
71
71
72
72
"long_term_unit": {
73
73
Type: schema.TypeString,
74
74
Optional: true,
75
-
Description: "Long-term retention cycle, weekly, monthly, empty means not enabled.",
75
+
Description: "Long-term retention period. Supports selecting specific dates for backups on a weekly or monthly basis (e.g., backup data for the 1st and 15th of each month) to retain for a longer period. Disabled (default): Long-term retention is disabled. Weekly retention: Specify `weekly`. Monthly retention: Specify `monthly`.",
76
76
},
77
77
78
78
"long_term_active_days": {
79
79
Type: schema.TypeString,
80
80
Optional: true,
81
-
Description: "Which days to retain long-term, week 0-6, month 1-31, comma separated.",
81
+
Description: "Specify the specific backup dates to be retained long-term. This setting only takes effect when LongTermUnit is set to weekly or monthly. Weekly Retention: Enter a number between 0 and 6 to represent Sunday through Saturday. Separate multiple dates with commas. Monthly Retention: Enter a number between 1 and 31 to represent specific dates within the month. Separate multiple dates with commas.",
82
82
},
83
83
84
84
"long_term_expired_days": {
85
85
Type: schema.TypeInt,
86
86
Optional: true,
87
-
Description: "How many days to retain long-term backups.",
87
+
Description: "Long-term backup retention period. Value range [30, 1075].",
88
88
},
89
89
90
90
"oplog_expired_days": {
91
91
Type: schema.TypeInt,
92
92
Optional: true,
93
-
Description: "How many days to retain incremental backups.",
Copy file name to clipboardExpand all lines: website/docs/r/mongodb_instance_backup_rule.html.markdown
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,18 +33,18 @@ The following arguments are supported:
33
33
- 3: Snapshot backup (supported only in cloud disk version).
34
34
*`backup_time` - (Required, Int) Set the start time for automatic backup. The value range is: [0,23]. For example, setting this parameter to 2 means that backup starts at 02:00.
*`backup_frequency` - (Optional, Int) Automatic backup frequency, for internal display, default value is 24h.
39
-
*`backup_retention_period` - (Optional, Int) Specify the number of days to save backup data. The default is 7 days, and the support settings are 7, 30, 90, 180, 365.
36
+
*`active_weekdays` - (Optional, String) Specify the specific dates for automatic backups to be performed each week. Format: Enter a number between 0 and 6 to represent Sunday through Saturday (e.g., 1 represents Monday). Separate multiple dates with commas (,). Example: Entering 1,3,5 means the system will perform backups on Mondays, Wednesdays, and Fridays every week. Default: If not set, the default is a full cycle (0,1,2,3,4,5,6), meaning backups will be performed daily.
37
+
*`alarm_water_level` - (Optional, Int) Sets the alarm threshold for backup dataset storage space usage. Unit: %. Default value: 100. Value range: [50, 300].
38
+
*`backup_frequency` - (Optional, Int) Specify the daily automatic backup frequency. 12: Back up twice a day, approximately 12 hours apart; 24: Back up once a day (default), approximately 24 hours apart.
39
+
*`backup_retention_period` - (Optional, Int) Specifies the retention period for backup data. Unit: days, default is 7 days. Value range: [7, 365].
40
40
*`backup_version` - (Optional, Int) Backup version. Old version backup is 0, advanced backup is 1. Set this value to 1 when enabling advanced backup.
41
-
*`long_term_active_days` - (Optional, String) Which days to retain long-term, week 0-6, month 1-31, comma separated.
42
-
*`long_term_expired_days` - (Optional, Int) How many days to retain long-term backups.
43
-
*`long_term_unit` - (Optional, String) Long-term retention cycle, weekly, monthly, empty means not enabled.
41
+
*`long_term_active_days` - (Optional, String) Specify the specific backup dates to be retained long-term. This setting only takes effect when LongTermUnit is set to weekly or monthly. Weekly Retention: Enter a number between 0 and 6 to represent Sunday through Saturday. Separate multiple dates with commas. Monthly Retention: Enter a number between 1 and 31 to represent specific dates within the month. Separate multiple dates with commas.
42
+
*`long_term_expired_days` - (Optional, Int) Long-term backup retention period. Value range [30, 1075].
43
+
*`long_term_unit` - (Optional, String) Long-term retention period. Supports selecting specific dates for backups on a weekly or monthly basis (e.g., backup data for the 1st and 15th of each month) to retain for a longer period. Disabled (default): Long-term retention is disabled. Weekly retention: Specify `weekly`. Monthly retention: Specify `monthly`.
44
44
*`notify` - (Optional, Bool) Set whether to send failure alerts when automatic backup errors occur.
45
45
- true: Send.
46
46
- false: Do not send.
47
-
*`oplog_expired_days` - (Optional, Int) How many days to retain incremental backups.
0 commit comments