The Replication Configuration Command Line Interface (CLI) is a command line utility that you can use to update source and target metadata for replication configurations that you created in the Data Replication Console and saved as an XML file.
You can use the Replication Configuration CLI to update an existing configuration from the command line. The CLI retrieves metadata from the source and target databases and updates source and target schema and object IDs in the configuration. The CLI can run in interactive or non-interactive mode.
For example, you might want to update the configuration from the command line when you run a script for deploying the configuration to another replication environment.
You can run the Replication Configuration CLI on a source or target system or on a standalone machine.
Before you start the Replication Configuration CLI the first time, verify that the prerequisites for the JDBC drivers are met. For more information, see the
Informatica Data Replication Installation and Upgrade Guide
.
To start the Replication Configuration CLI, run one of the following scripts, which are located in the
DataReplication_installation
directory:
On Windows, run idr_cmd_line.cmd.
On Linux or UNIX, run idr_cmd_line.sh.
In interactive mode, the Replication Configuration CLI maintains a history buffer of recently entered command statements. After you start the Replication Configuration CLI from the command line, use the Up Arrow and Down Arrow buttons to navigate through the history to a previously entered command statement.