Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Command Line Parameters

Command Line Parameters

The --dataDirectory and --configDirectory configuration arguments specify the configuration that the Data Population CLI tool runs with. You can also specify these commands to run at the runtime so that the tool starts the commands and then exits when complete.

Parameter Type Description
--dataDirectory <data directory> Configuration Argument Configures the data directory.
--configDirectory <config directory> Configuration Argument Configures the config directory.
reset-db Command Argument Deletes, recreates, and populates the database.
update-db Command Argument Updates the existing database by populating any updates after the last run.
filter-data --output <output directory> Command Argument Filters the data in the data directory to an6 output directory.

filter-data command

The filter-data command is an additional command for the CLI tool. The filter-data command filters the data contained in the data directory to an output directory, but does not start Liquibase or interact with the database.

You can the filter-data command later, separate from the Data Population tool, by running the Import/Export tool and Liquibase tools directly. Elastic Path recommends the blended deployment model that the update-db command provides. For more information, see Data Population Deployment Models.