Schedule a Vault Backup
  • 15 Jan 2023
  • 3 Minutes to read
  • Contributors
  • Dark
    Light

Schedule a Vault Backup

  • Dark
    Light

Overview

Vault gives you the possibility of a one-time backup configuration, setting frequency, e.g., every day at 03:00 PM for your Salesforce, and ... that is all you need to have your data/metadata backed up in Vault. 

Before you Begin

  1. Register your Salesforce Org in Vault. [Learn More]

How to do it?

When registering your Salesforce Org in Vault, you must configure the backup and set the backup schedule criteria. You will need to choose the metadata and data records as a part of the backup process before you schedule them. Head to the Backup Configuration article for detailed information on selecting metadata and data records for your Salesforce Org.

When you are done with the metadata/data selection, you will be navigated to the Scheduling screen, where you are required to fill in the details as follows:

  1. Give a name for the scheduled backup configuration.
  2. Select the Backup Type for both metadata and data members.
    1. Full-Backup: Full backup is a method of backup in which all the files and folders selected are backed up.
    2. Incremental-Backup: An incremental backup operation will copy only the data/metadata that has been changed since the last backup operation. The modified time stamp on files is typically used and compared to the timestamp of the previous backup.
  3. Click on the icon to go to the Backup Settings page.
    1. For Data objects, you can enable Bulk API. Bulk API is optimized to load or delete extensive records asynchronously due to parallel processing. Data backup settings
    2. For Metadata types, specify the batch size for both profile and remaining components to retrieve records. The max batch is 10,000 records. This option helps run large jobs that exceed normal processing limits. Per the Salesforce governor limit, you can deploy or retrieve up to 10,000 files at once or a max size of 40 MB. You can process records in batches using the batch size to stay within platform limits. If you have a lot of records, processing records through batches is your best solution.Metadata settings
  4. Keep the "Allow multiple backups to run in parallel" toggle to Yes. If you turn it off, the backup jobs will run sequentially, meaning that only the next scheduled job will be initiated after one is finished. Additionally, deactivating this option will prevent the scheduled jobs from running concurrently with earlier scheduled backups that haven't finished. The backup status will indicate the "Stopped" status for the recently scheduled jobs if the previously scheduled jobs are not completed. 
    Backup Summary screen

     

  5. Select the email notification icon to receive an email notification whenever the objects are backed up from your Salesforce Org.Backed up from salesforce org
  6. Next, choose the frequency for backup, i.e., daily, weekly, monthly, or at any specific interval. If you want the schedule of the backup process to run every 4 hours, select the Specific interval option and indicate the time frame as 4 hours.
  7. You can specify until what period you want to retain the backed-up data under the Backup Retention period field.
  8. Click Save Config.
  9. The next screen will display the summary list of metadata and data members selected for your salesforce and how the backup will be carried out.Data backup configuration in salesforce org
  10. Click Save. A confirmation message stating the backup is successfully configured for your Salesforce org will be displayed.
  11. You can find the backup configured for your Salesforce Org under the Setup > Configs tab.
  12. Additional options:
    • Schedule: You can temporarily enable or disable the backup schedule of a Salesforce org by sliding the Schedule icon to either the right or left side.
    • Backup Config Details: View the list of metadata/data members of Salesforce org that will be backed up based on the process scheduled.
    • Actions (Edit/Delete): Delete the backup scheduled using the Delete icon or update the metadata/data components from being backed up using the Edit icon.
    • Last Backup Status: Last backup activity status will be displayed in this section.

Was this article helpful?

What's Next