# Creating a Backup Restore Job (Preparation)

{% hint style="success" %}

#### Required User Credentials

\[**Flosum User**] - **Backup & Archive** license with **Restore** permissions
{% endhint %}

## ![](https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-3f6faa4230b72167926fbc0a31dd17dc7d74581d%2FSummary2-Small-Icon.svg?alt=media)Overview

This article covers the first stage of restoring data from a backup in the Flosum Backup & Archive app. You'll create a Restore Request job to identify records that meet your criteria, allowing you to verify what will be restored before execution.

If you want to restore archived data or backup metadata, see the corresponding article for the specific instructions.

* [creating-an-archive-restore-job-preparation](https://docs.flosum.com/backup-and-archive/restore/prepare-restore/creating-an-archive-restore-job-preparation "mention")
* [creating-a-backup-metadata-restore-job-preparation](https://docs.flosum.com/backup-and-archive/restore/execute-restore/creating-a-backup-metadata-restore-job-preparation "mention")

After the Restore Request completes, you'll see how many records are eligible for restoration. From there, you can run a Restore job to restore the records to your Salesforce org. See the following article for instructions:

* [running-a-restore-job-execution](https://docs.flosum.com/backup-and-archive/restore/execute-restore/running-a-restore-job-execution "mention")

## Create Backup Restore

{% stepper %}
{% step %}

### Select Restore Type

1. Click **Restore** from the sidebar menu.
2. Click the **Connection Switcher** from the breadcrumb path.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-23713175d730082e0805517a33ea20df958c3a83%2FRunningARestoreJob-Select-01.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
3. Select the connection you wish to restore.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-894e656f6b48c721efd5237fdcdf4cb57a976917%2FRunningARestoreJob-Select-02.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
4. Click **Backup**.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-ca65741f61ec911aa2de8e11ff3cbcbe4063fd2b%2FCreatingABackupRestoreJob-CreateRestore-Type-03.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Select Compromised and Correct Backups

1. Click **Select** for the **Compromised Backup**. This is the backup from which data was lost; this is your Recovery Point Objective.
2. Click **Next**.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-dab421b0ff3ddbe738883afa749f80a072c2c0ac%2FCreatingABackupRestoreJob-CreateRestore-Backups-01.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
3. Click **Select** for the most recent successful **Correct Backup**. This is the backup with valid data before data loss (your Restoration Point).
4. Click **Next**.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-f6e28d726f96d2a16bc1753571c0c7f242e9adcd%2FCreatingABackupRestoreJob-CreateRestore-Backups-02.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Select Objects to Restore

In this section, you select the objects you want to restore, their related child objects, filter on what records you want to restore, and which fields you want to retrieve.

1. Click the **Add Object** menu to choose which Salesforce objects to restore.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-64bbf7e24a1da44d9cb2c6e6e245503c9805d264%2FCreatingABackupRestoreJob-CreateRestore-Objects-01.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
2. Search or browse for objects from the menu.
3. Check the objects you want to add.
4. Click **Add** to add all of the selected objects.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-a51966b187433ec600fab11d9db2b1edd0d7d950%2FCreatingABackupRestoreJob-CreateRestore-Objects-02.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
5. When an object is added, you can add any available child objects to restore.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-64ca1c11e5b8c079960e69af27d2d3706ec3ed1f%2FCreatingABackupRestoreJob-CreateRestore-Objects-03.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
To the right of the object’s name is a count of **Added/Available** child objects. In the screenshot below, the **Account** object has **40** child objects, and **0** of them have been added.
{% endhint %}

6. Click an object to open the **Add child objects** dialog.
7. Click the **+ Add** button next to each of the child objects to add.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-d4ade7b86d87a20c68f85e2234e612b45fac6665%2FCreatingABackupRestoreJob-CreateRestore-Objects-04.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
8. The **Caution** icon indicates that a child object depends on its parent object (a cascading delete relationship).

{% hint style="info" %}
The **Caution** icon is designed to help you identify any child objects that may need to be restored along with the parent object. For example, if an Account record is accidentally deleted, all records that have a cascading delete relationship will also be deleted. To successfully restore the Account record and all of its deleted child records, you must select the deleted child records as well. The **Caution** icon helps you identify which objects should be included in the restore process.
{% endhint %}

9. Once you have added all the objects, click **Apply** to save the changes.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-23d418b5f5f1d2bb85164fba570333e131f3ba65%2FCreatingABackupRestoreJob-CreateRestore-Objects-05.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### (Optional) Add Filters to Objects

1. Click **Filter** to add a filter to the object.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-d8a171f1aa8c72c049f216efaa852d79ee168908%2FCreatingABackupRestoreJob-CreateRestore-Objects-06.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
2. Click **Add Filter** in the filter dialog to add a filter criteria.
3. The screenshot below shows an example filter.
4. Click **Apply** to save the filter.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-14bd6d901d9b054b260e3a7041d029239be665f4%2FCreatingABackupRestoreJob-CreateRestore-Objects-07.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
5. Once all the objects are selected and filtered, click **Next**.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-1984537e3709aeec56340bf5b90f56aca575b0d6%2FCreatingABackupRestoreJob-CreateRestore-Objects-08.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Configure Object Settings

Object Settings lets you select the fields to retrieve and the automation processes to suspend during the restore.

1. Click the **Fields** button for an object to select the fields that will be restored for that object. This will open the **Select fields for Object** dialog.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-e129b7e7b83408d0270c3b62e252570f170da5c2%2FCreatingABackupRestoreJob-CreateRestore-Settings-01.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
2. The **Select fields for Object** dialog contains two lists of fields. The right list shows all fields selected for restoration of the object, while the left list shows fields that are not selected. You can transfer fields between lists by selecting a field and clicking the arrows between them. Grey fields cannot be moved to the other list.
3. Click **Save** after selecting the desired fields.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-a7f1af0c3bf768e253b13abb572cb694c8b1a9c6%2FCreatingABackupRestoreJob-CreateRestore-Settings-02.png?alt=media" alt="" width="375"><figcaption></figcaption></figure></div>
4. Click the **Automation Processes** button for an object to select the processes to suspend during the restore. This will open the **Disable automation processes for Object** dialog.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-5eba278977a9a540411201ddeab8fd20472c1a29%2FCreatingABackupRestoreJob-CreateRestore-Settings-03.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
5. Check the checkboxes for any of the processes you want to suspend during the restore.
6. Click **Save**.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-da5a3a6a1142cafeec46ce6ab7a8126c24fcb6fe%2FCreatingABackupRestoreJob-CreateRestore-Settings-04.png?alt=media" alt="" width="375"><figcaption></figcaption></figure></div>
7. Once all the object settings are complete, click **Next**.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-c023fd491a7a1fd0304c74b4b3d74c86e6054d49%2FCreatingABackupRestoreJob-CreateRestore-Settings-05.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Finish Restore Job Setup

{% hint style="info" %}
The **Review data** and **Run restore** steps will be completed during the Restore Execution process, after the **Restore Request** job finishes.
{% endhint %}

1. Review the restore request to verify that the correct backups for **Compromised** and **Correct** are selected and that the proper objects, filters, and fields are added.
2. Click **Create Request** to initiate the restore preparation job.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-1cde8c8caf1a7a3651d46f78208a478b4a40b948%2FCreatingABackupRestoreJob-CreateRestore-Finish-01.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
No data will be restored to Salesforce at this time. You must review the restored data and execute the restore job before the data is restored to Salesforce.
{% endhint %}

3. After starting the restore request job, you will be taken to the **Restore > History** tab.
4. The table shows the status of the Restore Request job.

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-1ff65301de1fb1d18a39cc9e47689462dbf799e0%2FCreatingABackupRestoreJob-CreateRestore-Finish-02.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}
