Add the Salesforce organization as an app so that you can perform backup and restore operations or configure archiving.
The procedure for adding a Salesforce organization varies based on your Commvault deployment type.
Before You Begin
Add permissions to Salesforce profiles for the Salesforce users who will perform the back up and restore operations.
-
If you are an MSP and you want your tenant administrators to create the Salesforce app, see Managed Server Provider Configuration.
-
Add a Connected App or External Client App in Salesforce.
-
Only OAuth authentication is supported for Salesforce connections. This requires providing the Salesforce consumer key and consumer secret. Port 443 must be open for one-way communication between the Web Server and Salesforce Cloud.
Important
For new configurations in Commvault LTS Release 11.40 and later, OAuth authentication is mandatory. For existing configurations, username-password authentication is no longer supported and must be migrated to OAuth.
-
Review the requirements for the Microsoft SQL server database or the PostgreSQL database, and then verify that you have the following database information:
-
The type of database
-
The client that hosts the database. The access node must be able to connect to it using a JDBC URL.
-
The database name
-
The credentials for a user who meets the access requirements
-
Procedure
-
From the Command Center navigation pane, go to Protect > Salesforce.
-
Go to the Organizations tab.
-
Click Add organization.
-
Select Backup, and then click Next.
-
For Region, select the region where you want to back up the Salesforce data, and then click Next.
-
For Connected app, choose how to authenticate with Salesforce:
-
Commvault Connected App (Recommended): Use the Commvault Cloud-hosted connected app pre-configured to authorize your Salesforce account.
-
Bring your own Connected App: Use your own Salesforce connected app credentials.
-
-
Enter a name for the Salesforce organization.
-
From the Environment list, select Production or Sandbox.
-
If you selected Bring your own Connected App:
-
From the Connected app credentials list, select existing credentials or click Create new.
-
If creating new credentials, add the Consumer key and Consumer secret, and then click Save.
-
-
Click Sign in with Salesforce, and then sign in to your Salesforce account.
-
Click Close, and then Next.
-
Select a backup plan, and then click Create.
-
From the Command Center navigation pane, go to Protect > Salesforce.
-
Go to the Organizations tab.
-
Click Add organization.
-
Select Backup, and then click Next.
-
Specify the access node and database information:
-
From the Access nodes list, select an access node.
-
For Download cache path, enter a path on the access node where data downloaded from Salesforce can be temporarily stored.
-
From the Database type list, select the database type (PostgreSQL or Microsoft SQL Server).
-
For Database host, enter the client that hosts the database.
-
For Database name, enter the database name.
-
For Database port, enter the port that you use to connect to the database.
-
For Sync DB credentials, select existing credentials or create new ones.
-
Click Test Connection to verify the database connection.
-
-
Click Next.
-
Enter a name for the Salesforce organization.
-
From the Environment list, select Production or Sandbox.
-
From the Connected app credentials list, select existing credentials or click Create new.
If creating new credentials, add the Consumer key and Consumer secret, and then click Save.
-
Click Sign in with Salesforce, and then sign in to your Salesforce account.
-
Click Close, and then Next.
-
Select a backup plan, and then click Create.