When using the :doc:`backup schedulers <backup_schedulers>`, you can receive email notifications when certain actions occur—like when a :doc:`remote snapshot <remote_snapshots>` is created or deleted by the scheduler. This guide explains:
- What types of notifications are supported
- How and when they are triggered
- How to correctly configure your API requests
| Name | Description |
|---|---|
backup_scheduler_creation |
Sent when the :doc:`backup schedulers <backup_schedulers>` successfully creates a :doc:`remote snapshot <remote_snapshots>` or :doc:`local snapshot <snapshots>` item. |
backup_scheduler_deletion |
Sent when the :doc:`backup schedulers <backup_schedulers>` deletes a :doc:`remote snapshot <remote_snapshots>` or :doc:`local snapshot <snapshots>`, due to retention policies automated cleanup actions. |
- Notifications are delivered via email.
- Notification preferences are disabled by default for all new users with account status
REGULARorINACTIVE.
Warning
Even with the correct API fields, notifications will not be sent if the user has disabled them in their preferences.
More information about how to configure them can be found in:
| Notification Type | Required Field in API Payload |
|---|---|
backup_scheduler_creation |
enable_backup_policy_notifications: true |
backup_scheduler_deletion |
enable_retention_policy_notifications: true |
Note
✅ Both fields are set to false by default when creating :doc:`backupschedulers <backup_schedulers>`.
| API Field Values | Notifications Sent |
|---|---|
Both flags set to false |
❌ None |
Only enable_backup_policy_notifications = true |
✅ Only creation notifications |
Only enable_retention_policy_notifications = true |
✅ Only deletion notifications |
Both flags set to true |
✅ All notifications |
When creating or updating a :doc:`backup schedulers <backup_schedulers>`, you can control whether notifications are sent by adjusting the enable flags.
Here's an example payload that disables both notifications:
{
"type": "snapshot",
"name": "Weekday 3AM Snapshot Policy",
"is_default": false,
"is_enabled": true,
"manual_incremental_backup": "",
"retention_policy": {
"name": "Keep 3 Weeks",
"rules": [
{
"period": "weeks",
"quantity": 3
}
]
},
"incremental_backup": {
"day_of_week": ["mon", "tue", "wed", "thu", "fri"],
"day_of_month": "*",
"month": "*",
"hour": "3",
"minute": "0",
"repeat": {
"hour": "",
"minute": ""
},
"start_time": {
"hour": 12,
"minute": 0
},
"end_time": {
"hour": 11,
"minute": 45
}
},
"enable_backup_policy_notifications": false,
"enable_retention_policy_notifications": false,
"user_timezone": "Etc/UTC"
}