Skip to content

Commit cd969df

Browse files
Merge pull request #278778 from nachoalonsoportillo/patch-5
Update postgresql-single-server-cli-migrate.md
2 parents 43fd3fc + 1527b92 commit cd969df

File tree

1 file changed

+24
-38
lines changed

1 file changed

+24
-38
lines changed

articles/postgresql/migrate/migration-service/includes/single-server/postgresql-single-server-cli-migrate.md

Lines changed: 24 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -94,26 +94,19 @@ The structure of the JSON is:
9494

9595
```bash
9696
{
97-
"properties": {
98-
"sourceDbServerResourceId":"/subscriptions/<subscriptionId>/resourceGroups/<sourceServerResourceGroup>/providers/Microsoft.DBforPostgreSQL/servers/<sourceServer>",
99-
"secretParameters": {
100-
"adminCredentials":
101-
{
102-
"sourceServerPassword": "<password>",
103-
"targetServerPassword": "<password>"
97+
"properties": {
98+
"sourceDbServerResourceId": "/subscriptions/<subscriptionid>/resourceGroups/<sourceServerResourceGroup>/providers/Microsoft.DBforPostgreSQL/servers/<sourceServer>",
99+
"secretParameters": {
100+
"adminCredentials": {
101+
"sourceServerPassword": "<password>",
102+
"targetServerPassword": "<password>"
103+
}
104104
},
105-
"sourceServerUserName": "<username>@<servername>",
106-
"targetServerUserName": "<username>"
107-
},
108-
109-
"dbsToMigrate":
110-
[
111-
"<db1>","<db2>"
112-
],
113-
114-
"overwriteDbsInTarget":"true"
115-
116-
}
105+
"sourceServerUserName": "<username>@<servername>",
106+
"targetServerUserName": "<username>",
107+
"dbsToMigrate": ["<db1>", "<db2>"],
108+
"overwriteDbsInTarget": "true"
109+
}
117110
}
118111
```
119112

@@ -281,26 +274,19 @@ The structure of the JSON is:
281274

282275
```bash
283276
{
284-
"properties": {
285-
"sourceDbServerResourceId":"/subscriptions/<subscriptionId>/resourceGroups/<sourceServerResourceGroup>/providers/Microsoft.DBforPostgreSQL/servers/<sourceServer>",
286-
"secretParameters": {
287-
"adminCredentials":
288-
{
289-
"sourceServerPassword": "<password>",
290-
"targetServerPassword": "<password>"
277+
"properties": {
278+
"sourceDbServerResourceId": "/subscriptions/<subscriptionid>/resourceGroups/<sourceServerResourceGroup>/providers/Microsoft.DBforPostgreSQL/servers/<sourceServer>",
279+
"secretParameters": {
280+
"adminCredentials": {
281+
"sourceServerPassword": "<password>",
282+
"targetServerPassword": "<password>"
283+
}
291284
},
292-
"sourceServerUserName": "<username>@<servername>",
293-
"targetServerUserName": "<username>"
294-
},
295-
296-
"dbsToMigrate":
297-
[
298-
"<db1>","<db2>"
299-
],
300-
301-
"overwriteDbsInTarget":"true"
302-
303-
}
285+
"sourceServerUserName": "<username>@<servername>",
286+
"targetServerUserName": "<username>",
287+
"dbsToMigrate": ["<db1>", "<db2>"],
288+
"overwriteDbsInTarget": "true"
289+
}
304290
}
305291
```
306292

0 commit comments

Comments
 (0)