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
# Run Data Migration Assistant from the command line
21
-
With version 2.1 and above, when you install Data Migration Assistant, it will also install dmacmd.exe in*%ProgramFiles%\\Microsoft Data Migration Assistant\\*. Use dmacmd.exe to assess your databases in an unattended mode, and output the result to JSON or CSV file. This method is especiallyuseful when assessing several databases or huge databases.
21
+
With version 2.1 and above, when you install Data Migration Assistant, it will also install dmacmd.exe in*%ProgramFiles%\\Microsoft Data Migration Assistant\\*. Use dmacmd.exe to assess your databases in an unattended mode, and output the result to JSON or CSV file. This method is especiallyuseful when assessing several databases or huge databases.
22
22
23
23
> [!NOTE]
24
24
> Dmacmd.exe supports running assessments only. Migrations are not supported at this time.
| `/help or /?` | How to use dmacmd.exe help text | N
41
41
|`/AssessmentName` | Name of the assessment project | Y
42
-
|`/AssessmentDatabases` | Space-delimitedlist of connection strings. Database name (Initial Catalog) iscase-sensitive. | Y
42
+
|`/AssessmentDatabases` | Space-delimitedlist of connection strings. Database name (Initial Catalog) iscase-sensitive. | Y
43
43
|`/AssessmentTargetPlatform` | Target platform for the assessment, supported values: SqlServer2012, SqlServer2014, SqlServer2016, and AzureSqlDatabaseV12. Default is SqlServer2016 | N
44
-
|`/AssessmentEvaluateFeatureParity` | Runfeature parityrules | N
45
-
|`/AssessmentEvaluateCompatibilityIssues` | Run compatibility rules | Y <br> (Either AssessmentEvaluateCompatibilityIssuesor AssessmentEvaluateRecommendations is required.)
46
-
|`/AssessmentEvaluateRecommendations` | Run feature recommendations | Y <br> (Either AssessmentEvaluateCompatibilityIssuesor AssessmentEvaluateRecommendationsis required)
44
+
|`/AssessmentEvaluateFeatureParity` | Runfeature parityrules | N
45
+
|`/AssessmentEvaluateCompatibilityIssues` | Run compatibility rules | Y <br> (Either AssessmentEvaluateCompatibilityIssuesor AssessmentEvaluateRecommendations is required.)
46
+
|`/AssessmentEvaluateRecommendations` | Run feature recommendations | Y <br> (Either AssessmentEvaluateCompatibilityIssuesor AssessmentEvaluateRecommendationsis required)
47
47
|`/AssessmentOverwriteResult` | Overwrite the result file | N
48
-
|`/AssessmentResultJson` | Full path to the JSON result file | Y <br> (Either AssessmentResultJson or AssessmentResultCsv is required)
49
-
|`/AssessmentResultCsv` | Full path to the CSV result file | Y <br>(Either AssessmentResultJson or AssessmentResultCsv is required)
50
-
48
+
|`/AssessmentResultJson` | Full path to the JSON result file | Y <br> (Either AssessmentResultJson or AssessmentResultCsv is required)
49
+
|`/AssessmentResultCsv` | Full path to the CSV result file | Y <br>(Either AssessmentResultJson or AssessmentResultCsv is required)
50
+
|`/Action` | Use SkuRecommendation to get SKU recommendations, use AssessTargetReadiness to perform target readiness assessment. | N
51
+
|`/SourceConnections` | Space delimited list of connection strings. Database name (Initial Catalog) is optional. If no database name is provided, then all databases on the source are assessed. | Y <br>(Required if Action is 'AssessTargetReadiness')
52
+
|`/TargetReadinessConfiguration` | Full path to the XML file describing values for the name, source connections and result file. | Y <br>(Either TargetReadinessConfiguration or SourceConnections is required)
53
+
|`/FeatureDiscoveryReportJson` | Path to the feature discovery JSON report. If this file is generated, then it can be used to run target readiness assessment again without connecting to source. | N
54
+
|`/ImportFeatureDiscoveryReportJson` | Path to the feature discovery JSON report created earlier. Instead of source connections, this file will be used. | N
0 commit comments