By default, the alert feature for ECS instance backups sends an alert text message or email to your Alibaba Cloud account if a backup fails or the client disconnects from the Cloud Backup service. If you want to send alert notifications to a RAM user, you can customize alerts and specify the contacts or contact groups that receive the notifications. This topic describes how to customize alerts.
The alert contact or contact group receives a notification if a backup job fails or the client disconnects from the Cloud Backup service.
Step 1: Set alert contacts
An alert contact is the recipient of backup alerts. Follow these steps to set one:
Log on to the Cloud Backup console.
In the navigation pane on the left, click Notification Contacts.
On the Alert Contacts tab, click Create Contact.
In the Create Contact panel, enter the Contact Name and other required information.
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.
NoteOn 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.
Log on to the Cloud Backup console.
In the left navigation pane, select Notification Contacts.
On the Groups tab, click Create Group.
In the Create Group panel, enter a Group Name.
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.
Click OK.
NoteThe 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: Create a custom backup alert rule
Custom backup alert rules apply only to automatic backup plans. If a backup plan is set to manual, the Cloud Backup service sends a default alert text message or email to the root account when a backup fails, even if a custom alert rule is configured. However, for an automatic backup plan that periodically backs up ECS instances based on a backup policy, the custom alert rule is used instead of the default alert if a backup fails.
You can set an alert rule for the backup client of a single ECS instance.
Log on to the Cloud Backup console.
In the navigation pane on the left, choose . In the upper-left corner of the top menu bar, select a region.
On the Backed-up ECS page, find the target ECS instance. In the Actions column, choose .
In the Alert Notification Method panel, select an Alert Notification Method and click OK.
Alert Method
Description
Disable
No alert notification is sent if an exception occurs during the ECS instance backup.
Notify Root Account
Alert notifications for the ECS instance backup will be sent to the Alibaba Cloud account by email or text message.
Custom
Select one or more contacts or contact groups. After the configuration is complete, the backup client for the ECS instance sends backup alerts to the selected contacts or groups.
ImportantCustom backup alert rules apply only to automatic backup jobs.