Configuring Restore Mapping Settings

You can configure restore mapping settings for a specific organization if it is protected by a backup policy. These settings will be applied to all restore jobs launched for this organization.

Object Mapping by Record IDs

When restoring a record that was deleted from the Salesforce database, Veeam Backup for Salesforce creates a new record in Salesforce, assigns a new ID to this record and populates its fields with the values of the record saved in the backup file. To associate the newly created record with the backed-up record, the product creates in its organization database a default rule that maps the ID of the backed-up record with the ID of the record created in Salesforce. In addition to the default rule, you can create custom object mapping rules, for example, if you want to restore the deleted record data to an existing Salesforce record.

To create a custom rule, do the following:

  1. Navigate to the Restore tab.
  2. From the Organization drop-down list, select a Salesforce organization for which you want to create the rule.
  3. Click Settings > Object IDs Mapping.
  4. In the Restore Setting: Object IDs Mapping window, do the following:
  1. On the Add Mapping tab, specify the ID of the record saved in the backup file and the ID of the existing Salesforce record, and click Add Mapping.
  2. To save the configured mapping settings, click Save.

Tip

To find a mapping rule created for a record, switch to the Find Mapping tab, specify the ID of the record saved in the backup file, the ID of the existing Salesforce record or both, and click Find Existing Mapping.

Cloning Restore Job

Mapping by Alternate Keys

When restoring a Salesforce record, Veeam Backup for Salesforce checks whether the record already exists in the target Salesforce database. By default, the product uses the ID of the record saved in the backup file to search for the record. However, you can add an alternate key and instruct Veeam Backup for Salesforce to use this key instead of the record ID, that is, define a record field with a unique value that will be used to identify the restored record in case the product fails to find it by the record ID. For example, you can create a mapping rule and instruct the product to use the phone number or email field instead of the default record ID.

To add an alternate key, do the following:

  1. Navigate to the Restore tab.
  2. From the Organization drop-down list, select a Salesforce organization for which you want to add the alternate key.
  3. Click Settings > Alternate Keys.
  4. In the Restore Setting: Alternate Keys for Objects window, do the following:
  1. Choose an object for which you want to configure mapping.
  2. Choose a field that will be used for mapping instead of the default record ID. The field must be unique for the selected object.
  3. Click Add Alternate Key.
  4. To save the configured settings, click Save.

Note

Consider the following:

 

Cloning Restore Job