Backup your project to Version Control
Overview
Use ARM to back up changes from your Salesforce org to your version-control system. You can also map commits to specific Salesforce users.
Procedure
Log in to ARM.
From the top navigation bar, select
Create New > New CI Job
.Create New CI Job Click the Backup to Version Control tile.
Backup to Version Control Enter a descriptive Job name.
Add a short Description.
(Optional) Assign the job to a Group for easier filtering, or click
+
to create a new group.The configuration page is divided into several sections. The key sections are explained below.
Build
Under Build, provide:
Source Salesforce org – The org to back up.
Package type – How ARM collects metadata:
Unpackaged mode – Retrieves metadata changed since the last ARM cycle (or since Start date, if specified).
Unmanaged package – Retrieves components from an unmanaged package so you can edit them.
Managed package – Retrieves components from a managed package created in a partner dev org.
Build
Additional build options
Auto switch to bulk retrieve service if job hits metadata governor limit – Automatically switches to batch retrieval if the job exceeds Salesforce limits. Specify Batch size (up to 10,000 items).
Exclude installed (managed) components and changes – Skip all managed-package components.
Exclude all manually created components – Also skip custom components inside managed packages.
Incremental build – Fetch only the metadata changed since the last successful deployment, greatly reducing build time.
Include picklist modifications – Always include picklist fields, even if Salesforce did not update their “last modified” date. (Source = Salesforce org only.)
Generate code coverage report – Include Apex test coverage details.
Run static analysis report – Run an SCA tool before committing.
Apex PMD / Checkmarx – Choose whether to scan all Apex classes or only those modified after a given date, and set a Priority threshold that causes the build to be marked unstable if not met.
Apex PMD / Checkmarx CodeScan / SonarQube – Choose to scan all supported metadata types or only newly added ones, and set a Priority threshold.
CodeScan / SonarQube Run on all supported metadata types – Scan every retrieved component.
Run on newly added supported metadata types – Scan only components added in the current retrieval.
Components in Current Retrieval
Additional profile packaging options
Remove login IP ranges – Omit IP range settings from profiles.
Remove system and user permissions – Omit profile permissions from deployment.
Exclude metadata types – Globally omit specific metadata types from all CI jobs.
Backup to Version Control (auto-commit)
Enable Auto commit to push changes directly to your VCS:
Select the Version control type (Git, TFS, or SVN).
Choose the Repository, Branch, and Credential.
For an SFDX-structured repo, also select the Package directory. See SFDX metadata format.
Optional settings:
Check out and commit with user’s credentials – Commit all changes as the selected user.
Check out with user credentials and commit with actual modified user credentials – Preserve original authors.
Configuration for recordTypes picklistValues – Choose Replace, Replace all, or Append. (Learn more)
Backup to Version Control (Auto Commit)
Notifications
Send success or failure emails to selected recipients.

Schedule
Run the job automatically:
Daily – Run every day at the chosen time or interval.
Weekly – Run on selected day(s) and time.
No schedule – Save the job and run it manually when needed.
For credential-usage details across CI job types, see the FAQ.
What’s next?
After saving the job, ARM redirects you to the CI job results page, where you can start the first build.
Last updated
Was this helpful?