Set up alerts for OSS backup

更新时间:
复制 MD 格式

If an OSS backup task fails, Cloud Backup sends an alert by SMS or email to the Alibaba Cloud account by default. You can customize the alert method and specify an alert contact or alert contact group to receive notifications.

Step 1: Set alert contacts

An alert contact is the recipient of backup alerts. Follow these steps to set one:

  1. Log on to the Cloud Backup console.

  2. In the navigation pane on the left, click Notification Contacts.

  3. On the Alert Contacts tab, click Create Contact.

  4. In the Create Contact panel, enter the Contact Name and other required information.

  5. Select a Notification Methods, complete the required configuration, and then click OK.

    • Email

      If you select Email as the contact method, enter the Email and click Send. Log on to your email account to retrieve the verification code, and then return to the Cloud Backup console to enter the Verification Code.

    • Text Message

      If you select Mobile as the contact method, enter the Mobile and click Send. The system sends a text message with a verification code to your phone. Enter the Verification Code that you receive.

    Note
    • On the Alert Contact page, you can view information for all alert contacts.

    • Click Edit to modify a contact's email address and mobile phone number.

    • Contacts that are assigned to an alert rule or added to a contact group cannot be deleted.

Step 2: (Optional) Set a contact group

If you want multiple people to receive alert notifications, you can create a contact group to simplify management. After you add alert contacts to the group, a notification is sent to all members of the group when an alert is triggered.

  1. Log on to the Cloud Backup console.

  2. In the left navigation pane, select Notification Contacts.

  3. On the Groups tab, click Create Group.

  4. In the Create Group panel, enter a Group Name.

  5. Select the contacts to add to the group and click the rightwards arrow button. The selected contacts will then appear in the Selected Contacts box.

  6. Click OK.

    Note
    • The Alert Contact Group page displays all contact groups and the number of members in each group.

    • To edit a contact group, click Edit.

    • Contact groups that are assigned to an alert rule cannot be deleted.

Step 3: Customize backup alert rules

Important

If you configure a custom alert rule for an OSS backup, it overrides the default alert method.

You can customize backup alert rules in two ways. An alert rule for a specific OSS bucket takes precedence over the rule for its backup vault.

Backup vault

This applies a uniform alert rule to all OSS buckets within a backup vault. If an OSS bucket does not have its own specific alert rule, it inherits the alert method from the backup vault. Follow these steps:

  1. Log on to the Cloud Backup console.

  2. In the left-side navigation pane, choose Storage Vaults.

  3. Find the backup vault for which you want to set an alert rule, and in the Actions column, choose More > Alert Settings.

  4. In the Alert Notification Method panel, select a method and click OK.

    Alert method

    Description

    Close

    No alert notifications are sent.

    Notify Alibaba Cloud Account

    Backup alerts are sent by email or SMS to the Alibaba Cloud account.

    Custom

    Select one or more alert contacts or alert contact groups. Backup alerts are sent to the selected recipients.

OSS bucket

You can set an alert rule for a specific OSS bucket. This rule overrides the backup vault's alert rule. Follow these steps:

  1. On the OSS Backup page, select the region of the target OSS bucket, and then click View Details for that bucket.

    Note

    If you are using the classic console (Try New Version is displayed in the upper-right corner), go to the Backup Plan tab and perform the required action in the Actions column of the target backup plan.

  2. Go to the Backup Plan tab. In the Actions column of the backup plan, choose More > Alert Settings.

  3. In the Alert Notification Method panel, select a method and click OK.

    Alert method

    Description

    Close

    No alert notifications are sent if the backup of this OSS bucket fails.

    Same as Backup Vault

    Uses the alert method configured for the backup vault.

    Notify Alibaba Cloud Account

    Backup alerts are sent by email or SMS to the Alibaba Cloud account.

    Limited

    Select one or more alert contacts or alert contact groups. Backup alerts are sent to the selected recipients.