HeatWave: Backup Event Types

HeatWave automatic and manual backups emit the backup events.

Table 18-2 HeatWave: Backup Event Types

Friendly Name Event Type Details
MySQL - Copy Backup Begin com.oraclecloud.mysqlaas.copybackup.begin  
MySQL - Copy Backup End com.oraclecloud.mysqlaas.copybackup.end The additionalDetails.lifecycleState property is set to:
  • ACTIVE: When the backup has completed successfully.
  • FAILED: When the backup has failed.
MySQL - Create Backup Begin com.oraclecloud.mysqlaas.createbackup.begin  
MySQL - Create Backup End com.oraclecloud.mysqlaas.createbackup.end The additionalDetails.lifecycleState property is set to:
  • ACTIVE: When the backup has completed successfully.
  • FAILED: When the backup has failed.
MySQL - Delete Backup Begin com.oraclecloud.mysqlaas.deletebackup.begin  
MySQL - Delete Backup End com.oraclecloud.mysqlaas.deletebackup.end  
MySQL - Update Backup com.oraclecloud.mysqlaas.updatebackup  

Backup Event Example

This is a reference event for manual and automatic backups.

Manual Backup Example
{
  "id": "ocid1.eventschema.oc1.phx.abyhqljrbev33v3gwkdhs5amcfrmps36useiwlgm64qz4kz3wuvudocd3iyq",
  "exampleEvent": {
    "cloudEventsVersion": "0.1",
    "eventID": "3e74a48c-be5c-4002-8b3e-2196fa215528",
    "eventType": "com.oraclecloud.mysqlaas.createbackup.begin",
    "source": "Mysqlaas",
    "eventTypeVersion": "2.0",
    "eventTime": "2020-12-11T19:03:00.009Z",
    "contentType": "application/json",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1...<UniqueID>"
    },
    "data": {
      "compartmentId": "ocid1.compartment.oc1...<UniqueID>",
      "compartmentName": "my_compartment_name",
      "resourceName": "my_backup",
      "resourceId": "ocid1.mysqlbackup.oc1.iad...<UniqueID>",
      "availabilityDomain": "AD2",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "timeCreated": "2021-01-03T22:45:15.986Z",
        "timeUpdated": "2021-01-03T22:45:15.986Z",
        "lifecycleState": "CREATING",
        "lifecycleDetails": "details message",
        "backupType": "FULL",
        "creationType": "MANUAL",
        "dbSystemId": "ocid1.mysqldbsystem.oc1.iad...<UniqueID>"
      }
    }
  }
Automatic Backup Example
{
  "id": "ocid1.eventschema.oc1.phx.abysded3v3gwkdhs5amcfrmps36useiwlgm64qz4kz3wuvudocd3iyq",
  "exampleEvent": {
    "cloudEventsVersion": "0.1",
    "eventID": "3e74a48c-be5c-4002-8b3e-2196fa215528",
    "eventType": "com.oraclecloud.mysqlaas.createbackup.begin",
    "source": "Mysqlaas",
    "eventTypeVersion": "2.0",
    "eventTime": "2023-12-11T19:03:00.009Z",
    "contentType": "application/json",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1...<UniqueID>"
    },
    "data": {
      "compartmentId": "ocid1.compartment.oc1...<UniqueID>",
      "compartmentName": "my_compartment_name",
      "resourceName": "my_backup",
      "resourceId": "ocid1.mysqlbackup.oc1.iad...<UniqueID>",
      "availabilityDomain": "AD1",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "timeCreated": "2021-01-03T22:45:15.986Z",
        "timeUpdated": "2021-01-03T22:45:15.986Z",
        "lifecycleState": "CREATING",
        "lifecycleDetails": "details message",
        "backupType": "FULL",
        "creationType": "AUTOMATIC",
        "dbSystemId": "ocid1.mysqldbsystem.oc1.iad...<UniqueID>"
      }
    }
  }