Step 6. Enable Hierarchy Restore

At the Hierarchy step of the wizard, Veeam Backup for Salesforce allows you to restore parent and child records linked to the records selected at step 4. While restoring hierarchy, the product analyzes all lookup relationship fields of the records and compares backed-up data with the current Salesforce data. For more information, see How Veeam Backup for Salesforce Restores Object Hierarchy.

Important

  • If you have enabled restore of files and attachments at step 5, Veeam Backup for Salesforce will not restore files and attachments of child and parent records. If you want to restore files and attachments of child and parent records, create a separate file restore job.
  • When restoring a record from the Salesforce Recycle Bin, Veeam Backup for Salesforce will automatically restore child records that are linked using master-detail relationships even if the hierarchy restore option is disabled.
  • If you have instructed Veeam Backup for Salesforce to mask data at step 4, Veeam Backup for Salesforce will also mask the data of child and parent records.

To restore lookup relationships, set the Restore records hierarchy toggle to On and do the following:

  1. In the Parent hierarchy section, specify the maximum level of the parent object hierarchy that will be restored for all records. By default, Veeam Backup for Salesforce restores the 1st level parent records only.

The restore parent hierarchy settings are applied to every record in the session and not only to the records selected at step 4. It means that Veeam Backup for Salesforce will restore the record and then will verify lookup links to its parent records. This process will repeat for all the selected child records.

Note

When restoring from a production to a sandbox organization, it is recommended that you restore at least 2 levels of the parent hierarchy.

  1. In the Child hierarchy section, configure the following settings:
  1. In the Child hierarchy levels field, specify the depth level of the child object hierarchy that will be restored for all records.
  2. Click the link in the Exclude objects field to choose whether you want to exclude specific child objects from restore. Note that Veeam Backup for Salesforce will also exclude all child objects associated with the objects that you specified.
  3. Click the link in the Customize records field to customize child hierarchy settings for individual records. To configure settings for a record, click Customize and select check boxes next to the objects whose records you want to restore in the Customize Hierarchy Restore window. Veeam Backup for Salesforce will restore records of the child objects that you have selected only — if you do not expand the object node, child objects under the node remain unselected and records of those objects will not be restored.
  1. In the Hierarchy data consistency section, configure the following settings:
  1. From the Validation rule drop-down list, choose when to stop updating the child records:
  1. From the Records restore rule drop-down list, choose what fields will be updated for existing child records:

Note

The product restores child and parent records of the versions that you selected at step 4. This means that if you choose to restore the latest version of a root record, the product restores the latest versions of the related child and parents records. However, if you choose to restore a specific version of the root record, the product restores the same or previous versions of the related child and parent records.

 

Restoring Records 

Page updated 8/12/2025

Page content applies to build 3.1.2.3133