|
| 1 | +--- |
| 2 | +title: Troubleshoot Azure Database for PostgreSQL - Flexible server backup |
| 3 | +description: Troubleshooting information for backing up Azure Database for PostgreSQL - Flexible server. |
| 4 | +ms.topic: troubleshooting |
| 5 | +ms.date: 03/11/2024 |
| 6 | +ms.service: backup |
| 7 | +author: AbhishekMallick-MS |
| 8 | +ms.author: v-abhmallick |
| 9 | +--- |
| 10 | + |
| 11 | +# Troubleshoot Azure Database for PostgreSQL - 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 PostgreSQL - Flexible server. |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +## Backup and Restore Errors |
| 19 | + |
| 20 | +ServerNotReadyForLongTermBackup |
| 21 | + |
| 22 | +Error Code: PostgreSQLFlexOperationFailedUserError |
| 23 | + |
| 24 | +Possible causes: Resource is not in a valid state to perform the backup operation. |
| 25 | + |
| 26 | +Recommended Action: Please validate that the PgFlex server has the following properties in its resource json:- "state": "Ready". If not the case, wait for the state to change or fix the PgFlex server properties to make it ready for backup. |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | +ResourceGroupNotFound |
| 31 | + |
| 32 | +Error Code: PostgreSQLFlexOperationFailedUserError |
| 33 | +Possible causes: Resource group not found. Might have been deleted by the user. |
| 34 | +Recommended Action: Stop Protection for the backup instance to avoid failures. |
| 35 | + |
| 36 | +ResourceNotFound |
| 37 | + |
| 38 | +Error Code: PostgreSQLFlexOperationFailedUserError |
| 39 | +Possible causes: Resource not found. Might have been deleted by the user. |
| 40 | +Recommended Action: Stop Protection for the backup instance to avoid failures. |
| 41 | + |
| 42 | +AuthorizationFailed |
| 43 | + |
| 44 | +Error Code: PostgreSQLFlexOperationFailedUserError |
| 45 | +Possible causes: Required permissions not present to perform the backup operation. |
| 46 | +Recommended Action: Please assign the appropriate permissions mentioned here and retrigger backup operation. |
| 47 | + |
| 48 | +UserErrorMaxConcurrentOperationLimitReached |
| 49 | + |
| 50 | +Error Code: UserErrorMaxConcurrentOperationLimitReached |
| 51 | + |
| 52 | +Possible causes: |
| 53 | +Recommended Action: Limit reached on the number of backups that can be performed on a backup instance. Try to trigger a backup once the current running backup job finishes. |
| 54 | + |
| 55 | +Restore Errors |
| 56 | + |
| 57 | +UserErrorMSIMissingPermissions |
| 58 | + |
| 59 | +Error Code: UserErrorMSIMissingPermissions |
| 60 | + |
| 61 | +Possible causes: Required set of permissions not present to perform the restore operation |
| 62 | + |
| 63 | +Recommended Action: Please assign the appropriate permissions mentioned here and retrigger backup operation. |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
0 commit comments