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
| Single to Flexible Server (Azure portal) | Database Migration Service (classic) and the Azure portal |[Tutorial: DMS (classic) with the Azure portal (offline)](../../dms/tutorial-mysql-azure-single-to-flex-offline-portal.md)| Suitable for < 1TB workloads; cross-region, cross-storage type and cross-version migrations. |
40
-
| Single to Flexible Server (Azure CLI) | Azure MySQL Import CLI |[Tutorial: Azure MySQL Import](../migrate/migrate-single-flexible-mysql-import-cli.md)|**Recommended** - Suitable for all sizes of workloads, extremely performant for > 500 GB workloads.|
40
+
| Single to Flexible Server (Azure CLI) | Azure Database for MySQL Import CLI |[Tutorial: Azure Database for MySQL Import](../migrate/migrate-single-flexible-mysql-import-cli.md)|**Recommended** - Suitable for all sizes of workloads, extremely performant for > 500 GB workloads.|
41
41
| MySQL databases (>= 1 TB) to Azure Database for MySQL | Dump and Restore using **MyDumper/MyLoader** + High Compute VM |[Migrate large databases to Azure Database for MySQL using mydumper/myloader](concepts-migrate-mydumper-myloader.md)|[Best Practices for migrating large databases to Azure Database for MySQL](https://techcommunity.microsoft.com/t5/azure-database-for-mysql/best-practices-for-migrating-large-databases-to-azure-database/ba-p/1362699)|
Copy file name to clipboardExpand all lines: articles/mysql/migrate/migrate-external-mysql-import-cli.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: "Migrate MySQL on-premises or Virtual Machine (VM) workload to Azure Database for MySQL - Flexible Server using Azure MySQL Import CLI"
3
-
description: This tutorial describes how to use the Azure MySQL Import CLI to migrate MySQL on-premises or VM workload to Azure Database for MySQL - Flexible Server.
2
+
title: "Migrate MySQL on-premises or Virtual Machine (VM) workload to Azure Database for MySQL - Flexible Server using Azure Database for MySQL Import CLI"
3
+
description: This tutorial describes how to use the Azure Database for MySQL Import CLI to migrate MySQL on-premises or VM workload to Azure Database for MySQL - Flexible Server.
4
4
author: adig
5
5
ms.author: adig
6
6
ms.reviewer: maghan
@@ -14,13 +14,13 @@ ms.custom:
14
14
- mode-api
15
15
ms.devlang: azurecli
16
16
---
17
-
# Migrate MySQL on-premises or Virtual Machine (VM) workload to Azure Database for MySQL - Flexible Server using Azure MySQL Import CLI
17
+
# Migrate MySQL on-premises or Virtual Machine (VM) workload to Azure Database for MySQL - Flexible Server using Azure Database for MySQL Import CLI
18
18
19
-
Azure MySQL Import enables you to migrate your MySQL on-premises or Virtual Machine (VM) workload seamlessly to Azure Database for MySQL - Flexible Server. It uses a user-provided physical backup file and restores the source server's physical data files to the target server offering a simple and fast migration path. Post MySQL Import operation, you can take advantage of the benefits of Flexible Server, including better price & performance, granular control over database configuration, and custom maintenance windows.
19
+
Azure Database for MySQL Import enables you to migrate your MySQL on-premises or Virtual Machine (VM) workload seamlessly to Azure Database for MySQL - Flexible Server. It uses a user-provided physical backup file and restores the source server's physical data files to the target server offering a simple and fast migration path. Post Import operation, you can take advantage of the benefits of Flexible Server, including better price & performance, granular control over database configuration, and custom maintenance windows.
20
20
21
21
Based on user-inputs, it takes up the responsibility of provisioning your target Flexible Server and then restoring the user-provided physical backup of the source server stored in the Azure Blob storage account to the target Flexible Server instance.
22
22
23
-
This tutorial shows how to use the Azure MySQL Import CLI command to migrate your Migrate MySQL on-premises or Virtual Machine (VM) workload to Azure Database for MySQL - Flexible Server.
23
+
This tutorial shows how to use the Azure Database for MySQL Import CLI command to migrate your Migrate MySQL on-premises or Virtual Machine (VM) workload to Azure Database for MySQL - Flexible Server.
24
24
25
25
## Launch Azure Cloud Shell
26
26
@@ -64,18 +64,18 @@ The following are the steps for using Percona XtraBackup to take a full backup :
64
64
## Limitations
65
65
66
66
* Source server configuration isn't migrated. You must configure the target Flexible server appropriately.
67
-
* Users and privileges aren't migrated as part of MySQL Import. You must take a manual dump of users and privileges before initiating MySQL Import to migrate logins post import operation by restoring them on the target Flexible Server.
67
+
* Users and privileges aren't migrated as part of Azure Database for MySQL Import. You must take a manual dump of users and privileges before initiating Azure Database for MySQL Import to migrate logins post import operation by restoring them on the target Flexible Server.
68
68
* High Availability (HA) enabled Flexible Servers are returned as HA disabled servers to increase the speed of migration operation post the import migration. Enable HA for your target Flexible Server post migration.
69
69
70
70
## Recommendations for an optimal migration experience
71
71
72
72
* Consider keeping the Azure Blob storage account and the target Flexible Server to be deployed in the same region for better import performance.
73
73
* Recommended SKU configuration for target Azure Database for MySQL Flexible Server –
74
-
* Setting Burstable SKU for target isn't recommended in order to optimize migration time when running the MySQL Import operation. We recommend scaling to General Purpose/ Business Critical for the course of the import operation, post, which you can scale down to Burstable SKU.
74
+
* Setting Burstable SKU for target isn't recommended in order to optimize migration time when running the Azure Database for MySQL Import operation. We recommend scaling to General Purpose/ Business Critical for the course of the import operation, post, which you can scale down to Burstable SKU.
75
75
76
-
## Trigger a MySQL Import operation to migrate from Azure Database for MySQL -Flexible Server
76
+
## Trigger an Azure Database for MySQL Import operation to migrate from Azure Database for MySQL -Flexible Server
77
77
78
-
Trigger a MySQL Import operation with the `az mysql flexible-server import create` command. The following command creates a target Flexible Server and performs instance-level import from backup file to target destination using your Azure CLI's local context:
78
+
Trigger an Azure Database for MySQL Import operation with the `az mysql flexible-server import create` command. The following command creates a target Flexible Server and performs instance-level import from backup file to target destination using your Azure CLI's local context:
79
79
80
80
```azurecli
81
81
az mysql flexible-server import create --data-source-type
@@ -124,12 +124,12 @@ Here are the details for the arguments above:
124
124
125
125
**Setting** | **Sample value** | **Description**
126
126
---|---|---
127
-
data-source-type | azure_blob | The type of data source that serves as the source destination for triggering MySQL Import. Accepted values: [azure_blob]. Description of accepted values- azure_blob: Azure Blob storage.
127
+
data-source-type | azure_blob | The type of data source that serves as the source destination for triggering Azure Database for MySQL Import. Accepted values: [azure_blob]. Description of accepted values- azure_blob: Azure Blob storage.
128
128
data-source | {resourceID} | The resource ID of the Azure Blob container.
129
129
data-source-backup-dir | mysql_percona_backup | The directory of the Azure Blob storage container in which the backup file was uploaded. This value is required only when the backup file isn't stored in the root folder of Azure Blob container.
130
130
data-source-sas-token | {sas-token} | The Shared Access Signature (SAS) token generated for granting access to import from the Azure Blob storage container.
131
131
resource-group | test-rg | The name of the Azure resource group of the target Azure Database for MySQL Flexible Server.
132
-
mode | Offline | The mode of MySQL import. Accepted values: [Offline]; Default value: Offline.
132
+
mode | Offline | The mode of Azure Database for MySQL import. Accepted values: [Offline]; Default value: Offline.
133
133
location | westus | The Azure location for the source Azure Database for MySQL Flexible Server.
134
134
name | test-flexible-server | Enter a unique name for your target Azure Database for MySQL Flexible Server. The server name can contain only lowercase letters, numbers, and the hyphen (-) character. It must contain from 3 to 63 characters. Note: This server is deployed in the same subscription, resource group, and region as the source.
135
135
admin-user | adminuser | The username for the administrator sign-in for your target Azure Database for MySQL Flexible Server. It can't be **azure_superuser**, **admin**, **administrator**, **root**, **guest**, or **public**.
@@ -153,13 +153,13 @@ iops | 500 | Number of IOPS to be allocated for the target Azure Database for My
153
153
154
154
## Migrate to Flexible Server with minimal downtime
155
155
156
-
In order to perform an online migration after completing the initial seeding from backup file using MySQL import, you can configure data-in replication between the source and target by following steps [here](../flexible-server/how-to-data-in-replication.md?tabs=bash%2Ccommand-line). You can use the bin-log position captured while taking the backup file using Percona XtraBackup to set up Bin-log position based replication.
156
+
In order to perform an online migration after completing the initial seeding from backup file using Azure Database for MySQL import, you can configure data-in replication between the source and target by following steps [here](../flexible-server/how-to-data-in-replication.md?tabs=bash%2Ccommand-line). You can use the bin-log position captured while taking the backup file using Percona XtraBackup to set up Bin-log position based replication.
157
157
158
-
## How long does MySQL Import take to migrate my MySQL instance?
158
+
## How long does Azure Database for MySQL Import take to migrate my MySQL instance?
0 commit comments