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: "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.",
45
45
},
46
46
47
+
"backup_frequency": {
48
+
Type: schema.TypeInt,
49
+
Optional: true,
50
+
Description: "Automatic backup frequency, for internal display, default value is 24h.",
51
+
},
52
+
53
+
"notify": {
54
+
Type: schema.TypeBool,
55
+
Optional: true,
56
+
Description: "Set whether to send failure alerts when automatic backup errors occur.\n- true: Send.\n- false: Do not send.",
57
+
},
58
+
47
59
"backup_retention_period": {
48
60
Optional: true,
49
61
Computed: true,
50
62
Type: schema.TypeInt,
51
63
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.",
52
64
},
65
+
66
+
"active_weekdays": {
67
+
Type: schema.TypeString,
68
+
Optional: true,
69
+
Description: "Which days of the week to backup, 0-6, comma separated. Only effective for advanced backup.",
70
+
},
71
+
72
+
"long_term_unit": {
73
+
Type: schema.TypeString,
74
+
Optional: true,
75
+
Description: "Long-term retention cycle, weekly, monthly, empty means not enabled.",
76
+
},
77
+
78
+
"long_term_active_days": {
79
+
Type: schema.TypeString,
80
+
Optional: true,
81
+
Description: "Which days to retain long-term, week 0-6, month 1-31, comma separated.",
82
+
},
83
+
84
+
"long_term_expired_days": {
85
+
Type: schema.TypeInt,
86
+
Optional: true,
87
+
Description: "How many days to retain long-term backups.",
88
+
},
89
+
90
+
"oplog_expired_days": {
91
+
Type: schema.TypeInt,
92
+
Optional: true,
93
+
Description: "How many days to retain incremental backups.",
94
+
},
95
+
96
+
"backup_version": {
97
+
Type: schema.TypeInt,
98
+
Optional: true,
99
+
Description: "Backup version. Old version backup is 0, advanced backup is 1. Set this value to 1 when enabling advanced backup.",
@@ -31,8 +32,19 @@ The following arguments are supported:
31
32
- 1: Physical backup;
32
33
- 3: Snapshot backup (supported only in cloud disk version).
33
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.
35
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.
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.
44
+
*`notify` - (Optional, Bool) Set whether to send failure alerts when automatic backup errors occur.
45
+
- true: Send.
46
+
- false: Do not send.
47
+
*`oplog_expired_days` - (Optional, Int) How many days to retain incremental backups.
0 commit comments