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
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/concepts-backup-restore.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,16 +35,16 @@ Backup redundancy ensures that your database meets its availability and durabili
35
35
36
36
-**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.
37
37
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).
39
39
40
40
> [!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.
42
42
43
-
## Moving from other backup storage options to geo-redundant backup storage
43
+
## Moving from other backup storage options to geo-redundant backup storage
44
44
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:
46
46
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.
48
48
49
49
-**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.
50
50
@@ -53,7 +53,7 @@ Configuring geo-redundant storage for backup is only allowed during server creat
53
53
54
54
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.
55
55
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).
57
57
58
58
## Backup storage cost
59
59
@@ -126,6 +126,8 @@ Geo-restore is the default recovery option when your server is unavailable becau
126
126
127
127
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.
128
128
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
+
129
131
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.
- 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.
24
24
25
25
```azurecli-interactive
26
26
az login
27
27
````
28
28
29
29
- If you have multiple subscriptions, choose the appropriate subscription in which you want to create the server using the ```az account set``` command.
30
30
`
31
+
31
32
```azurecli
32
33
az account set --subscription <subscription id>
33
34
```
@@ -43,6 +44,7 @@ This article provides step-by-step procedure to perform point-in-time recoveries
43
44
You can run the following command to restore a server to an earliest existing backup.
44
45
45
46
**Usage**
47
+
46
48
```azurecli
47
49
az mysql flexible-server restore --restore-time
48
50
--source-server
@@ -64,9 +66,37 @@ az mysql flexible-server restore \
64
66
--restore-time "2021-03-03T13:10:00Z" \
65
67
--source-server mydemoserver
66
68
```
69
+
67
70
Time taken to restore will depend on the size of the data stored in the server.
68
71
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
+
69
98
## Perform post-restore tasks
99
+
70
100
After the restore is completed, you should perform the following tasks to get your users and applications back up and running:
71
101
72
102
- 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
75
105
- Configure alerts as appropriate for the newly restore server
76
106
77
107
## Next steps
78
-
Learn more about [business continuity](concepts-business-continuity.md)
79
108
109
+
Learn more about [business continuity](concepts-business-continuity.md)
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/whats-new.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,16 @@ ms.date: 10/12/2021
17
17
18
18
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.
19
19
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
+
20
30
## January 2022
21
31
22
32
This release of Azure Database for MySQL - Flexible Server includes the following updates.
0 commit comments