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
Now, you can migrate both the database schema and data using Database Migration Service. You can also use other tools such as the [SQL Server dacpac extension](/azure-data-studio/extensions/sql-server-dacpac-extension) or the [SQL Database Projects extension](/azure-data-studio/extensions/sql-database-project-extension) in Azure Data Studio to migrate the schema before selecting the list of tables to migrate.
@@ -207,7 +207,6 @@ To open the Migrate to Azure SQL wizard:
207
207
> [!NOTE]
208
208
> If no tables are selected or if a username and password aren't entered, the **Next** button isn't available to select.
209
209
210
-
211
210
Now, you can migrate database Schema and data both using Database Migration Service. Also, you can use tools like the [SQL Server dacpac extension](/azure-data-studio/extensions/sql-server-dacpac-extension) or the [SQL Database Projects extension](/azure-data-studio/extensions/sql-database-project-extension) in Azure Data Studio to migrate Schema before selecting the list of tables to migrate.
212
211
213
212
### Create a Database Migration Service instance
@@ -358,7 +357,7 @@ Before you begin the tutorial:
358
357
To create the login and user on the target Azure SQL Database, run the following script on the `master` database:
359
358
360
359
```sql
361
-
CREATE LOGIN testuser with Password='*********'
360
+
CREATE LOGIN testuser WITH PASSWORD='<password>';
362
361
363
362
ALTER SERVER ROLE ##MS_DefinitionReader## ADD MEMBER [testuser];
364
363
GO
@@ -372,9 +371,9 @@ GO
372
371
ALTER SERVER ROLE ##MS_LoginManager## ADD MEMBER [testuser];
Now, you can migrate both the database schema and data using Database Migration Service. You can also use other tools such as the [SQL Server dacpac extension](/azure-data-studio/extensions/sql-server-dacpac-extension) or the [SQL Database Projects extension](/azure-data-studio/extensions/sql-database-project-extension) in Azure Data Studio to migrate the schema before selecting the list of tables to migrate.
@@ -396,17 +395,17 @@ Now, you can migrate both the database schema and data using Database Migration
396
395
397
396
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-scenario-new.png" alt-text="Screenshot of select new migration scenario." lightbox="media/database-migration-service/dms-portal-sql-database-scenario-new.png":::
398
397
399
-
1. On the **Azure SQL Database Offline Migration Wizard**, follow these steps:
398
+
1. On the **Azure SQL Database Offline Migration Wizard**, follow these steps:
400
399
401
-
1. On the **Source details** tab, enter details for the source SQL Server instance, and then select **Next: Connect to source SQL Server**:
400
+
1. On the **Source details** tab, enter details for the source SQL Server instance, and then select **Next: Connect to source SQL Server**:
402
401
403
402
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-source-1-new.png" alt-text="Screenshot of Source Tracking." lightbox="media/database-migration-service/dms-portal-sql-database-source-1-new.png":::
404
403
405
-
1. On the **Connect to source SQL Server** tab, provide connection details and then select **Next: Select databases for migration**:
406
-
404
+
1. On the **Connect to source SQL Server** tab, provide connection details and then select **Next: Select databases for migration**:
405
+
407
406
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-source-2-new.png" alt-text="Screenshot of Connect to source." lightbox="media/database-migration-service/dms-portal-sql-database-source-2-new.png":::
408
407
409
-
1. On the **Select databases for migration** tab, check the box next to the databases you want to migrate. Populating the list of databases can take some time. Select **Next: Connect to target Azure SQL Database**.
408
+
1. On the **Select databases for migration** tab, check the box next to the databases you want to migrate. Populating the list of databases can take some time. Select **Next: Connect to target Azure SQL Database**.
410
409
411
410
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-select-db-1-new.png" alt-text="Screenshot of select db." lightbox="media/database-migration-service/dms-portal-sql-database-select-db-1-new.png":::
412
411
@@ -418,7 +417,7 @@ Now, you can migrate both the database schema and data using Database Migration
418
417
419
418
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-map-db-1-new.png" alt-text="Screenshot of Map databases." lightbox="media/database-migration-service/dms-portal-sql-database-map-db-1-new.png":::
420
419
421
-
1. (Optional) Check the box next to **Migrate Missing schema** to deploy missing schema objects from the source to the Azure SQL Database target to migrate the following schema objects with a *single checkbox*:
420
+
1. (Optional) Check the box next to **Migrate Missing schema** to deploy missing schema objects from the source to the Azure SQL Database target to migrate the following schema objects with a *single checkbox*:
422
421
423
422
- Schemas
424
423
- Tables (selected)
@@ -442,8 +441,8 @@ Now, you can migrate both the database schema and data using Database Migration
442
441
- XmlSchemaCollections
443
442
444
443
> [!NOTE]
445
-
> - If you select **Migrate Missing Schema**, the Database Migration service performs the schema migration before data is migrated.
446
-
> - DMS proceeds with the data migration phase even if schema migration encounters errors, unless there are issues with table objects.
444
+
> - If you select **Migrate Missing Schema**, the Database Migration service performs the schema migration before data is migrated.
445
+
> - DMS proceeds with the data migration phase even if schema migration encounters errors, unless there are issues with table objects.
447
446
448
447
Next, either use **Select all tables** to migrate all tables, or use the text entry box to filter the list of tables and select individual tables to migrate. Then select **Next: Database migration summary**.
449
448
@@ -477,7 +476,7 @@ Now, you can migrate both the database schema and data using Database Migration
477
476
|**Rebuilding indexes**| The service is rebuilding indexes on target tables. |
478
477
|**Succeeded**| All data is copied and the indexes are rebuilt. |
479
478
480
-
1. Under **Source name**, select a database name to open the table view.. In this detailed view, you see the current status of the migration, the number of tables that currently are in that status, and a detailed status of each table:
479
+
1. Under **Source name**, select a database name to open the table view.. In this detailed view, you see the current status of the migration, the number of tables that currently are in that status, and a detailed status of each table:
481
480
482
481
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-monitoring-1-new.png" alt-text="Screenshot of Detailed migration monitoring." lightbox="media/database-migration-service/dms-portal-sql-database-monitoring-1-new.png":::
0 commit comments