Salesforce metadata backup

ClickDeploy Team
2 min readOct 3, 2018

--

Your Salesforce production instance contains not only data but also metadata holding your organization’s code and configurations. Over time, metadata becomes a significant investment and represents years of your team’s development and customization effort. As important as it sounds, Salesforce does not provide an out of the box mechanism for backing up your metadata. This means that you risk loosing those years of development effort in the event that your org’s metadata is accidentally overwritten.

In this blog post, we’ll show you how to backup your org’s metadata in a few clicks using ClickDeploy.io. ClickDeploy backup process does more than just dumping a zip archive in a storage. We commit your org’s metadata changes to a git repository on a regular basis. As a result, what you get is not only a backup but also history tracking with incremental change monitoring.

How it works

We assume you already have a git repository setup. If not, you can sign up one via bitbucket.org or github.com.

First, in ClickDeploy.io, add a new organization of type GitHub or Bitbucket and proceed with authorization, like below:

Next, create a CI job, specify source as your Salesforce production org and target as your git repository. You can then select a backup schedule that indicates how frequently the job will run, like below.

Finally, go to the “Add Component” tab, select “Wildcard” component type and include all sub types in your backup, like below.

That is it. Now you can assure that your selected production metadata is backed up. You can also see history tracking as well as understand how your org metadata changes over time by viewing git commit history in Bitbucket or Github.

Are you looking to streamline your Salesforce development and release management process ? Learn how ClickDeploy.io empowers teams around the world to release Salesforce changes faster than ever before.

--

--

No responses yet