Skip to main content
All CollectionsSalesforceTroubleshooting and FAQs - SFDC
How to Restore / Seed a Full Org using Druva App
How to Restore / Seed a Full Org using Druva App

How to Restore / Seed a Full Org using Druva App

Updated over a month ago

Overview

In Salesforce environments, disaster recovery or data restoration may require rebuilding the organization from scratch, including restoring all data from backups. These situations can arise due to data loss, accidental deletion of records, custom objects, or even custom metadata.

The Druva App provides a robust solution to address these challenges effectively.

This document outlines the recommended steps to perform a Full Org Restore operation, enabling administrators to recover and restore their Salesforce organization easily and precisely.

Metadata Restore (Optional)

Metadata components such as Custom Objects, Picklists, User Profiles, and others are essential for successful data restoration. Any required metadata missing in the target organization could result in errors or failures during the restoration process.

If you notice any missing metadata components in your target org, follow the steps below to address them. Otherwise, proceed to the next step.

  1. Navigate to the Data Backup tab.

  2. Select the project from the Project dropdown.

  3. Choose the backup definition from the Backup Definition dropdown.

  4. Click on the Metadata tab.

  5. Select the backup snapshot from the Snapshot date picker.

  6. Wait for the Metadata Backup Extract Files task to complete.

  7. From Metadata Types, select the missing metadata Type, for example in the below screenshot we are looking for custom object under Objects.

  8. Search for and select the object you want to restore.

  9. Initiate the restore process.

  10. Verify that the Metadata Restore task has been completed successfully.


πŸ“ Note

  1. Some of the Metada Types may not be supported over API by Salesforce. In such cases, you may download those metadata components locally and then manually upload them to your target org if needed.

  2. Metadata Restore is NOT available under Data Seeding Operations.


Full org restore

To restore all data from one Salesforce org to another, follow these steps:

  1. Navigate to the Restore & Seeding tab.

  2. Click on the New Template dropdown and select Data Restore.

  3. Choose the project from the Project dropdown.

  4. Enter a Template Name.

  5. Select the Backup Definition from the dropdown.

  6. Select the Backup Snapshot from the Backup Job dropdown.

  7. Select the Destination Org from the dropdown.

  8. Click Save.

  9. On the Restore Template Details page, select Query-based Selection.

  10. Click Add Multiple Queries.

  11. Move all Available Objects to Selected Objects.

  12. Check Include All Records.

  13. Uncheck Include Related Parent Records.

  14. Set Include Related Child Records to None.

  15. Click Save.

  16. Click Run & Execute Queries.

  17. Wait for the Include Records By Query-Based task to complete.

  18. Click Show Template Summary to review records included in the template.

  19. Click Start Data Restore and confirm by clicking OK to initiate full org restore.

  20. Wait for the Data Copy task to complete.

Full Org Seeding


πŸ“ Note

Since Metadata Seeding is not supported, ensure that the required metadata components from the Source Org are present in the Target Org, to avoid any errors during the Data seeding jobs.


To copy all data from one Salesforce org to another, follow these steps:

  1. Navigate to the Restore & Seeding tab.

  2. Click on the New Template dropdown and select Data Seeding.

  3. Choose the project from the Project dropdown.

  4. Enter a Template Name.

  5. Select the Source Org from the dropdown.

  6. Select the Destination Org from the dropdown.

  7. Click Save.

  8. On the Seeding Template Details page, select Query-based Selection.

  9. Click Add Multiple Queries.

  10. Move all Available Objects to Selected Objects.

  11. Check Include All Records.
    ​

  12. Uncheck Include Related Parent Records.

  13. Set Include Related Child Records to None.

  14. Click Save.
    ​

  15. Click Run & Execute Queries.

  16. Wait for the Include Records By Query-Based task to complete.

  17. Click Show Template Summary to review records included in the template.

  18. Click Start Data Seeding and confirm by clicking OK to initiate full org seeding.

  19. Wait for the Data Copy task to complete.


πŸ“ Note

As a best practice, to minimize the risk of unexpected errors from Salesforce, it’s recommended to select objects in batches rather than triggering them all at once. Start with the most critical objects, such as Accounts, Cases, and Contacts, and then gradually proceed to the remaining ones step by step.


Did this answer your question?