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 components the metadata file depends on already exist on the target Salesforce tenant. To restore the components, create a separate metadata restore job. For example:
- If you want to restore flow definitions (FlowDefinition metadata file), restore the Flow metadata file first. For details on the FlowDefinition dependencies, see Salesforce Documentation.
- If you want to restore session settings (ProfileSessionSetting metadata file), restore the Profile metadata file first. For details on the ProfileSessionSetting dependencies, see Salesforce Documentation.
- If you want to restore password policies (ProfilePasswordPolicy metadata file), restore the Profile metadata file first. For details on the ProfilePasswordPolicy dependencies, see Salesforce Documentation.
Note |
|
To restore Salesforce metadata, perform the following steps: