# Creating and Running a Backup Metadata Restore Job

{% hint style="success" %}

#### Required User Credentials

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

## Overview

Restoring metadata using the Flosum Backup & Archive app is a one-step process, unlike the multi-step process required to restore backup or archive data. Once the restore is initiated, the job starts restoring your selected metadata immediately.

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

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

## Create Metadata 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 Metadata**.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgq4rw9vOkFoPU45Yfb5N%2FCreatingABackupMetadataRestoreJob-Type-03.png?alt=media&#x26;token=e1d39b15-8d32-4a6d-8382-fe1fb29d2590" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Select Backup to Restore

1. Click **Select** for the Backup from which you wish to restore metadata.

{% hint style="info" %}
The list of backups will only include backups with metadata.
{% endhint %}

2. Click **Next**.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FsRXUgzP8nom3HlhsLIOo%2FCreatingABackupMetadataRestoreJob-Restore-2-01.png?alt=media&#x26;token=9b30b68a-5a87-4fbe-b584-c7a6b19141cb" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Select Metadata Types to Restore

In this section, you choose the metadata types you want to restore.

1. Click the **Add metadata type** menu to choose which Salesforce metadata types to restore.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FSKJFKiBj7bKwJCgfplCH%2FCreatingABackupMetadataRestoreJob-Restore-3-01.png?alt=media&#x26;token=f8599054-9110-41b0-a6db-477a515019f7" alt="" width="563"><figcaption></figcaption></figure></div>
2. Search or browse for the metadata type from the menu.
3. Check the metadata you want to add.
4. Click **Add** to add all the selected metadata types.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FPBLL2M1JE3bHPaoE0xhz%2FCreatingABackupMetadataRestoreJob-Restore-3-02.png?alt=media&#x26;token=d7ceedec-2f11-48ff-969d-a7bcb2d6c16d" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### (Optional) Add Filters to Metadata Types

You can optionally apply a filter to individual metadata types to further refine what metadata is restored.

1. Click **Filter** to add a filter to the metadata type.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FF8I9ZkDHh3CwqwWuk7Kn%2FCreatingABackupMetadataRestoreJob-Restore-4-01.png?alt=media&#x26;token=a84ebe01-6893-4708-9017-c124fb8a52d4" 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.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FThDP6A2DbG63UxaFuPMw%2FCreatingABackupMetadataRestoreJob-Restore-4-02.png?alt=media&#x26;token=78a2d46e-77ab-49bc-bcbd-8a9bc7ec69d9" alt="" width="375"><figcaption></figcaption></figure></div>
5. Once all the objects are selected and filtered, click **Next**.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FjKrxEUh3Yp6TKlO7uWGG%2FCreatingABackupMetadataRestoreJob-Restore-4-03.png?alt=media&#x26;token=3dd34cc9-8800-4747-a5d0-2a4f80a5ecf2" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Execute the Restore Job

When the Metadata Restore job is initiated, the restoration process begins automatically. Unlike backup or archive restoration, you won't need to review the metadata being restored.

1. Ensure the correct backup is chosen for the restore job, and verify that appropriate metadata types and filters are applied.
2. Click **Run Restore** to initiate the restore job.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FZehvtOiuNQpdE4uCtPnm%2FCreatingABackupMetadataRestoreJob-Restore-5-01.png?alt=media&#x26;token=5908edef-2d1a-497d-a9e1-d380a69f555d" alt="" width="563"><figcaption></figcaption></figure></div>
3. After starting the restore job, you will be taken to the **Restore > History** tab.
4. The table shows the status of the Restore job.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FBoFaicmYsbvBrwdEljQE%2FCreatingABackupMetadataRestoreJob-Restore-5-02.png?alt=media&#x26;token=64ecdc70-7ad3-4ae6-b5f2-e832b8eff107" alt="" width="563"><figcaption></figcaption></figure></div>
5. Once the **Restore** is complete, you can view the restored data in your Salesforce organization.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FkI5Zd5sVhqCkjS2XaE5H%2FCreatingABackupMetadataRestoreJob-Restore-5-03.png?alt=media&#x26;token=fdd766bd-0e40-474f-bc7c-ba299139ed1c" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}
