Archiving Your Salesforce Data
Log in to your Vault account.
Go to the Setup module.
Locate the Salesforce Org for which the data has to be archived. You can use the Search filter to easily find the required Salesforce Org.
Search for Salesforce Org Navigate to the Configs tab.
Click on Add Archive Config. This will allow you to view all the components available in your Salesforce Org and choose the components for which you want to define the archive policy.
Add Archive Config Select the components that you need to archive on the next screen.
Select components Using Filters, you can define the criteria for which the records will get fetched. For example, you can define criteria to fetch AccountBrand records that are older than 1,000 days and field Id is not empty.
AccountBrand-Filter
Validate your query to see whether the criteria set is correct and view the number of records that will be fetched. You can even set the record count limit for your data being fetched. Click on Apply to set the criteria and close the Filter dialog box. To easily identify the objects for which the filter is applied, the filter icon is highlighted.


The Hierarchy option will allow you to view all the corresponding child objects for your selected object. These child objects will also get archived once you archive their parent object. Such a hierarchy schema view can be seen using the Hierarchy option.
Hierarchy You may notice in the schema view that some of the objects are auto-selected by default and cannot be unchecked. These are the child objects of its parent object, which will be deleted if the parent object is selected for archival per policy. However, for other objects that are related to the selected object in some other way, you may have the option to choose them manually for archival. Visit the Mandatory Child Archival page for more information.
Schema Child Schema Once done, click Save to close the hierarchy-schema screen. Similar to filter criteria addition, the hierarchy icon gets highlighted corresponding to the object for which hierarchy is selected.
Click Next. On the next screen, do the following:
Give the process a name.
Select the email notification checkbox to receive an email notification whenever the objects are getting deleted from your Salesforce Org. If unchecked, data will be automatically deleted without any prior notification.
Select the date and time interval for the archive process to run under the Schedule Archive section. You can set the policy to run either daily, weekly, monthly, or input any duration manually.
You can specify till what time period you want to retain the archived data under the Archive retention period section.
Specify the batch size for components to retrieve records. 10K is the max batch size that you can set per batch. This option is useful in running large jobs that would exceed normal processing limits. As per the Salesforce governor limit, you can deploy or retrieve up to 10,000 files at once or a max size of 40MB. Using Batch Size, you can process records in batches to stay within platform limits. If you have a lot of records, processing records through batches are your best solution.
Enable serial mode for Bulk API: Serial mode processes batch one at a time, however, it can increase the processing time for a load.
Disable Automation Rules
This provision to disable the automation rules is useful in making sure the automation rules created on various fields in Salesforce will not impact the Archival process midway.
Step-By-Step Guide:
Set up the configuration for the automation rules at “Scheduling” while creating the “Archive Config”.
On selecting the required automation configurations, continue to “Save Config”.
Once saved, the set job configurations can be observed under the “Archive Config Details”.
Clicking the information icon under the "Archive Config Details" column opens a pop-up displaying the configuration details associated with the respective archive job. This provides a quick view of the selected archive parameters without navigating away from the main screen.
Run a job for the created configuration and observe the configuration details reflected on the job
The automation configurations selected during the creation of the Archive Config will appear on the Start Archive screen in the same state as they were initially defined.
For archive configurations where the "Notify before deleting records in Salesforce" option is not selected, the automation settings will still appear on the Start Archive page..
On clicking the “ARCHIVE NOW” button, observe the automations to make sure they reflect in the same state of selection during the archive config creation.
For "Archive Configs" with "Notify before deleting records in Salesforce" enabled, the automation rule settings will not be displayed on the Start Archive screen when the ARCHIVE NOW button is clicked.
Once the archive job is completed, observe the automation rules details on the “Job Info” section.
Click on the information icon under the “Job Info” section to observe the job automation details configured.
Once the archive job is completed, any automations that were temporarily disabled during job creation will be restored to their original state as they were before the job was triggered.
Click Save Config.
A summary of all the objects, filters, and criteria selected or applied will get displayed before your archive policy gets configured. Click Save.
Save Config Details Now go to the Archive tab.
Select your Salesforce Org for which you configured the archive recently.
Select the Environment.
Select the archive configured recently under Configurations drop-down field.
Archive Settings Click on Get Details to fetch all the existing archive configured for your Salesforce Org. If you've initiated the archival process for the first time in Vault, you will not find any details on this page.
To run on-demand archive before the scheduled archive set, use Archive Now button.
On the Start Archive screen, the label name gets auto-populated; however, you have the option to edit the label name and enter the label you desire.
Select your configuration and click Archive.
Start Archive You'll be redirected to the Archive page to view the status of the ongoing archive process being run.
View Status For each archive job, the following information will be displayed:
Label
An identification name for each archive performed in Vault
Configuration Name
Archive configuration name
Date/Time
The date and time stamp for the archive process took place
Expiry Date
Till which date the archive job will remain with Vault
Duration
Time-taken to complete the archive operation
Records
Total numbers of records archived
API Calls
API call duration (in seconds)
Query
Filter or query that have been used to fetch the records
Data Backup
Backup type for data components i.e., Full backup or Incremental backup
Status
Status of the archive i.e., completed, in progress, or failed
Actions
Summary Report: View the summary info for the archive performed. The report will contain the list of both success and failed components for the job triggered as shown below.
View Log: View the log information for the archive job triggered.
Download Archival Report: Specify the email address to receive the downloadable link to allow mentioned users to download the archive report on their local machine.
Filter & Download Records
This provision is useful in filtering the “backed up” and archived records. The available records can be filtered through various options provisioned on the application.
Step-By-Step Guide:
Follow the following flow for the backup records download:
Go to the backup module of the Vault application
Click on the “Label Name” to open the backup details
On landing on the backup details section, click on the “Records”
On opening the backup “Records”, observe the “Downloads” option.
The download has three values in the drop-down
Download All Records
Download Records On Screen
Download Filtered Results
6. Download All Records: Selecting this option will download all the backed up records
7. Download Record On Screen: Selecting this option will download all the records available on that current page
Download Filtered Records: Selecting this option will download the records filtered
Limitations
Inconsistent File Download During GDPR Requests: When a GDPR request is initiated within an organization, file downloads may behave inconsistently. This issue will be resolved in the upcoming release.
File Download Issues with Special Characters in File Names: Files with special characters in their names may not function properly in certain environments, particularly on macOS. This issue will be addressed in the upcoming release.
Last updated
Was this helpful?