|
| 1 | +--- |
| 2 | +title: Troubleshoot Azure Database for MySQL - Flexible Server backup using Azure Backup |
| 3 | +description: Troubleshooting information for backing up Azure Database for MySQL - Flexible server. |
| 4 | +ms.topic: troubleshooting |
| 5 | +ms.date: 03/29/2024 |
| 6 | +ms.service: backup |
| 7 | +author: AbhishekMallick-MS |
| 8 | +ms.author: v-abhmallick |
| 9 | +--- |
| 10 | + |
| 11 | +# Troubleshoot Azure Database for MySQL - Flexible Server backup (preview) |
| 12 | + |
| 13 | +This article provides the recommended actions to troubleshoot the issues you might encounter during the backup or restore of Azure Database for MySQL - Flexible server. |
| 14 | + |
| 15 | +## Common errors for the backup and restore operations |
| 16 | + |
| 17 | + |
| 18 | +### MySQLFlexOperationFailedUserError |
| 19 | + |
| 20 | +**Error code**: MySQLFlexOperationFailedUserError |
| 21 | + |
| 22 | +**Inner error code**: ResourceGroupNotFound |
| 23 | + |
| 24 | +**Recommended action**: Check if the resource group of the backed-up server is deleted. We recommend you to stop protection for the backup instance to avoid failures. |
| 25 | + |
| 26 | +### MySQLFlexOperationFailedUserError |
| 27 | + |
| 28 | +**Error code**: MySQLFlexOperationFailedUserError |
| 29 | + |
| 30 | +**Inner error code**: ResourceNotFound |
| 31 | + |
| 32 | +**Recommended action**: Check if the resource being backed up is deleted. We recommend you to stop protection for the backup instance to avoid failures. |
| 33 | + |
| 34 | +### MySQLFlexOperationFailedUserError |
| 35 | + |
| 36 | +**Error code**: MySQLFlexOperationFailedUserError |
| 37 | + |
| 38 | +**Inner error code**: AuthorizationFailed |
| 39 | + |
| 40 | +**Cause**: Required permissions aren't present to perform the backup operation. |
| 41 | + |
| 42 | +**Recommended action**: Assign the [appropriate permissions](backup-azure-mysql-flexible-server-about.md#permissions-for-an-azure-database-for-mysql---flexible-server-backup). |
| 43 | + |
| 44 | +### MySQLFlexClientError |
| 45 | + |
| 46 | +**Error code**: MySQLFlexClientError |
| 47 | + |
| 48 | +**Inner error code**: BackupAlreadyRunningForServer |
| 49 | + |
| 50 | +**Cause**: A backup operation is already running on the server. |
| 51 | + |
| 52 | +**Recommended action**: Wait for the previous operation to finish before triggering the next backup operation. |
| 53 | + |
| 54 | +### UserErrorMaxConcurrentOperationLimitReached |
| 55 | + |
| 56 | +**Error code**: UserErrorMaxConcurrentOperationLimitReached |
| 57 | + |
| 58 | +**Inner error code**: UserErrorMaxConcurrentOperationLimitReached |
| 59 | + |
| 60 | +**Cause**: The count to perform backups on the server reached the maximum limit. |
| 61 | + |
| 62 | +**Recommended action**: Try to trigger a backup once the current running backup job finishes. |
| 63 | + |
| 64 | +### UserErrorMSIMissingPermissions |
| 65 | + |
| 66 | +**Error code**: UserErrorMSIMissingPermissions |
| 67 | + |
| 68 | +**Inner error code**: UserErrorMSIMissingPermissions |
| 69 | + |
| 70 | +**Cause**: The required set of permissions isn't present to perform the restore operation. |
| 71 | + |
| 72 | +**Recommended action**: Assign the [appropriate permissions](backup-azure-mysql-flexible-server-about.md#permissions-for-an-azure-database-for-mysql---flexible-server-backup) and retrigger backup operation. |
| 73 | + |
| 74 | +## Next steps |
| 75 | + |
| 76 | +- [About long-term retention for Azure Database for MySQL - Flexible Server by using Azure Backup (preview)](backup-azure-mysql-flexible-server-about.md). |
0 commit comments