# Validating a Restore of Salesforce Metadata to Salesforce

Before you restore Salesforce metadata to the Salesforce cloud, you can validate the restore. When the validation runs, a validation job is created. If errors occur during the validation job, the job is marked as completed with errors. If the validation job is successful, the job is marked as complete.

## Before You Begin

Verify that the Salesforce user who performs the validation has a System Administrator profile or an equivalent profile.

## Procedure

1. From the Command Center navigation pane, go to Protect > Salesforce.

   The Salesforce Overview page appears.

2. Go to the Organizations tab.

3. For the organization that contains the data that you want to restore, click the action button , and then click Restore.

   The Select restore type page appears.

4. Select Metadata restore.

   The Backup content page appears.

   Here you can download up to 1GB of metadata and use tools like Workbench to deploy. Select one or more metadata components, and then click Download.

5. Optional: To select a backup, do the following:

   - To show the latest backup, select Show latest backup.

   - To show a backup at a specific time, select Show backup as of a specific date, and then select the date and time.

   - To show backups for a date range, select Show backup for a date range, and then specify From time and To time.

6. Go to Metadata > unpackaged, and then select the metadata object(s) that you want to restore.

   Note

   For each metadata file that you want to restore, check if the metadata file (-meta.xml) exists, and then select it. For example, suppose that you have AccountBeforeUpdate.cls file that is accompanied by the AccountBeforeUpdate.cls-meta.xml file and you want to restore metadata. In this case, you will need to select both files in the restore operation.

7. Click Restore.

   The Restore options dialog box appears.

8. Next to Restore target, select Salesforce.

9. In the Destination details section, from the Destination organization list, select the Salesforce destination.

10. Move the Validate only toggle to the right.

11. Click Run.

12. Click Confirm.

## What to Do Next

- Monitor the restore job. If the job is not successful, go to the job details page to review the errors.

- In Salesforce, check the metadata deploy status, results, and errors. If errors occur, go to the Deployment Details page to troubleshoot, or contact your Salesforce administrator or Salesforce support. For more information, go to Monitor Deployments on the Salesforce support website.

## Related Topics

Restoring Salesforce Metadata to Salesforce

×

Loading...