Skip to content

Commit 75ea1ae

Browse files
authored
Merge pull request #192250 from aditivgupta/lrstogrs
LRS to GRS migration
2 parents 880dd86 + 4146012 commit 75ea1ae

File tree

3 files changed

+52
-10
lines changed

3 files changed

+52
-10
lines changed

articles/mysql/flexible-server/concepts-backup-restore.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ Backup redundancy ensures that your database meets its availability and durabili
3535

3636
- **Zone-redundant backup storage** : When the backups are stored in zone-redundant backup storage, multiple copies are not only stored within the availability zone in which your server is hosted, but are also replicated to another availability zone in the same region. This option can be leveraged for scenarios that require high availability or for restricting replication of data to within a country/region to meet data residency requirements. Also this provides at least 99.9999999999% (12 9's) durability of Backups objects over a given year. One can select Zone-Redundant High Availability option at server create time to ensure zone-redundant backup storage. High Availability for a server can be disabled post create however the backup storage will continue to remain zone-redundant.
3737

38-
- **Geo-Redundant backup storage** : When the backups are stored in geo-redundant backup storage, multiple copies are not only stored within the region in which your server is hosted, but are also replicated to its geo-paired region. This provides better protection and ability to restore your server in a different region in the event of a disaster. Also this provides at least 99.99999999999999% (16 9's) durability of Backups objects over a given year. One can enable Geo-Redundancy option at server create time to ensure geo-redundant backup storage. Geo redundancy is supported for servers hosted in any of the [Azure paired regions](overview.md#azure-regions).
38+
- **Geo-Redundant backup storage** : When the backups are stored in geo-redundant backup storage, multiple copies are not only stored within the region in which your server is hosted, but are also replicated to its geo-paired region. This provides better protection and ability to restore your server in a different region in the event of a disaster. Also this provides at least 99.99999999999999% (16 9's) durability of Backups objects over a given year.One can enable Geo-Redundancy option at server create time to ensure geo-redundant backup storage. Additionally, you can move from locally redundant storage to geo-redundant storage post server create. Geo redundancy is supported for servers hosted in any of the [Azure paired regions](overview.md#azure-regions).
3939

4040
> [!NOTE]
41-
> Geo-redundancy and zone-redundant High Availability to support zone redundancy is current surfaced as a create time operation only.
41+
> Zone-redundant High Availability to support zone redundancy is current surfaced as a create time operation only. Currently, for a Zone-redundant High Availability server geo-redundancy can only be enabled/disabled at server create time.
4242
43-
## Moving from other backup storage options to geo-redundant backup storage
43+
## Moving from other backup storage options to geo-redundant backup storage
4444

45-
Configuring geo-redundant storage for backup is only allowed during server create. Once the server is provisioned, you cannot change the backup storage redundancy option. However you can still move your existing backups storage to geo-redundant storage using the following suggested ways:
45+
You can move your existing backups storage to geo-redundant storage using the following suggested ways:
4646

47-
- **Moving from locally redundant to geo-redundant backup storage** - In order to move your backup storage from locally redundant storage to geo-redundant storage, you can perform a point-in-time restore operation and change the Compute + Storage server configuration to enable Geo-redundancy for the locally redundant source server. Same Zone Redundant HA servers can also be restored as a geo-redundant server in a similar fashion as the underlying backup storage is locally redundant for the same.
47+
- **Moving from locally redundant to geo-redundant backup storage** - In order to move your backup storage from locally redundant storage to geo-redundant storage, you can change the Compute + Storage server configuration from Azure portal to enable Geo-redundancy for the locally redundant source server. Same Zone Redundant HA servers can also be restored as a geo-redundant server in a similar fashion as the underlying backup storage is locally redundant for the same.
4848

4949
- **Moving from zone-redundant to geo-redundant backup storage** - Azure Database for MySQL does not support zone-redundant storage to geo-redundant storage conversion through Compute + Storage settings change or point-in-time restore operation. In order to move your backup storage from zone-redundant storage to geo-redundant storage, creating a new server and migrating the data using [dump and restore](../concepts-migrate-dump-restore.md) is the only supported option.
5050

@@ -53,7 +53,7 @@ Configuring geo-redundant storage for backup is only allowed during server creat
5353

5454
Backups are retained based on the backup retention period setting on the server. You can select a retention period of 1 to 35 days with a default retention period is seven days. You can set the retention period during server creation or later by updating the backup configuration using Azure portal.
5555

56-
The backup retention period governs how far back in time can a point-in-time restore operation be performed, since its based on backups available. The backup retention period can also be treated as a recovery window from a restore perspective. All backups required to perform a point-in-time restore within the backup retention period are retained in backup storage. For example - if the backup retention period is set to seven days, the recovery window is considered last seven days. In this scenario, all the backups required to restore the server in last seven days are retained. With a backup retention window of seven days, database snapshots and transaction log backups are stored for the last eight days (1 day prior to the window).
56+
The backup retention period governs how far back in time can a point-in-time restore operation be performed, since it's based on backups available. The backup retention period can also be treated as a recovery window from a restore perspective. All backups required to perform a point-in-time restore within the backup retention period are retained in backup storage. For example - if the backup retention period is set to seven days, the recovery window is considered last seven days. In this scenario, all the backups required to restore the server in last seven days are retained. With a backup retention window of seven days, database snapshots and transaction log backups are stored for the last eight days (1 day prior to the window).
5757

5858
## Backup storage cost
5959

@@ -126,6 +126,8 @@ Geo-restore is the default recovery option when your server is unavailable becau
126126

127127
During geo-restore, the server configurations that can be changed include only security configuration (firewall rules and virtual network settings). Changing other server configurations such as compute, storage or pricing tier (Basic, General Purpose, or Memory Optimized) during geo-restore is not supported.
128128

129+
Geo-restore can also be performed on a stopped server leveraging Azure CLI. Read [Restore Azure Database for MySQL - Flexible Server with Azure CLI](how-to-restore-server-cli.md) to learn more about geo-restoring a server with Azure CLI.
130+
129131
The estimated time of recovery depends on several factors including the database sizes, the transaction log size, the network bandwidth, and the total number of databases recovering in the same region at the same time.
130132

131133
> [!NOTE]

articles/mysql/flexible-server/how-to-restore-server-cli.md

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,27 @@ ms.topic: how-to
88
ms.date: 04/01/2021
99
---
1010

11-
# Point-in-time restore of a Azure Database for MySQL Flexible Server with Azure CLI
11+
# Point-in-time restore of an Azure Database for MySQL Flexible Server with Azure CLI
1212

1313
[[!INCLUDE[applies-to-mysql-flexible-server](../includes/applies-to-mysql-flexible-server.md)]
1414

1515
This article provides step-by-step procedure to perform point-in-time recoveries in flexible server using backups.
1616

1717
## Prerequisites
1818

19-
- An Azure account with an active subscription.
19+
- An Azure account with an active subscription.
2020

2121
[!INCLUDE [flexible-server-free-trial-note](../includes/flexible-server-free-trial-note.md)]
2222
- Install or upgrade Azure CLI to the latest version. See [Install Azure CLI](/cli/azure/install-azure-cli).
23-
- Login to Azure account using [az login](/cli/azure/reference-index#az_login) command. Note the **id** property, which refers to **Subscription ID** for your Azure account.
23+
- Login to Azure account using [az login](/cli/azure/reference-index#az_login) command. Note the **id** property, which refers to **Subscription ID** for your Azure account.
2424

2525
```azurecli-interactive
2626
az login
2727
````
2828
2929
- If you have multiple subscriptions, choose the appropriate subscription in which you want to create the server using the ```az account set``` command.
3030
`
31+
3132
```azurecli
3233
az account set --subscription <subscription id>
3334
```
@@ -43,6 +44,7 @@ This article provides step-by-step procedure to perform point-in-time recoveries
4344
You can run the following command to restore a server to an earliest existing backup.
4445
4546
**Usage**
47+
4648
```azurecli
4749
az mysql flexible-server restore --restore-time
4850
--source-server
@@ -64,9 +66,37 @@ az mysql flexible-server restore \
6466
--restore-time "2021-03-03T13:10:00Z" \
6567
--source-server mydemoserver
6668
```
69+
6770
Time taken to restore will depend on the size of the data stored in the server.
6871

72+
## Geo-Restore a server from geo-backup to a new server
73+
74+
You can run the following command to geo-restore a server to the most recent backup available.
75+
76+
**Usage**
77+
78+
```azurecli
79+
az mysql flexible-server geo-restore --source-server
80+
--location
81+
[--name]
82+
[--no-wait]
83+
[--resource-group]
84+
[--subscription]
85+
```
86+
87+
**Example:**
88+
Geo-restore 'mydemoserver' in region East US to a new server 'mydemoserver-restored' in it’s geo-paired location West US with the same network setting.
89+
90+
```azurecli
91+
az mysql flexible-server geo-restore \
92+
--name mydemoserver-restored \
93+
--resource-group myresourcegroup \
94+
--location "West US" \
95+
--source-server mydemoserver
96+
```
97+
6998
## Perform post-restore tasks
99+
70100
After the restore is completed, you should perform the following tasks to get your users and applications back up and running:
71101

72102
- If the new server is meant to replace the original server, redirect clients and client applications to the new server
@@ -75,5 +105,5 @@ After the restore is completed, you should perform the following tasks to get yo
75105
- Configure alerts as appropriate for the newly restore server
76106

77107
## Next steps
78-
Learn more about [business continuity](concepts-business-continuity.md)
79108

109+
Learn more about [business continuity](concepts-business-continuity.md)

articles/mysql/flexible-server/whats-new.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ ms.date: 10/12/2021
1717

1818
This article summarizes new releases and features in Azure Database for MySQL - Flexible Server beginning in January 2021. Listings appear in reverse chronological order, with the most recent updates first.
1919

20+
## March 2022
21+
22+
This release of Azure Database for MySQL - Flexible Server includes the following updates.
23+
24+
- **Migrate from locally redundant backup storage to geo-redundant backup storage for existing flexible server**
25+
Azure Database for MySQL - Flexible Server now provides the added flexibility to migrate to geo-redundant backup storage from locally redundant backup storage post server-create to provide higher data resiliency. Enabling geo-redundancy via the server's Compute + Storage blade empowers customers to recover their existing flexible servers from a geographic disaster or regional failure when they can’t access the server in the primary region. With this feature enabled for their existing servers, customers can perform geo-restore and deploy a new server to the geo-paired Azure region leveraging the original server’s latest available geo-redundant backup. [Learn more](concepts-backup-restore.md)
26+
27+
- **Simulate disaster recovery drills for your stopped servers**
28+
Azure Database for MySQL - Flexible Server now provides the ability to perform geo-restore on stopped servers helping users simulate disaster recovery drills for their workloads to estimate impact and recovery time.This will help users plan better to meet their disaster recovery and business continuity objectives by leveraging geo-redundancy feature offered by Azure Database for MySQL Flexible Server. [Learn more](how-to-restore-server-cli.md)
29+
2030
## January 2022
2131

2232
This release of Azure Database for MySQL - Flexible Server includes the following updates.

0 commit comments

Comments
 (0)