-
Notifications
You must be signed in to change notification settings - Fork 5
Salesforce.com Database Backup
The sfdcCommander can create a SQLite database copy of the Salesforce.com Org database content (notes, attachments, files etc. are not exported).
In order to create the SQLite database, the necessary Java library files need to be stored in a library path of your Java environment, or in the same directory as the sfdcCommander.jar file.
The database is created by executing the --exportdata command.
Example:
java -jar sfdcCommander.jar --exportdata -c config/configfile.properties
It will create a SQLite file with the defined sf.systemname and a timestamp in the location specified with the backup.path property in the properties file. Therefore you can easily create multiple backups of an org configuration at the same location.
############ Basic Properties ##########
sf.systemname = MyDevelopmentOrg
############ Backup Properties ##########
backup.path = c:/sfdcBackup/
Salesforce.com field types and data types are converted to best fit SQLite SQL field and data types for easier analysis.