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/how-to-migrate-single-to-flexible-cli.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ To complete this tutorial, you need to:
51
51
52
52
2. Install the latest Azure CLI for your operating system from the [Azure CLI installation page](/cli/azure/install-azure-cli).
53
53
54
-
If the Azure CLI is already installed, check the version by using the `az version` command. The version should be **2.45.0** or later to use the migration CLI commands. If not, [update your Azure CLI version](/cli/azure/update-azure-cli).
54
+
If the Azure CLI is already installed, check the version by using the `az version` command. The version should be **2.50.0** or later to use the migration CLI commands. If not, [update your Azure CLI version](/cli/azure/update-azure-cli).
55
55
56
56
3. Run the `az login` command:
57
57
@@ -126,11 +126,13 @@ The structure of the JSON is:
126
126
"properties": {
127
127
"sourceDbServerResourceId":"/subscriptions/<subscriptionid>/resourceGroups/<src_ rg_name>/providers/Microsoft.DBforPostgreSQL/servers/<source server name>",
@@ -152,6 +153,8 @@ The `create` parameters that go into the json file format are as shown below:
152
153
| Parameter | Type | Description |
153
154
| ---- | ---- | ---- |
154
155
|`sourceDbServerResourceId`| Required | This parameter is the resource ID of the Single Server source and is mandatory. |
156
+
|`sourceServerUserName`| Required | This parameter is the user or role on the source single server used for performing the migration. This user should have necessary privileges and ownership on the database objects involved in the migration and should be a member of **azure_pg_admin** role. The default value is the admin user created during the creation of single server and the password provided will be used for authentication against this user. |
157
+
|`targetServerUserName`| Required | This parameter is the user or role on the target server used for performing the migration. This user should be a member of **azure_pg_admin** role. The default value is the admin user created during the creation of flexible server and the password provided will be used for authentication against this user. |
155
158
| `secretParameters` | Required | This parameter lists passwords for admin users for both the Single Server source and the Flexible Server target. These passwords help to authenticate against the source and target servers.
156
159
|`dbsToMigrate`| Required | 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. |
157
160
|`overwriteDbsInTarget`| Required | 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, migration tool automatically overwrites the database. |
0 commit comments