Step 2. Configure Connection to Salesforce Organization
At the Connection step of the wizard, connect to a Salesforce organization and specify a database that will be used to store backed-up data:
- In the Log in with Salesforce account section:
- Choose a Salesforce organization that you want to protect. You can choose an organization that is already connected to Veeam Backup for Salesforce or connect to a new organization. For an organization to be displayed in the list, it must not be protected by any other backup policy on this management server.
To connect to a new organization, do the following:
- Choose whether you want to use a Salesforce organization hosted on a production instance, sandbox instance or custom domain. If you select the Custom domain option, you must also specify the organization domain name.
- Click Log in with Salesforce account. You will be redirected to the Salesforce authentication webpage.
- On the Salesforce authentication webpage, enter credentials of a Salesforce user of the organization that you want to protect, and click Log in.
The specified Salesforce user must be assigned permissions required for Veeam Backup for Salesforce to be able to perform backup and restore operations. For information, see Required Permissions.
Veeam Backup for Salesforce does not store Salesforce user credentials used to log in to Salesforce. To authorize in Salesforce and access Salesforce data, Veeam Backup for Salesforce uses the Connected App specified during the initial configuration. You can change the Connected App as described in section Changing Connected App Tokens, but keep in mind that after changing the Connected App, you will have to re-authorize all connections to Salesforce organizations added to Veeam Backup for Salesforce.
- Back to the Add Backup Policy wizard, check whether any errors occurred during the authentication process and do the following:
If an error occurs, check whether the Salesforce organization whose user you used to log in to Salesforce is not protected by another backup policy configured on this management server.
- In the Verify permissions section, you can verify whether the permissions assigned to the specified user are enough to perform backup and restore operations. To do that, click Verify permissions and wait for the check to complete.
- In the Connect to a database section, choose a database that will be used to protect the specified Salesforce organization. To do that, click Select a database. The Database connection window will open.
You can add a new database or select a database that has already been added to Veeam Backup for Salesforce:
- To add a database without closing the Add Backup Policy wizard, click New Database Connection and specify connection settings in the Add Database Connection window as described in section Adding Databases.
- To specify an already added database, select the database from the list. For a database to be displayed in the list, it must be created beforehand as described in section Adding Databases. You cannot choose a database that is used to protect any other Salesforce organization as one database can be used to protect one organization only.
You can either connect to an empty database or a database with the same schema as the source database. In latter case, the organization IDs of the both databases must be the same.
When connecting to a database, consider the following: