forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Labels
featureAuto-created labelAuto-created label
Description
Description
When database backups complete, the notification sent to users only indicates "Database backup completed" without specifying which database was backed up. This makes it difficult to track backups when managing multiple databases.
Current Behavior
- Database backup process completes
- Generic notification sent: "Database backup completed"
- No database identifier in notification
- Users cannot determine which database was backed up
- Confusing when multiple databases are configured
Expected Behavior
- Backup completes for specific database
- Notification includes database name: "Database backup completed: production-db"
- Clear identification of backed up database
- Separate notifications for each database backup
- Better audit trail for backup operations
Use Cases
- Multiple databases: Users managing several databases need to track each backup
- Troubleshooting: Verify correct database was backed up
- Compliance: Clear audit trail of which databases are being backed up
- Monitoring: Easy identification of backup operations
Steps to Reproduce
- Configure multiple databases in Omi backend
- Set up automatic backups for at least one database
- Trigger or wait for backup to complete
- Observe notification received
- Notice notification lacks database name/identifier
Proposed Solution
Modify backup notification system to:
- Pass database name/identifier to notification function
- Update notification message template to include database name
- Format: "Database backup completed: {database_name}"
- Ensure database context is available throughout backup process
- Test with different database types and names
Technical Context
- Component: Backend backup notification system
- Type: Feature enhancement
- Language: Python
- Involves: Backup service, notification service
- Files: Backup logic and notification templating
- Data flow: Database context → Backup service → Notification service
Download https://cap.so/ to record your screen (use Studio mode). Export as an mp4, and drag and drop into an issue comment below.
Metadata
Metadata
Assignees
Labels
featureAuto-created labelAuto-created label