Creating a Batch File to Migrate Multiple IHA Files

About this task

The IHA Migration utility migrates only one archive at a time by design. However, if you need to add more than one archive at a time, you can create a batch file to automate multiple archive merges.
When creating a batch file you need to provide the batch file with a logical name and save the batch (.bat) file in a location that can be easily accessed using the command prompt.
Note: When migrating any archive, you should start with the archive with the oldest data first, followed by newer data, in sequence, to minimize the amount of disk space used in the Data Archiver.
For example:
cd c:\Program Files\Historian
start /b /wait migrateiha /NOTHROTTLE /NOMESSAGES 
"c:\Historian Data\Backups\server_Archive001.iha" 
"c:\Historian Data\Backups\server_Config.ihc".