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
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.topic: conceptual
7
7
author: VandhanaMehta
8
8
ms.author: vamehta
9
9
ms.custom: event-tier1-build-2022
10
-
ms.date: 05/24/2022
10
+
ms.date: 07/26/2022
11
11
---
12
12
13
13
# Backup and restore in Azure Database for MySQL Flexible Server
@@ -18,8 +18,16 @@ Azure Database for MySQL Flexible Server, automatically creates server backups a
18
18
19
19
## Backup overview
20
20
21
+
Flexible Server supports two types of backups to provide an enhanced flexibility towards maintaining backups of the business-critical data.
22
+
23
+
### Automated Backup
24
+
21
25
Flexible Server takes snapshot backups of the data files and stores them in a local redundant storage. The server also performs transaction logs backup and also stores them in local redundant storage. These backups allow you to restore a server to any point-in-time within your configured backup retention period. The default backup retention period is seven days. You can optionally configure the database backup from 1 to 35 days. All backups are encrypted using AES 256-bit encryption for the data stored at rest.
22
26
27
+
### On-Demand Backup
28
+
29
+
Flexible server also allows you to trigger on-demand backups of the production workload, in addition to the automated backups taken by the Azure Database for MySQL Flexible service and store it in alignment with server’s backup retention policy. You can use these backups as a fastest restore point to perform a point-in-time restore to reduce restore times by up to 90%. The default backup retention period is seven days. You can optionally configure the database backup from 1 to 35 days. You can trigger a total of 50 on-demand backups from the portal. All backups are encrypted using AES 256-bit encryption for the data stored at rest.
30
+
23
31
These backup files cannot be exported. The backups can only be used for restore operations in Flexible server. You can also use [mysqldump](../concepts-migrate-dump-restore.md#dump-and-restore-using-mysqldump-utility) from a MySQL client to copy a database.
24
32
25
33
## Backup frequency
@@ -70,7 +78,7 @@ The primary means of controlling the backup storage cost is by setting the appro
70
78
71
79
## View Available Full Backups
72
80
73
-
The Backup and Restore blade in the Azure portal lists the automated full backups taken daily once. One can use this blade to view the completion timestamps for all available full backups within the server’s retention period and to perform restore operations using these full backups. The list of available backups includes all full-automated backups within the retention period, a timestamp showing the successful completion, a timestamp indicating how long a backup will be retained, and a restore action.
81
+
The Backup and Restore blade in the Azure portal provides a complete list of the full backups available to you at any given point in time. This includes automated backups as well as the On-Demand backups. One can use this blade to view the completion timestamps for all available full backups within the server’s retention period and to perform restore operations using these full backups. The list of available backups includes all full backups within the retention period, a timestamp showing the successful completion, a timestamp indicating how long a backup will be retained, and a restore action.
74
82
75
83
## Restore
76
84
@@ -153,7 +161,7 @@ After a restore from either **latest restore point** or **custom restore point**
153
161
### Backup related questions
154
162
155
163
-**How do I backup my server?**
156
-
By default, Azure Database for MySQL enables automated backups of your entire server (encompassing all databases created) with a default 7-day retention period. The only way to manually take a backup is by using community tools such as mysqldump as documented [here](../concepts-migrate-dump-restore.md#dump-and-restore-using-mysqldump-utility) or mydumper as documented [here](../concepts-migrate-mydumper-myloader.md#create-a-backup-using-mydumper). If you wish to backup Azure Database for MySQL to a Blob storage, refer to our tech community blog [Backup Azure Database for MySQL to a Blob Storage](https://techcommunity.microsoft.com/t5/azure-database-for-mysql/backup-azure-database-for-mysql-to-a-blob-storage/ba-p/803830).
164
+
By default, Azure Database for MySQL enables automated backups of your entire server (encompassing all databases created) with a default 7-day retention period. You can also trigger a manual backup using On-Demand backup feature. The other way to manually take a backup is by using community tools such as mysqldump as documented [here](../concepts-migrate-dump-restore.md#dump-and-restore-using-mysqldump-utility) or mydumper as documented [here](../concepts-migrate-mydumper-myloader.md#create-a-backup-using-mydumper). If you wish to backup Azure Database for MySQL to a Blob storage, refer to our tech community blog [Backup Azure Database for MySQL to a Blob Storage](https://techcommunity.microsoft.com/t5/azure-database-for-mysql/backup-azure-database-for-mysql-to-a-blob-storage/ba-p/803830).
157
165
158
166
-**Can I configure automatic backups to be retained for long term?**
159
167
No, currently we only support a maximum of 35 days of automated backup retention. You can take manual backups and use that for long-term retention requirement.
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/how-to-restore-server-portal.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.subservice: flexible-server
6
6
ms.topic: how-to
7
7
author: Bashar-MSFT
8
8
ms.author: bahusse
9
-
ms.date: 04/01/2021
9
+
ms.date: 07/26/2022
10
10
---
11
11
12
12
# Point-in-time restore of a Azure Database for MySQL Flexible Server using Azure portal
@@ -76,7 +76,7 @@ Follow these steps to restore your flexible server using an existing full backup
76
76
77
77
2. Click **Backup and Restore** from the left panel.
78
78
79
-
3. View Available Backups page will be shown with the option to restore from all full automated backups taken for the server within the retention period.
79
+
3. View Available Backups page will be shown with the option to restore from available full automated backups and on-demand backups taken for the server within the retention period.
80
80
81
81
4. Select the desired full backup from the list by clicking on corresponding **Restore** action.
This article provides step-by-step procedure to trigger On-Demand backup from the portal.
18
+
19
+
## Prerequisites
20
+
21
+
To complete this how-to guide, you need:
22
+
23
+
- You must have an Azure Database for MySQL Flexible Server.
24
+
25
+
## Trigger On-Demand Backup
26
+
27
+
Follow these steps to trigger back up on demand:
28
+
29
+
1. In the [Azure portal](https://portal.azure.com/), choose your flexible server that you want to take backup of.
30
+
31
+
2. Select **Backup** and Restore from the left panel.
32
+
33
+
3. From the Backup and Restore page, Select **Backup Now**.
34
+
35
+
4. Take backup page is shown. Provide a custom name for the backup in the Backup name field.
36
+
37
+
:::image type="content" source="./media/how-to-trigger-on-demand-backup/trigger-ondemand-backup.png" alt-text="Screenshot showing how to trigger On-demand backup.":::
38
+
39
+
5. Select **Trigger**
40
+
41
+
6. A notification shows that a backup has been initiated.
42
+
43
+
7. Once completed, the on demand backup is seen listed along with the automated backups in the View Available Backups page.
44
+
45
+
## Restore from an On-Demand full backup
46
+
47
+
Learn more about [Restore a server](how-to-restore-server-portal.md)
48
+
49
+
## Next steps
50
+
51
+
Learn more about [business continuity](concepts-business-continuity.md)
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/index.yml
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ metadata:
5
5
description: "Azure Database for MySQL - Flexible Server is a relational database service in the Microsoft cloud that is built for developers and powered by the MySQL community edition."
0 commit comments