feat(mongodb): set point_in_time_window_hours as required (#860)
* feat(mongodb): set point_in_time_window_hours as required * docs update
This commit is contained in:
parent
9b1c658575
commit
a47fac0ae7
4 changed files with 16 additions and 9 deletions
|
|
@ -19,7 +19,7 @@ resource "stackit_mongodbflex_instance" "example" {
|
|||
acl = ["XXX.XXX.XXX.X/XX", "XX.XXX.XX.X/XX"]
|
||||
flavor = {
|
||||
cpu = 1
|
||||
ram = 8
|
||||
ram = 4
|
||||
}
|
||||
replicas = 1
|
||||
storage = {
|
||||
|
|
@ -28,8 +28,9 @@ resource "stackit_mongodbflex_instance" "example" {
|
|||
}
|
||||
version = "7.0"
|
||||
options = {
|
||||
type = "Single"
|
||||
snapshot_retention_days = 3
|
||||
type = "Single"
|
||||
snapshot_retention_days = 3
|
||||
point_in_time_window_hours = 30
|
||||
}
|
||||
backup_schedule = "0 0 * * *"
|
||||
}
|
||||
|
|
@ -74,13 +75,13 @@ Read-Only:
|
|||
|
||||
Required:
|
||||
|
||||
- `point_in_time_window_hours` (Number) The number of hours back in time the point-in-time recovery feature will be able to recover.
|
||||
- `type` (String) Type of the MongoDB Flex instance. Supported values are: `Replica`, `Sharded`, `Single`.
|
||||
|
||||
Optional:
|
||||
|
||||
- `daily_snapshot_retention_days` (Number) The number of days that daily backups will be retained.
|
||||
- `monthly_snapshot_retention_months` (Number) The number of months that monthly backups will be retained.
|
||||
- `point_in_time_window_hours` (Number) The number of hours back in time the point-in-time recovery feature will be able to recover.
|
||||
- `snapshot_retention_days` (Number) The number of days that continuous backups (controlled via the `backup_schedule`) will be retained.
|
||||
- `weekly_snapshot_retention_weeks` (Number) The number of weeks that weekly backups will be retained.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue