Roll Back Deployment

The Metazoa Snapshot Org Management product can automatically roll back Salesforce Metadata deployments to any previous state. This is a key technology for backing up and restoring an Org after undesirable customizations are detected. Salesforce administrators can see the differences in any Org over time, and restore the Org as needed.

Roll Back Salesforce
Metadata Deployments

Snapshot provides powerful tools for restoring a Salesforce Org to any previous state. You will need to be sure that your Org has a Time Series of metadata backups. This capability is easy to set up in the Snapshot product. When you need to restore Metadata to any Salesforce Org, the Roll Back Deployment dialog has options that make this automatic.

The Roll Back Deployment dialog uses time series snapshot data to restore the destination org to an earlier date. Any one of the earlier snapshots can be selected as the source. The destination org can be refreshed and continually compared to the source until everything has been restored. The Calculate Differences button will calculate all of the differences in the source and destination org to assemble the Create and Delete Job List.

In some situations, you will get better results with the Swap Create and Delete button. In that case, the time series of earlier Job Lists are merged and flipped. Often you will only need to restore some part of a deployment. This dialog documents all of the changes and the historical Job Lists in one interface. The menu at the top of the Roll Back Deployment Metadata dialog provides three options:

  • Validating Deployment – This option will check for errors without making changes. The deployment is simulated, and no changes are actually made to your Salesforce org. All success and error messages are displayed in the results box.
  • Transactional Deployment — This option will roll back all changes if there is an error. If there are any errors, the entire deployment is rolled back; otherwise all assets will be migrated. All success and error messages are displayed in the results box.
  • Partial Deployment — This option will change everything possible and ignore errors. Assets that cause errors are rolled back, but other assets continue to deploy unless there are cascading errors. This option is not available for production orgs.

When you are deploying assets to a production org, you must use a Transactional Deployment. This option has the advantage of rolling back all changes if there is an error. Sometimes for more complex migrations, you will need to make multiple deployments.

Learn More!

Snapshot provides powerful tools for Salesforce Administrators that help manage the change and release process, visualize org complexity, improve security and compliance, and lower the total cost of Org ownership. Visit the AppExchange to start a 14 day free trial or click the button below to schedule a demo.