/salesforce_backup

Performs automated backups of SalesForce.com data.

Primary LanguageC#MIT LicenseMIT

Salesforce-Backup Build Status

Performs automated backups of SalesForce.com export data locally or to either AWS or Azure.

Usage

You need to edit the App.config settings for your particular needs. The key values are as follows:

Key Description Default
AwsAccessKey The access key for the account with permissions to the AWS S3 bucket. null
AWSRegion The region the AWS S3 bucket is located. us-east-1
AWSSecretKey The secret key for the account with permissions to the AWS S3 bucket. null
AzureAccountName The Azure account name to connect to. null
AzureBlobEndpoint The endpoint for the Azure storage account. null
AzureContainer The Azure container to use for the backup. monthlybackups
AzureFolder The folder to place the backup in inside the Azure container. salesforce
AzureSharedKey The shared key for accessing the Azure storage container. null
host The Salesforce.com host. na17.salesforce.com
password The password for Salesforce.com. null
S3Bucket The bucket to store the backup in AWS S3. monthlybackups
S3Folder The folder to store the backup in AWS S3. salesforce
scheme The schema for connecting to Salesforce.com. https
uploader The uploader to use for the backup. Possible values are 'AWS' or 'Azure'. Azure
username The username for Salesforce.com. null

To run, simply execute the SalesForcebackup.exe at the command prompt. Optionally, you can pass in some arguments at runtime:

Usage: SalesForceBackup.exe [-hupasyz]

Options:

        --help          Displays this help text
        -u              Username for Salesforce
        -p              Password for Salesforce
        -t              Security Token for Salesforce
        -h              Salesforce hostname for your org
        -a              AWS access key
        -s              AWS secret key
        -y              Azure account name
        -z              Azure shared key