alicloud_hbr_nas_backup_plan

Provides a HBR Nas Backup Plan resource.

For information about HBR Nas Backup Plan and how to use it, see What is Nas Backup Plan.

Example Usage

Basic Usage

resource "alicloud_hbr_vault" "default" {
  vault_name = "terraform-example2"
}

resource "alicloud_nas_file_system" "default" {
  protocol_type = "NFS"
  storage_type  = "Performance"
  description   = "terraform-example"
  encrypt_type  = "1"
}

resource "alicloud_hbr_nas_backup_plan" "default" {
  nas_backup_plan_name = "terraform-example"
  file_system_id       = alicloud_nas_file_system.default.id
  schedule             = "I|1602673264|PT2H"
  backup_type          = "COMPLETE"
  vault_id             = alicloud_hbr_vault.default.id
  retention            = "2"
  path                 = ["/"]
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

HBR Nas Backup Plan can be imported using the id, e.g.

$ terraform import alicloud_hbr_nas_backup_plan.example <id>