|
1 | 1 | ---
|
2 |
| -title: Manage Azure Database for PostgreSQL server |
3 |
| -description: Learn about managing Azure Database for PostgreSQL server. |
| 2 | +title: Manage an Azure Database for PostgreSQL Server by Using the Azure Portal |
| 3 | +description: Learn about managing an Azure Database for PostgreSQL server. |
4 | 4 | ms.topic: how-to
|
5 | 5 | ms.date: 09/11/2024
|
6 | 6 | ms.service: azure-backup
|
7 | 7 | author: jyothisuri
|
8 | 8 | ms.author: jsuri
|
9 | 9 | ---
|
10 | 10 |
|
11 |
| -# Manage Azure Database for PostgreSQL server |
| 11 | +# Manage an Azure Database for PostgreSQL server by using the Azure portal |
12 | 12 |
|
13 |
| -This article describes how to manage Azure Database for PostgreSQL servers that are backed up with the Azure Backup service. |
| 13 | +This article describes how to manage an Azure Database for PostgreSQL server that you back up by using the Azure Backup service. |
14 | 14 |
|
15 |
| -## Change policy |
| 15 | +## <a name = "change-policy"></a>Change a policy |
16 | 16 |
|
17 |
| -You can change the associated policy with a backup instance. |
| 17 | +You can change the policy that's associated with a backup instance. |
18 | 18 |
|
19 |
| -1. Select the **Backup Instance** -> **Change Policy**. |
| 19 | +Changing the backup policy does not affect existing recovery points and their retention duration. The updated retention settings apply only to new recovery points that you create after the policy change. |
20 | 20 |
|
| 21 | +1. In the Azure portal, go to your backup instance, and then select **Change Policy**. |
21 | 22 |
|
22 |
| - :::image type="content" source="./media/manage-azure-database-postgresql/change-policy.png" alt-text="Screenshot showing the option to change policy."::: |
23 |
| - |
24 |
| -1. Select the new policy that you wish to apply to the database. |
| 23 | + :::image type="content" source="./media/manage-azure-database-postgresql/change-policy.png" alt-text="Screenshot that shows the Change Policy button."::: |
25 | 24 |
|
26 |
| - :::image type="content" source="./media/manage-azure-database-postgresql/reassign-policy.png" alt-text="Screenshot showing the option to reassign policy."::: |
| 25 | +1. Select the new policy that you want to apply to the database. |
27 | 26 |
|
28 |
| -> [!NOTE] |
29 |
| -> |
30 |
| -> Changing a backup policy assigned to a backup instance does not affect existing recovery points and their retention duration. The updated retention settings will apply only to new recovery points created after the policy change. |
| 27 | + :::image type="content" source="./media/manage-azure-database-postgresql/reassign-policy.png" alt-text="Screenshot that shows the Reassign Policy pane."::: |
31 | 28 |
|
32 |
| -## Stop protection |
| 29 | +## <a name = "stop-protection"></a>Stop backup |
33 | 30 |
|
34 |
| -There are three ways to stop protecting an Azure Database for PostgreSQL server. |
| 31 | +There are three ways to stop backing up an Azure Database for PostgreSQL server: |
35 | 32 |
|
36 |
| -- **Stop Protection and Retain Data (Retain forever)**: This option helps you stop all future backup jobs from protecting your Azure Database for PostgreSQL server. However, Azure Backup service will retain the recovery points that are backed up forever. You'll need to pay to keep the recovery points in the vault (see [Azure Backup pricing](https://azure.microsoft.com/pricing/details/backup/) for details). You'll be able to restore from these recovery points, if needed. To resume protection, use the **Resume backup** option. |
| 33 | +- **Stop backup and retain data forever**: This option helps you stop all future backup jobs for your Azure Database for PostgreSQL server. However, the Azure Backup service retains the backed-up recovery points forever. You need to pay to keep the recovery points in the vault. (For details, see [Azure Backup pricing](https://azure.microsoft.com/pricing/details/backup/).) You can restore from these recovery points, if needed. To resume backup jobs, use the **Resume backup** option. |
37 | 34 |
|
38 |
| -- **Stop Protection and Retain Data (Retain as per Policy)**: This option helps you stop all future backup jobs from protecting your Azure Database for PostgreSQL server. The recovery points will be retained as per policy and will be chargeable according to [Azure Backup pricing](https://azure.microsoft.com/pricing/details/backup/). However, the latest recovery point will be retained forever. |
| 35 | +- **Stop backup and retain data according to a policy**: This option helps you stop all future backup jobs for your Azure Database for PostgreSQL server. The recovery points are retained according to a policy and are chargeable according to [Azure Backup pricing](https://azure.microsoft.com/pricing/details/backup/). However, the latest recovery point is retained forever. |
39 | 36 |
|
40 |
| -- **Stop Protection and Delete Data**: This option helps you stop all future backup jobs from protecting your Azure Database for PostgreSQL server and delete all the recovery points. You won't be able to restore the database or use the **Resume backup** option. |
| 37 | +- **Stop backup and delete data**: This option helps you stop all future backup jobs for your Azure Database for PostgreSQL server and delete all the recovery points. You can't restore the database or use the **Resume backup** option. |
41 | 38 |
|
42 |
| -### Stop protection and retain data |
| 39 | +### <a name = "stop-protection-and-retain-data"></a>Stop backup and retain data |
43 | 40 |
|
44 |
| -1. Go to **Backup center** and select **Azure Database for PostgreSQL server**. |
| 41 | +1. In the Azure portal, go to **Backup center** and select **Azure Database for PostgreSQL server**. |
45 | 42 |
|
46 |
| -1. From the list of server backup instances, select the instance that you want to retain. |
| 43 | +1. In the list of server backup instances, select the instance that you want to retain. |
47 | 44 |
|
48 | 45 | 1. Select **Stop Backup**.
|
49 | 46 |
|
50 |
| - :::image type="content" source="./media/manage-azure-database-postgresql/select-postgresql-server-backup-instance-to-delete-inline.png" alt-text="Screenshot showing the selection of the Azure Database for PostgreSQL server backup instance to be stopped." lightbox="./media/manage-azure-database-postgresql/select-postgresql-server-backup-instance-to-delete-expanded.png"::: |
| 47 | + :::image type="content" source="./media/manage-azure-database-postgresql/select-postgresql-server-backup-instance-to-delete-inline.png" alt-text="Screenshot that shows the selection of the Azure Database for PostgreSQL server backup instance to be stopped." lightbox="./media/manage-azure-database-postgresql/select-postgresql-server-backup-instance-to-delete-expanded.png"::: |
51 | 48 |
|
52 |
| -1. Select one of the following data retention options: |
| 49 | +1. Select one of the following options for data retention: |
53 | 50 |
|
54 |
| - 1. Retain forever |
55 |
| - 1. Retain as per policy |
56 |
| - |
57 |
| - :::image type="content" source="./media/manage-azure-database-postgresql/data-retention-options-inline.png" alt-text="Screenshot showing the options for data retention to be selected." lightbox="./media/manage-azure-database-postgresql/data-retention-options-expanded.png"::: |
| 51 | + - **Retain forever** |
| 52 | + - **Retain as per policy** |
58 | 53 |
|
59 |
| - You can also select the reason for stopping backups from the drop-down list. |
| 54 | + :::image type="content" source="./media/manage-azure-database-postgresql/data-retention-options-inline.png" alt-text="Screenshot that shows the options for data retention." lightbox="./media/manage-azure-database-postgresql/data-retention-options-expanded.png"::: |
60 | 55 |
|
61 |
| -1. Click **Stop Backup**. |
| 56 | + You can also select the reason for stopping the backup in the **Reason** dropdown list. |
62 | 57 |
|
63 |
| -1. Select **Confirm** to stop backup. |
| 58 | +1. Select **Stop Backup**. |
| 59 | + |
| 60 | +1. Select **Confirm**. |
64 | 61 |
|
65 |
| - :::image type="content" source="./media/manage-azure-database-postgresql/confirmation-to-stop-backup-inline.png" alt-text="Screenshot for the confirmation for stopping backup." lightbox="./media/manage-azure-database-postgresql/confirmation-to-stop-backup-expanded.png"::: |
| 62 | + :::image type="content" source="./media/manage-azure-database-postgresql/confirmation-to-stop-backup-inline.png" alt-text="Screenshot that shows the confirmation for stopping a backup." lightbox="./media/manage-azure-database-postgresql/confirmation-to-stop-backup-expanded.png"::: |
66 | 63 |
|
67 |
| -### Stop protection and delete data |
| 64 | +### <a name = "stop-protection-and-delete-data"></a>Stop backup and delete data |
68 | 65 |
|
69 |
| -1. Go to **Backup center** and select **Azure Database for PostgreSQL server**. |
| 66 | +1. In the Azure portal, go to **Backup center** and select **Azure Database for PostgreSQL server**. |
70 | 67 |
|
71 |
| -1. From the list of server backup instances, select the instance that you want to delete. |
| 68 | +1. In the list of server backup instances, select the instance that you want to delete. |
72 | 69 |
|
73 |
| -1. Click **Stop Backup**. |
| 70 | +1. Select **Stop Backup**. |
74 | 71 |
|
75 | 72 | 1. Select **Delete Backup Data**.
|
76 | 73 |
|
77 |
| - Provide the name of the backup instance, reason for deletion, and any other comments. |
| 74 | + Provide the name of the backup instance, the reason for deletion, and any other comments. |
78 | 75 |
|
79 |
| - :::image type="content" source="./media/manage-azure-database-postgresql/delete-backup-data-and-provide-details-inline.png" alt-text="Screenshot showing the option to delete backup data and the detail required to be added." lightbox="./media/manage-azure-database-postgresql/delete-backup-data-and-provide-details-expanded.png"::: |
| 76 | + :::image type="content" source="./media/manage-azure-database-postgresql/delete-backup-data-and-provide-details-inline.png" alt-text="Screenshot of the pane for entering details about deleting backup data." lightbox="./media/manage-azure-database-postgresql/delete-backup-data-and-provide-details-expanded.png"::: |
80 | 77 |
|
81 | 78 | 1. Select **Stop Backup**.
|
82 | 79 |
|
83 |
| -1. Select **Confirm** to stop backup. |
84 |
| - |
85 |
| - :::image type="content" source="./media/manage-azure-database-postgresql/confirmation-to-stop-backup-inline.png" alt-text="Screenshot for the confirmation for stopping backup." lightbox="./media/manage-azure-database-postgresql/confirmation-to-stop-backup-expanded.png"::: |
| 80 | +1. Select **Confirm**. |
86 | 81 |
|
87 |
| -## Resume protection |
| 82 | + :::image type="content" source="./media/manage-azure-database-postgresql/confirmation-to-stop-backup-inline.png" alt-text="Screenshot of the confirmation for stopping a backup." lightbox="./media/manage-azure-database-postgresql/confirmation-to-stop-backup-expanded.png"::: |
88 | 83 |
|
89 |
| -If you have selected the **Stop Protection and Retain data** option while stopping the data backup, you can resume protection for your Azure Database for PostgreSQL server. |
| 84 | +## <a name = "resume-protection"></a>Resume backup |
90 | 85 |
|
91 |
| ->[!Note] |
92 |
| ->When you resume protecting a backup instance, the existing backup policy will start applying to new recovery points only. Recovery points that have already expired based on their original retention duration, as defined by the backup policy in effect at the time of their creation, will be cleaned up. |
| 86 | +If you selected the option to stop backup and retain data, you can resume backing up your Azure Database for PostgreSQL server. |
93 | 87 |
|
94 |
| -Follow these steps: |
| 88 | +When you resume protecting a backup instance, the existing backup policy starts applying to new recovery points only. Recovery points that already expired based on their original retention duration, as defined by the backup policy in effect at the time of their creation, are cleaned up. |
95 | 89 |
|
96 |
| -1. Go to **Backup center** and select **Azure Database for PostgreSQL server**. |
| 90 | +1. In the Azure portal, go to **Backup center** and select **Azure Database for PostgreSQL server**. |
97 | 91 |
|
98 |
| -1. From the list of server backup instances, select the instance that you want resume. |
| 92 | +1. In the list of server backup instances, select the instance that you want to resume. |
99 | 93 |
|
100 | 94 | 1. Select **Resume Backup**.
|
101 | 95 |
|
102 |
| - :::image type="content" source="./media/manage-azure-database-postgresql/resume-data-protection-inline.png" alt-text="Screenshot showing the option to resume data protection." lightbox="./media/manage-azure-database-postgresql/resume-data-protection-expanded.png"::: |
| 96 | + :::image type="content" source="./media/manage-azure-database-postgresql/resume-data-protection-inline.png" alt-text="Screenshot that shows details for a backup instance and the Resume Backup button." lightbox="./media/manage-azure-database-postgresql/resume-data-protection-expanded.png"::: |
103 | 97 |
|
104 | 98 | 1. Select **Resume backup**.
|
105 | 99 |
|
106 |
| - :::image type="content" source="./media/manage-azure-database-postgresql/resume-data-backup-inline.png" alt-text="Screenshot showing the option to resume data backup." lightbox="./media/manage-azure-database-postgresql/resume-data-backup-expanded.png"::: |
| 100 | + :::image type="content" source="./media/manage-azure-database-postgresql/resume-data-backup-inline.png" alt-text="Screenshot that shows details for a resumed data backup." lightbox="./media/manage-azure-database-postgresql/resume-data-backup-expanded.png"::: |
107 | 101 |
|
108 |
| -## Next steps |
| 102 | +## Related content |
109 | 103 |
|
110 |
| -[Backup vaults overview](backup-vault-overview.md) |
| 104 | +- [Backup vaults overview](backup-vault-overview.md) |
0 commit comments