You can restore the Salesforce metadata to a folder that resides on one of your servers. Data is restored from media. When data is restored from media, the data is restored to a staging location.
Metadata supported by the Salesforce API is supported for restore operations.
If you need to modify or customize the metadata that you backed up, perform the following operations:
-
Restore the metadata to a file system.
-
Modify the corresponding xml files.
-
Use the Ant Migration Tool tool to deploy the metadata to the Salesforce organization. For more information, go to the Salesforce help website, Ant Migration Tool Guide.
Procedure
-
From the Command Center navigation pane, go to Protect > Salesforce.
The Salesforce Overview page appears.
-
Go to the Organizations tab.
-
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.
-
Select Metadata restore.
The Backup content page appears.
Here you can download up to 1GB of metadata and use tools like Workbench to later import into a Salesforce environment. Select one or more metadata components, and then click Download.
-
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.
-
-
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.
-
Click Restore.
The Restore options dialog box appears.
-
Next to Restore target, select File system.
-
In the Destination details section, do the following:
-
From the Destination server list, select the server to restore the data to.
-
In the Destination path box, enter a path.
-
-
Click Run.