ref 624723: server backup schedules (#416)
Signed-off-by: Adrian Nackov <adrian.nackov@mail.schwarz>
This commit is contained in:
parent
7fbb13c0b6
commit
b5eb8bd379
21 changed files with 1852 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
data "stackit_server_backup_schedule" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
backup_schedule_id = xxxxx
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
data "stackit_server_backup_schedules" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
resource "stackit_server_backup_schedule" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
name = "example_backup_schedule_name"
|
||||
rrule = "DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1"
|
||||
enabled = true
|
||||
backup_properties = {
|
||||
name = "example_backup_name"
|
||||
retention_period = 14
|
||||
volume_ids = null
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue