Run Data Migration Manager Using the Command Line Interface
Follow these steps to run the Data Migration Manager in a Command Line Interface (CLI).
- Navigate to where the 23 installer application is located.
- Extract the DataMigrationManager zipped file by right-clicking the zipped file and clicking Extract All.
- Double-click the unzipped file to open it.
- Open the net7.0-windows folder.
- Open the terminal of your choice, such as PowerShell or Command Prompt.
- Enter the location of the Database Migration Manager files.
- Point to the cwdatamigrate.exe file and press Enter.
TIP: Your connection string can be copied from the Host Management page. See Host Management in the Admin 3.0 Guide for more information. The Host Management page is only available for Admin 3.0, 3.1, and 3.2.
The available options and commands show and are listed in the table below.
Option |
Description |
---|---|
-c list-u |
List uncompleted migrations |
-c list-c |
List completed migrations |
-c list-a |
List all migrations |
-c execute |
Execute uncompleted migrations |
-c execute-listed -m [MigrationCodeValues] |
Execute migrations passed whether completed or uncompleted |