Loading...

Seeding a Salesforce Sandbox

Salesforce provides a sandbox that you can use for testing and demo purposes.

You can populate (seed) the sandbox with a Commvault backup from your production Salesforce data or another Salesforce sandbox.

Perform granular seeding by configuring rules that specify the object that you want to seed and the object records to use for the seeding. You can specify any of the following records:

  • All records
  • Records that are returned from a user-defined SQL query
  • Records that have been backed up in the last N number of days
  • The most recently backed up N records

Procedure

  1. You can perform a restore on the Apps page, or the job details page.
    • Apps page: From the navigation page, expand Solutions > Apps > Cloud Apps. Then, in the Restore column for the Salesforce app, click Restore.
    • Job details: From the navigation pane, click Jobs > job ID, in the Job summary area, click Restore.

      The Restore or Select restore type page appears.

  2. If you have more than 1 instance for the app,then in the Restore dialog box, expand the instances, and then select the data that you want to restore, and then click Select Content.

    The Select restore type page appears.

  3. Select Sandbox seeding.

    The Sandbox seeding page appears.

  4. Create the seeding rules.

    These are the rules the software uses to determine which objects are used for seeding the Salesforce sandbox.

    1. From the Object list, select the object that you want to seed.
    2. Click Pick/rule/enter query.

      The Add rule dialog box appears.

    3. In the Selection criteria area, choose the records that the software adds in the sandbox.
    4. From the Restore dependent objects list, select the children to include.
    5. Optional. View the records. Click Preview.Then, after you see the records, in the Preview for dialog box, click Close.
    6. Click OK.
    7. Create rules for all the objects that you want seed the database with.
  5. Click Restore.

    The Restore options dialog box appears.

  6. Under Destination details, provide the destination information.
    1. From the Destination server list, select the server that hosts the Salesforce destination instance.
    2. From the Destination instance list, select the Salesforce instance.
  7. Click Submit.

Result

After the operation completes, the destination sandbox contains the records that meet the rules that you configured.

Last modified: 6/14/2018 12:18:54 PM