layout: "tencentcloud" page_title: "TencentCloud: tencentcloud_mysql_backup_policy" sidebar_current: "docs-tencentcloud-tencentcloud_mysql_backup_policy" description: |-

» Provides a mysql policy resource to create a backup policy.

» tencentcloud_mysql_backup_policy

Provides a mysql policy resource to create a backup policy.

» Example Usage

resource " tencentcloud_mysql_backup_policy " "default" {
  mysql_id = "cdb-dnqksd9f"
  retention_period = 7
  backup_model = "logical"
  backup_time ="02:00–06:00"
}

» Argument Reference

The following arguments are supported:

» Attributes Reference

In addition to all arguments above, the following attributes are exported: