Summary:
To confirm that a universe backup has been successfully deleted in YugabyteDB Anywhere (YBA), you should:
- Check YBA application logs for state transitions and deletion confirmations.
- Monitor the ybp_delete_backup_failure metric to detect potential failures.
- Review the YBA UI for the final backup/task status.
Steps to Verify Backup Deletion
1. From Application Logs
YBA logs detailed information about backup state transitions and deletion outcomes. Look for the following log entries in /opt/yugabyte/data/logs/application.log:
a. State Transition:
This indicates the backup deletion process has been initiated
[DEBUG] <backup-uuid> from Backup in TaskPool-XX - Backup state transitioned from Completed to QueuedForDeletion
b. Task Completion:
This confirms the deletion task was successfully submitted and completed
[INFO] <backup-uuid> from DefaultTaskExecutionListener in TaskPool-XX - Task taskType : DeleteBackupYb, taskState: Success is completed
c. Final Deletion Confirmation:
This log entry confirms that the backup has been fully deleted from the system.
[INFO] <backup-uuid> from BackupGarbageCollector ... - Backup <backup-uuid> is successfully deleted
2. Using the YBA UI
- Navigate to your universe and select
-
Backups > Backups
- Deleted backups should no longer appear in the list. If you initiated deletion via a scheduled policy, you can also check under
-
Scheduled Backup Policies
- for status updates or removal of the backup entry
- Delete a scheduled backup and policy
-
Backups > Backups
3. Monitor Backup Deletion Metrics
YBA exposes a Prometheus gauge metric, ybp_delete_backup_failure, which tracks failed backup deletions per customer.
You can set up an alert or dashboard to monitor this metric:
last_over_time(ybp_delete_backup_failure{customer_uuid = "__customerUuid__"}[1d]) {{ query_condition }} 0A value of
0 indicates no backup deletion failures in the last day, while a non-zero value signals issues that may require investigation. Task History
- In the YBA UI, check the Task History
- for the backup deletion task. A successful deletion will show the task as completed with a "Success" state. If the task is stuck or spinning, it may indicate a UI or backend issue
Comments
0 comments
Please sign in to leave a comment.