With this tool, you can migrate relationship data and entity data in an existing database to another empty database.
Prerequisites
Ensure that the
SmartMapper Tools component is selected when installing the plug-in.
Note: Ensure that the database to which the data is migrated is empty.
Procedure
On a command line, navigate to the directory in which the SmartMapper tools are located.
On Windows, the directory is
TIBCO_HOME\bw\palettes\smartmapper\7.1\tools.
On Linux, the directory is
TIBCO_HOME/bw/palettes/smartmapper/7.1/tools.
On Mac OS, the directory is
TIBCO_HOME/bw/palettes/smartmapper/7.1/tools.
Enter
migrate on the command line and press Enter to get help information.
Enter the following command to migrate the cross-referencing data from the source database to the destination database:
migrate -src <db config> -dest <db config>
Note: On Linux and Mac OS, if you use Microsoft SQL Server to run the tool, make sure you enclose the database URL in quotation marks ("), unless you use the
db.properties file to
configure the database connection.