Restoring Metadata

You can restore metadata of objects deleted from Salesforce, including Apex classes, connected app configurations, reports, dashboards and so on. You can recover metadata to the same Salesforce tenant or to another tenant so that the object metadata in one Salesforce tenant matches the metadata in another one.

Before you restore a Salesforce metadata component, make sure that all parent components the metadata file depends on already exist on the target Salesforce tenant. To restore parent components, create a separate metadata restore job. For example:

  • If you want to restore connected app configuration, restore the ConnectedApp metadata file first. For details on the ConnectedApp dependencies, see Salesforce Documentation.
  • If you want to restore session settings, restore the ProfileSessionSetting metadata file first. For details on the ProfileSessionSetting dependencies, see Salesforce Documentation.
  • If you want to restore password policies, restore the ProfilePasswordPolicy metadata file first. For details on the ProfilePasswordPolicy dependencies, see Salesforce Documentation.

Note

  • Before you restore records, field values, or files of a deleted Salesforce object, you must restore the object metadata and then back up this object to make it available in the restore wizard.
  • If you want to restore metadata of a custom object that was deleted from Salesforce permanently, you must restore the following types of metadata first: CustomObject, CustomTab, Layout and Profile. Note that when restoring metadata of the Profile type, you must choose all profiles that have access to the custom object.
  • If you delete a metadata field from Salesforce and then create a new field using the same API name, Veeam Data Cloud will treat this field as a new item when restoring metadata and will not populate it with the values of the deleted field. If you want the restored field to have the same values as the deleted one, you must create a mapping rule for these fields as described in section Restoring Field Values.

To restore Salesforce metadata, perform the following steps:

  1. Launch the Restore Metadata wizard.
  2. Specify a name and description for the restore job.
  3. Select a target Salesforce tenant.
  4. Select objects whose metadata will be restored.
  5. Review the restore list.
  6. Finish working with the wizard.