Newer Version Available
Data Loader Command-Line Interface
| Available in: Salesforce Classic |
| Available in: Enterprise, Performance, Unlimited, Developer, and Database.com Editions |
- The directory containing config.properties.
- The name of the batch process bean contained in process-conf.xml.
The log-conf.xml file is included with version 35.0 of the Data Loader for Windows installer. The log-conf.xml is located at %LOCALAPPDATA%\salesforce.com\Data Loader\samples\conf\log-conf.xml for the current user, and C:\Program Files (x86)\salesforce.com\Data Loader\samples\conf\log-conf.xml for all users.
For more information about using process.bat, see Run Individual Batch Processes.
To view tips and instructions, add -help to the command contained in process.bat.
Data Loader runs whatever operation, file, or map is specified in the configuration file that you specify. If you do not specify a configuration directory, the current directory is used. By default, Data Loader configuration files are installed at the following location:
C:\Program Files\Salesforce\Data Loader version number\conf
You use the process-conf.xml file to configure batch processing. Set the name of the process in the bean element's id attribute: (for example <bean id="myProcessName">).
If you want to implement enhanced logging, use a copy of log-conf.xml.
You can change parameters at runtime by giving param=value as program arguments. For example, adding process.operation=insert to the command changes the configuration at runtime.
You can set the minimum and maximum heap size. For example, -Xms256m -Xmx256m sets the heap size to 256 MB.