Skip to content

Commit 6f278b6

Browse files
author
AbhishekMallick-MS
committed
PSQL Flex TSG article
1 parent 5d40e90 commit 6f278b6

File tree

1 file changed

+31
-29
lines changed

1 file changed

+31
-29
lines changed

articles/backup/backup-azure-database-postgresql-flex-troubleshoot.md

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshoot Azure Database for PostgreSQL - Flexible server backup
33
description: Troubleshooting information for backing up Azure Database for PostgreSQL - Flexible server.
44
ms.topic: troubleshooting
5-
ms.date: 03/11/2024
5+
ms.date: 03/12/2024
66
ms.service: backup
77
author: AbhishekMallick-MS
88
ms.author: v-abhmallick
@@ -12,57 +12,59 @@ ms.author: v-abhmallick
1212

1313
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.
1414

15+
## Common backup and restore errors
1516

17+
### PostgreSQLFlexOperationFailedUserError
1618

19+
**Error code**: PostgreSQLFlexOperationFailedUserError
1720

18-
## Backup and Restore Errors
21+
**Cause**: Resource isn't in a valid state to perform the backup operation because the server isn't ready for long term retention.
1922

20-
ServerNotReadyForLongTermBackup
23+
**Recommended action**: Validate if the PostgreSQL - Flexible server has the following properties in its resource JSON script: `"state": "Ready"`. If not present, wait for the state to change or fix the PostgreSQL - Flexible server properties to make it ready for backup.
2124

22-
Error Code: PostgreSQLFlexOperationFailedUserError
25+
### PostgreSQLFlexOperationFailedUserError
2326

24-
Possible causes: Resource is not in a valid state to perform the backup operation.
27+
**Error code**: PostgreSQLFlexOperationFailedUserError
2528

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.
29+
**Cause**: Resource group isn't found because the server isn't ready for long term retention.
2730

28-
31+
**Recommended action**: Stop protection for the backup instance to avoid failures.
2932

30-
ResourceGroupNotFound
33+
### PostgreSQLFlexOperationFailedUserError
3134

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+
**Error code**: PostgreSQLFlexOperationFailedUserError
3536

36-
ResourceNotFound
37+
**Cause**: Resource isn't found because the server isn't ready for long term retention.
3738

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.
39+
**Recommended action**: Stop protection for the backup instance to avoid failures.
4140

42-
AuthorizationFailed
41+
### PostgreSQLFlexOperationFailedUserError
4342

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.
43+
**Error code**: PostgreSQLFlexOperationFailedUserError
4744

48-
UserErrorMaxConcurrentOperationLimitReached
45+
**Cause**: Required permissions aren't present to perform the backup operation.
4946

50-
Error Code: UserErrorMaxConcurrentOperationLimitReached
47+
**Recommended action**: Assign the [appropriate permissions](backup-azure-database-postgresql-flex-overview.md#permissions-for-backup) and retrigger the backup operation.
5148

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.
49+
### UserErrorMaxConcurrentOperationLimitReached
5450

55-
Restore Errors
51+
**Error code**: UserErrorMaxConcurrentOperationLimitReached
5652

57-
UserErrorMSIMissingPermissions
53+
**Cause**: Limit to the number of backups that can be performed on a backup instance has reached to maximum.
5854

59-
Error Code: UserErrorMSIMissingPermissions
55+
**Recommended action**: Try to trigger a backup operation once the current backup job is complete.
6056

61-
Possible causes: Required set of permissions not present to perform the restore operation
57+
### UserErrorMSIMissingPermissions
6258

63-
Recommended Action: Please assign the appropriate permissions mentioned here and retrigger backup operation.
59+
**Error code**: UserErrorMSIMissingPermissions
6460

65-
61+
**Cause**: The required set of permissions aren't present to perform the restore operation.
62+
63+
**Recommended action**: Assign the [appropriate permissions](backup-azure-database-postgresql-flex-overview.md#permissions-for-backup) and retrigger the backup operation.
64+
65+
## Next steps
66+
67+
- [About Azure Database for PostgreSQL - Flexible server backup (preview)](backup-azure-database-postgresql-flex-overview.md).
6668

6769

6870

0 commit comments

Comments
 (0)