You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Azure Cosmos DB for PostgreSQL automatically creates
18
-
backups of each node and stores them in locally redundant storage. Backups can
18
+
backups of each node in a cluster. Backups can
19
19
be used to restore your cluster to a specified time - point-in-time restore (PITR).
20
20
Backup and restore are an essential part of any business continuity strategy
21
21
because they protect your data from accidental corruption or deletion.
@@ -29,13 +29,49 @@ server to any point in time within the retention period. (The retention period
29
29
is currently 35 days for all clusters.) All backups are encrypted using
30
30
AES 256-bit encryption.
31
31
32
-
In Azure regions that support availability zones, backup snapshots and WAL files are stored
33
-
in three availability zones. As long as at least one availability zone is
34
-
online, the cluster is restorable.
35
-
36
32
Backup files can't be exported. They may only be used for restore operations
37
33
in Azure Cosmos DB for PostgreSQL.
38
34
35
+
### Backup redundancy
36
+
37
+
Azure Cosmos DB for PostgreSQL supports the following backup redundancy options.
38
+
39
+
* Same region backup
40
+
* Zone-redundant backup storage: This option is automatically chosen for regions that support availability zones. When the backups are stored in zone-redundant backup storage, in addition to multiple copies of data stored within the availability zone where each cluster's node is hosted, the data is also replicated to other availability zones.
41
+
42
+
* Locally redundant backup storage: This option is automatically chosen for regions that don't support availability zones. When the backups are stored in locally redundant backup storage, multiple copies of backups are stored in the same region.
43
+
44
+
* Cross-region backup (in preview)
45
+
* Geo-redundant backup storage: You can choose this option at the time of cluster creation. When the backups are stored in another region, in addition to three copies of data stored within the region where your cluster is hosted, the data is replicated to another region.
46
+
47
+
Geo-redundant backup is supported in the following Azure regions.
> Geo-redundant backup and restore in Azure Cosmos DB for PostgreSQL is currently in preview.
71
+
> This preview version is provided without a service level agreement, and it's not recommended
72
+
> for production workloads. Certain features might not be supported or might have constrained
73
+
> capabilities.
74
+
39
75
### Backup storage cost
40
76
41
77
For current backup storage pricing, see the Azure Cosmos DB for PostgreSQL
@@ -44,7 +80,7 @@ For current backup storage pricing, see the Azure Cosmos DB for PostgreSQL
44
80
## Restore
45
81
46
82
You can restore a cluster to any point in time within
47
-
the last 35 days. Point-in-time restore is useful in multiple scenarios. For
83
+
the last 35 days. Point-in-time restore is useful in multiple scenarios. For
48
84
example, when a user accidentally deletes data, drops an important table or
49
85
database, or if an application accidentally overwrites good data with bad data.
50
86
@@ -53,7 +89,9 @@ database, or if an application accidentally overwrites good data with bad data.
53
89
> open a support request to restore the cluster to a point that is earlier
54
90
> than the latest failover time.
55
91
56
-
When all nodes are up and running, you can restore cluster without any data loss. In an extremely rare case of a node experiencing a catastrophic event (and [high availability](./concepts-high-availability.md) isn't enabled on the cluster), you may lose up to 5 minutes of data.
92
+
For same-region restore, when all nodes are up and running, you can restore cluster without any data loss. In an extremely rare case of a node experiencing a catastrophic event (and [high availability](./concepts-high-availability.md) isn't enabled on the cluster), you may lose up to 5 minutes of data.
93
+
94
+
On clusters with geo-backup enabled, restore can be performed in the remote region or in the same region where cluster is located.
57
95
58
96
> [!IMPORTANT]
59
97
> Deleted clusters can't be restored. If you delete the
@@ -62,7 +100,7 @@ When all nodes are up and running, you can restore cluster without any data loss
62
100
> accidental deletion or unexpected changes, administrators can leverage
Copy file name to clipboardExpand all lines: articles/cosmos-db/postgresql/howto-read-replicas-portal.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ To create a read replica, follow these steps:
37
37
38
38
4. Under **Cluster name**, enter a name for the read replica.
39
39
40
-
5. Select a value from the **Location (preview)** drop-down.
40
+
5. Select a value from the **Location** drop-down.
41
41
42
42
6. Select **OK**.
43
43
@@ -52,6 +52,21 @@ After the read replica is created, you can see it listed on the **Replicate data
52
52
> replica setting to an equal or greater value. This action helps the replica
53
53
> keep up with any changes made to the master.
54
54
55
+
## Promote a read replica
56
+
57
+
To [promote a cluster read replica](./concepts-read-replicas.md#replica-promotion-to-independent-cluster) to an independent read-write cluster, follow these steps:
58
+
59
+
1. Select the read replica you would like to promote in the portal.
60
+
61
+
2. On the cluster sidebar, under **Cluster management**, select
62
+
**Replicate data globally**.
63
+
64
+
3. On the **Replicate data globally** page, find the read replica in the list of clusters under the map and click the promote icon.
65
+
66
+
4. On the **Promote \<cluster name>** screen, double check the read replica's name, confirm that you understand that promotion is irreversible by setting the checkbox, and select **Promote**.
67
+
68
+
After the read replica is promoted, it becomes an independent readable and writable cluster with the same connection string.
69
+
55
70
## Delete a primary cluster
56
71
57
72
To delete a primary cluster, you use the same steps as to delete a
This article provides step-by-step procedures to perform [point-in-time
17
+
> [!IMPORTANT]
18
+
> Geo-redundant backup and restore in Azure Cosmos DB for PostgreSQL is currently in preview.
19
+
> This preview version is provided without a service level agreement, and it's not recommended
20
+
> for production workloads. Certain features might not be supported or might have constrained
21
+
> capabilities.
22
+
23
+
This article provides step-by-step procedures to select backup type, to check type of backup enabled on a cluster, and to perform [point-in-time
18
24
recoveries](concepts-backup.md#restore) for a
19
25
cluster using backups. You can restore either to the earliest backup or to
20
26
a custom restore point within your retention period.
21
27
28
+
> [!NOTE]
29
+
> While cluster backups are always stored for 35 days, you may need to
30
+
> open a support request to restore the cluster to a point that is earlier
31
+
> than the latest failover time.
32
+
33
+
## Select type of cluster backup
34
+
Enabling geo-redundant backup is possible during cluster creation on the **Scale** screen that can be accessed on the **Basics** tab. Click the **Save** button to apply your selection.
35
+
36
+
> [!NOTE]
37
+
> Geo-redundant backup can be enabled only during cluster creation.
38
+
> You can't disable geo-redundant backup once cluster is created.
39
+
40
+
## Confirm type of backup
41
+
To check what type of backup is enabled on a cluster, follow these steps:
42
+
43
+
1. In the [Azure portal](https://portal.azure.com/), select an existing Azure Cosmos DB for PostgreSQL cluster.
44
+
1. On the **Overview** page, check **Backup** field in the **Essentials** section.
45
+
46
+
The **Backup** field values can be **Locally redundant** or **Zone redundant** for the same region cluster backup or **Geo-redundant** for the backup stored in another Azure region.
47
+
22
48
## Restore to the earliest restore point
23
49
24
50
Follow these steps to restore your cluster to its
25
51
earliest existing backup.
26
52
27
-
1.In the [Azure portal](https://portal.azure.com/), from the **Overview** page of the cluster you want to restore, select **Restore**.
53
+
1. In the [Azure portal](https://portal.azure.com/), from the **Overview** page of the cluster you want to restore, select **Restore**.
28
54
29
55
1. On the **Restore** page, select the **Earliest** restore point, which is shown.
30
56
31
-
1. Provide a new cluster name in the **Restore to new cluster** field. The subscription, resource group, and location fields aren't editable.
57
+
1. Provide a new cluster name in the **Restore to new cluster** field. The subscription and resource group fields aren't editable.
32
58
33
-
1. Select **OK**. A notification shows that the restore operation is initiated.
59
+
1. If cluster has geo-redundant backup enabled, select remote or same region for restore in the **Location** field. On clusters with zone-redundant and locally redundant backup, location field isn't editable.
60
+
61
+
1. Select **Next**.
62
+
63
+
1. (optional) Make data encryption selection for restored cluster on the **Encryption (preview)** tab.
64
+
65
+
1. Select **Create**. A notification shows that the restore operation is initiated.
34
66
35
67
1. When the restore completes, follow the [post-restore tasks](#post-restore-tasks).
36
68
@@ -39,13 +71,19 @@ earliest existing backup.
39
71
Follow these steps to restore your cluster to a date
40
72
and time of your choosing.
41
73
42
-
1.In the [Azure portal](https://portal.azure.com/), from the **Overview** page of the cluster you want to restore, select **Restore**.
74
+
1. In the [Azure portal](https://portal.azure.com/), from the **Overview** page of the cluster you want to restore, select **Restore**.
43
75
44
76
1. On the **Restore** page, choose **Custom restore point**.
45
77
46
-
1. Select a date and provide a time in the date and time fields, and enter a cluster name in the **Restore to new cluster** field. The other fields aren't editable.
47
-
48
-
1. Select **OK**. A notification shows that the restore operation is initiated.
78
+
1. Select a date and provide a time in the date and time fields, and enter a cluster name in the **Restore to new cluster** field. The subscription and resource group fields aren't editable.
79
+
80
+
1. If cluster has geo-redundant backup enabled, select remote or same region for restore in the **Location** field. On clusters with zone-redundant and locally redundant backup, location field isn't editable.
81
+
82
+
1. Select **Next**.
83
+
84
+
1. (optional) Make data encryption selection for restored cluster on the **Encryption (preview)** tab.
85
+
86
+
1. Select **Create**. A notification shows that the restore operation is initiated.
49
87
50
88
1. When the restore completes, follow the [post-restore tasks](#post-restore-tasks).
51
89
@@ -54,8 +92,8 @@ and time of your choosing.
54
92
After a restore, you should do the following to get your users and applications
55
93
back up and running:
56
94
57
-
* If the new server is meant to replace the original server, redirect clients
58
-
and client applications to the new server
95
+
* If the new cluster is meant to replace the original cluster, redirect clients
96
+
and client applications to the new cluster.
59
97
* Ensure appropriate [networking settings for private or public access](./concepts-security-overview.md#network-security) are in place for
60
98
users to connect. These settings aren't copied from the original cluster.
61
99
* Ensure appropriate [logins](./howto-create-users.md) and database level permissions are in place.
@@ -65,4 +103,5 @@ back up and running:
65
103
66
104
* Learn more about [backup and restore](concepts-backup.md) in
67
105
Azure Cosmos DB for PostgreSQL.
106
+
* See [backup and restore limits and limitations](./reference-limits.md#backup-and-restore).
68
107
* Set [suggested alerts](./howto-alert-on-metric.md#suggested-alerts) on clusters.
# Product updates for Azure Cosmos DB for PostgreSQL
@@ -23,6 +23,8 @@ Updates that don’t directly affect the internals of a cluster are rolled out g
23
23
Updates that change cluster internals, such as installing a [new minor PostgreSQL version](https://www.postgresql.org/developer/roadmap/), are delivered to existing clusters as part of the next [scheduled maintenance](concepts-maintenance.md) event. Such updates are available immediately to newly created clusters.
24
24
25
25
### September 2023
26
+
* Preview: Geo-redundant backup and restore
27
+
* Learn more about [backup and restore Azure Cosmos DB for PostgreSQL](./concepts-backup.md)
26
28
* Preview: [32 TiB storage per node for multi-node configurations](./resources-compute.md#multi-node-cluster) is now available in all supported regions.
27
29
* See [how to maximize IOPS on your cluster](./resources-compute.md#maximum-iops-for-your-compute--storage-configuration).
28
30
* General availability: Azure Cosmos DB for PostgreSQL is now available in Australia Central, Canada East, and Qatar Central.
@@ -136,6 +138,7 @@ might have constrained capabilities. For more information, see
Copy file name to clipboardExpand all lines: articles/cosmos-db/postgresql/reference-limits.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ be scaled down (decreased).
62
62
63
63
### Storage size
64
64
65
-
Up to 16 TiB of storage is supported on coordinator and worker nodes in multi-node configuration. Up to 2 TiB of storage is supported for single node configurations. See [the available storage options and IOPS calculation](resources-compute.md)
65
+
Up to 32 TiB of storage is supported on coordinator and worker nodes in multi-node configuration. Up to 2 TiB of storage is supported for single node configurations. See [the available storage options and IOPS calculation](resources-compute.md)
66
66
for various node and cluster sizes.
67
67
68
68
## Compute
@@ -85,6 +85,7 @@ currently **not supported**:
85
85
* PostgreSQL 11 support
86
86
* Read replicas
87
87
* High availability
88
+
* Geo-redundant backup
88
89
* The [azure_storage](howto-ingest-azure-blob-storage.md) extension
89
90
90
91
## Authentication
@@ -104,6 +105,17 @@ with an error.
104
105
105
106
By default this database is called `citus`. Azure Cosmos DB for PostgreSQL supports custom database names at cluster provisioning time only.
106
107
108
+
## Backup and restore
109
+
110
+
### Geo-redundant backup and restore (preview)
111
+
* Geo-redundant backup can be enabled only during cluster creation.
112
+
* You can enable geo-redundant backup when you perform a cluster restore.
113
+
* You can enable geo-redundant backup when you [promote a cluster read-replica to an independent cluster](./howto-read-replicas-portal.md#promote-a-read-replica).
114
+
* Geo-redundant backup can't be enabled on single node clusters with [burstable compute](./concepts-burstable-compute.md).
115
+
* Geo-redundant backup can't be disabled once cluster is created.
116
+
*[Customer managed key (CMK)](./concepts-customer-managed-keys.md) isn't supported for clusters with geo-redundant backup enabled.
117
+
* Azure Cosmos DB for PostgreSQL cluster with geo-redundant backup enabled can't have a [cluster read replica](./concepts-read-replicas.md) in the region where geo-redundant backup is stored.
0 commit comments