Salesforce Download Documentation
< All Topics
Print

Change Objects to Download

If the SQL database is initialised with the -n flag then all objects that can be downloaded will be included automatically using the default download and integration methods. Otherwise each object to download must be specified using the sf_download objects command:

SwitchRequiredNotes
-SYThe SQL Server instance to download to
-DYThe SQL Server instance to target
-oYA Salesforce object API name
-dNSpecify whether the object should be downloaded. Y | N
-mNSpecify the download method for the object. SOAP | Bulk | Batched
-iNSpecify the integration method for the object. Incremental | Delete

 

You can view an object’s current settings by running the command with just the object name:

Get object download settings in Shetland Salesforce Download

Examples

Set the account object to be downloaded with default options:
sf_download objects -S myInstance -D myDB -o Account -d Y

 

Set the account object to be downloaded specifying download and integration methods:
sf_download objects -S myInstance -D myDB -o Account -d Y -m Bulk -i Delete