Elastic Path Production Tools

Installing and Configuring the Data Sync Tool

Installing and Configuring the Data Sync Tool

To install the data sync tool, do the following:

  1. Extract the data sync tool archive to a directory on your computer.
    Note:

    You can create a copy of the synced data on the file system by including the -r parameter and specifying the directory name.

  2. Copy the required JDBC driver libraries into the libsubdirectory.
  3. Modify the logging configuration in conf\misc\log4j.properties as required.
  4. Configure the database connection settings for the source instance. By default, the data sync tool reads settings from sourceconfig.xml. The contents of this file are similar to the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <connectionconfiguration type="local">
    	<url>jdbc:derby:C:\ep\6.4.1\TrailInstaller-20090709-1536-01/tomcat-5.5/ep6demo</url>
    	<login></login>
    	<pwd></pwd>
    	<driver>org.apache.derby.jdbc.EmbeddedDriver</driver>	
    </connectionconfiguration>
    
    where:
    • <url> contains the database URL
    • <login> contains the database username
    • <pwd> contains the database user password
    • <driver> contains the database driver class name
  5. Configure the database connection settings for the target instance. By default, the data sync tool reads settings from targetconfig.xml. (The format of this file is identical to the source configuration file described in the previous step.)