frostmoln_mysql_backup (Resource)
Manages a backup of a managed MySQL instance. Backups are immutable after creation.
Example Usage
terraform
resource "frostmoln_mysql_backup" "daily" {
instance_id = frostmoln_mysql_instance.main.id
name = "daily-backup"
type = "full"
}
resource "frostmoln_mysql_backup" "binlog" {
instance_id = frostmoln_mysql_instance.main.id
name = "binlog-backup"
type = "binlog"
}Schema
Required
instance_id(String) The ID of the MySQL instance to back up.name(String) The name of the backup.
Optional
type(String) The type of backup: "full", "incremental", or "binlog". Defaults to "full".
Read-Only
completed_at(String) The timestamp when the backup completed.id(String) The unique identifier of the backup.size_bytes(Number) The size of the backup in bytes.started_at(String) The timestamp when the backup started.status(String) The current status of the backup.