Skip to content

Commit 53fc73d

Browse files
Merge pull request #205783 from markingmyname/mysql
[MySQL] Create new Trigger on demand backup article
2 parents 38e0897 + a6cff13 commit 53fc73d

File tree

7 files changed

+130
-63
lines changed

7 files changed

+130
-63
lines changed

articles/mysql/TOC.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
- name: Create databases and users
7676
href: single-server/how-to-create-users.md
7777
displayName: users
78-
7978
- name: Concepts
8079
items:
8180
- name: Server Management
@@ -128,6 +127,8 @@
128127
items:
129128
- name: Backup & Restore concepts
130129
href: flexible-server/concepts-backup-restore.md
130+
- name: Trigger On-Demand Backup using Azure portal
131+
href: flexible-server/how-to-trigger-on-demand-backup.md
131132
- name: Integrations
132133
items:
133134
- name: Azure advisor

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.topic: conceptual
77
author: VandhanaMehta
88
ms.author: vamehta
99
ms.custom: event-tier1-build-2022
10-
ms.date: 05/24/2022
10+
ms.date: 07/26/2022
1111
---
1212

1313
# 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
1818

1919
## Backup overview
2020

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+
2125
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.
2226

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+
2331
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.
2432

2533
## Backup frequency
@@ -70,7 +78,7 @@ The primary means of controlling the backup storage cost is by setting the appro
7078
7179
## View Available Full Backups
7280

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.
7482

7583
## Restore
7684

@@ -153,7 +161,7 @@ After a restore from either **latest restore point** or **custom restore point**
153161
### Backup related questions
154162

155163
- **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).
157165

158166
- **Can I configure automatic backups to be retained for long term?**
159167
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.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.subservice: flexible-server
66
ms.topic: how-to
77
author: Bashar-MSFT
88
ms.author: bahusse
9-
ms.date: 04/01/2021
9+
ms.date: 07/26/2022
1010
---
1111

1212
# 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
7676

7777
2. Click **Backup and Restore** from the left panel.
7878

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.
8080

8181
4. Select the desired full backup from the list by clicking on corresponding **Restore** action.
8282

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Trigger On-Demand Backup for Azure Database for MySQL Flexible Server with Azure portal.
3+
description: This article describes how to trigger On-Demand backup from Azure portal
4+
ms.service: mysql
5+
ms.subservice: flexible-server
6+
ms.topic: how-to
7+
author: VandhanaMehta
8+
ms.author: vamehta
9+
ms.reviewer: maghan
10+
ms.date: 07/26/2022
11+
---
12+
13+
# Trigger On-Demand Backup of an Azure Database for MySQL Flexible Server using Azure portal
14+
15+
[!INCLUDE[applies-to-mysql-flexible-server](../includes/applies-to-mysql-flexible-server.md)]
16+
17+
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)

articles/mysql/flexible-server/index.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
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."
66
author: mksuni
77
ms.author: sumuth
8-
ms.date: 09/10/2021
8+
ms.date: 07/26/2022
99
ms.service: mysql
1010
ms.topic: landing-page
1111

@@ -75,13 +75,15 @@ landingContent:
7575
- linkListType: concept
7676
links:
7777
- text: Business continuity overview
78-
url: concepts-business-continuity.md
78+
url: concepts-business-continuity.md
7979
- text: High availability
8080
url: concepts-high-availability.md
8181
- text: Backup and restore
8282
url: concepts-backup-restore.md
8383
- linkListType: how-to-guide
8484
links:
85+
- text: Trigger on-demand backup
86+
url: how-to-trigger-on-demand-backup.md
8587
- text: Restore a server
8688
url: how-to-restore-server-portal.md
8789
- text: Restore a deleted server
366 KB
Loading

0 commit comments

Comments
 (0)