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/postgresql/migrate/migration-service/concepts-migration-service-runtime-server.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,16 +28,25 @@ The migration runtime server is essential for transferring data between differen
28
28
29
29
## How do you use the Migration Runtime Server feature?
30
30
31
-
To use the Migration Runtime Server feature within the migration service in Azure Database for PostgreSQL, follow these steps in the Azure portal:
31
+
To use the Migration Runtime Server feature within the migration service in Azure Database for PostgreSQL, you can select the appropriate migration option either through the Azure portal during the setup or by specifying the `migrationRuntimeResourceId` in the JSON properties file during the migration create command in the Azure CLI. Here's how to do it in both methods:
32
+
33
+
### Use the Azure portal
32
34
33
35
- Sign in to the Azure portal and access the migration service (from the target server) in the Azure Database for PostgreSQL instance.
34
36
- Begin a new migration workflow within the service.
35
37
- When you reach the "Select runtime server" tab, use the Migration Runtime Server by selecting "Yes."
36
-
Choose your Azure subscription and resource group and the location of the VNet-integrated Azure Database for PostgreSQL—Flexible server.
38
+
-Choose your Azure subscription and resource group and the location of the VNet-integrated Azure Database for PostgreSQL—Flexible server.
37
39
- Select the appropriate Azure Database for PostgreSQL Flexible Server to serve as your Migration Runtime Server.
38
40
39
41
:::image type="content" source="media/concepts-migration-service-runtime-server/select-runtime-server.png" alt-text="Screenshot of selecting migration runtime server.":::
40
42
43
+
### Use Azure CLI
44
+
45
+
- Open your command-line interface.
46
+
- Ensure you have the Azure CLI installed and you're logged into your Azure account using az sign-in.
47
+
- The version should be at least 2.62.0 or above to use the migration runtime server option.
48
+
- The `az postgres flexible-server migration create` command requires a JSON file path as part of `--properties` parameter, which contains configuration details for the migration. Provide the `migrationRuntimeResourceId` in the JSON properties file.
49
+
41
50
## Migration Runtime Server essentials
42
51
43
52
-**Minimal Configuration**—Despite being created from an Azure Database for PostgreSQL Flexible Server, the migration runtime server solely facilitates migration without the need for HA, backups, version specificity, or advanced storage features.
Copy file name to clipboardExpand all lines: articles/postgresql/migrate/migration-service/how-to-setup-azure-cli-commands-postgresql.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,7 @@ The `az postgres flexible-server migration create` command requires a JSON file
141
141
|`targetServerUserName`| The default value is the admin user created during the creation of the PostgreSQL target flexible server, and the password provided is used for authentication against this user. |
142
142
|`dbsToMigrate`| Specify the list of databases that you want to migrate to Flexible Server. You can include a maximum of eight database names at a time. Providing the list of DBs in array format. |
143
143
|`overwriteDBsInTarget`| When set to true (default), if the target server happens to have an existing database with the same name as the one you're trying to migrate, the migration service automatically overwrites the database |
144
+
|`migrationRuntimeResourceId`| Required if a runtime server needs to be used for migration. The format is - `/subscriptions/<<Subscription ID>>/resourceGroups/<<Resource Group Name>>/providers/Microsoft.DBforPostgreSQL/flexibleServers/<<PostgreSQL Flexible Server name>>`|
144
145
|`sourceType`| Required parameter. Values can be - on-premises, AWS_RDS, AzureVM, PostgreSQLSingleServer |
145
146
|`sslMode`| SSL modes for migration. SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer/Require for other source types. |
0 commit comments