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.

Running the Batch Script to Export Data

Running the Batch Script to Export Data

Note:

Before running the batch script, make sure the Elastic Path database server and web applications are running.

Open a DOS prompt and change to the directory where you extracted the Import-Export tool distributable. Launch the batch script:

importexport.bat -e <search_config_file> [-c <export_config_file>] [-l <locale>]
      

where:

  • <search_config_file> is the path to the file that contains the search criteria
  • <export_config_file> is the path to the file that contains the export configuration. This parameter is optional. If it is not specified, the Import-Export tool will look for a file named exportconfiguration.xml in the Import-Export tool installation directory
  • <locale> is the code of the locale for which you want to export data. This only affects localized data. If no locale is specified, the corresponding data for all locales is exported

During the export operation, information and error messages are printed to the console. Errors are also logged in a file in the logs directory.

If you experience problems during export, see Appendix E - Troubleshooting.