Restore all the files in a volume using the MARS Agent

This article explains how to restore all backed-up files in an entire volume using the Recover Data wizard in the Azure Recovery Services (MARS) Agent. You can:

  • Restore all backed-up files in a volume to the same machine from which the backups were taken.
  • Restore all backed-up files in a volume to an alternate machine.
  • If you have Cross Region Restore enabled in your vault, you can restore the backup data from the secondary region.
  • If you want to use Cross Region Restore to restore the backup data from the secondary region, you need to download the Secondary Region vault credential file from the Azure portal, and then pass the file in the MARS agent.

Tip

The Volume option recovers all backed up data in a specified volume. This option provides faster transfer speeds (up to 40 Mbps), and is recommended for recovering large-sized data or entire volumes.

The Individual files and folders option allows for quick access to the recovery point data. It's suitable for recovering individual files, and is recommended for a total size of less than 80 GB. It offers transfer or copy speeds of up to 6 MBps during recovery.

Volume level restore to the same machine

The following steps will help you recover all backed-up files in a volume:

  1. Open the Microsoft Azure Backup snap-in. If you don't know where the snap-in was installed, search the computer or server for Microsoft Azure Backup. The desktop app should appear in the search results.

  2. Select Recover Data to start the wizard.

    Recover data menu

  3. On the Getting Started page, to restore the data to the same server or computer, select This server (server name) > Next.

    Getting started page

    If you have enabled Cross Region Restore (preview) and want to restore from the secondary region, select Secondary Region. Otherwise, select Primary Region.

    Screenshot shows the selection of the source region of recovery point.

  4. On the Select Recovery Mode page, choose Volume > Next.

    Select recovery mode

  5. On the Select Volume and Date page, select the volume you want to restore.

    On the calendar, select a recovery point. Dates in bold indicate the availability of at least one recovery point. If multiple recovery points are available within a single date, choose the specific recovery point from the Time drop-down menu.

    Select volume and date

  6. On the Specify Recovery Options page, configure the restore behavior.

    1. Choose the recovery destination:
      • Original location: Restore data to the original path.
      • Another location: Specify an alternate location to restore the data to.
    2. Choose the behavior for When items in the backup are already in the recovery destination:
      • Create copies so that you have both versions: If a file with same name already exists, data in the recovery point will be restored as a copy. The copy will have a localized file name prefix using the local restore job time in one of the following formats:
        • YYYY-MM-DD HH-mm Copy of <original file name>
        • YYYY-MM-DD HH-mm Copy (n) of <original file name>
      • Overwrite existing versions with recovered versions: If a file with same name already exists, the contents are replaced with data in the recovery point.
      • Do not recover the items that already exist on the recovery destination: If a file with same name already exists, it's skipped.
    3. Enable Restore access control list (ACL) permissions to the file or folder being recovered if the file should be restored with the original permissions in the recovery point. Specify recovery options
  7. Verify the details of the recovery on the Confirmation pane and select Recover.

    Confirmation details

  8. On the Recovery Progress page, monitor the progress of the recovery job. The wizard can also be safely closed, and the recovery operation will continue in the background. You can view the progress again by double-clicking the Recovery job in the dashboard.

Volume level restore to an alternate machine

The following steps will help you recover all backed-up files in a volume to an alternate machine. You can use these steps to recover data from Azure Backup if your entire server is lost.

These steps include the following terminology:

  • Source machine - The original machine from which the backup was taken, and which is currently unavailable.
  • Target machine - The machine to which the data is being recovered.
  • Sample vault - The Recovery Services vault to which the source machine and target machine are registered.

Note

Backups can't be restored to a target machine that's running an earlier version of the operating system. For example, a backup taken from a Windows 7 computer can be restored on a Windows 7 (or later) computer. A backup taken from a Windows 10 computer can't be restored to a Windows 7 computer.

  1. Open the Microsoft Azure Backup snap-in on the target machine.

  2. Ensure that the target machine and the source machine are registered to the same Recovery Services vault.

  3. Select Recover Data to open the Recover Data Wizard.

    Screenshot of Microsoft Azure Backup, with Recover Data highlighted (restore to alternate machine)

  4. On the Getting Started page, select Another server.

    Screenshot of Recover Data Wizard Getting Started page (restore to alternate machine).

  5. Provide the vault credential file that corresponds to the sample vault.

    If the vault credential file is invalid (or expired), download a new vault credential file from the sample vault in the Azure portal. After you provide a valid vault credential, the name of the corresponding backup vault appears.

    Note

    If you want to use Cross Region Restore to restore the backup data from the secondary region, you need to download the Secondary Region vault credential file from the Azure portal, and then pass the file in the MARS agent.

    Screenshot shows the secondary vault credentials passed in MARS agent.

    Select Next to continue.

  6. On the Select Backup Server page, select the source machine from the list of displayed machines, and provide the passphrase. Then select Next.

    Screenshot of Recover Data Wizard Select Backup Server page (restore to alternate machine)

  7. On the Select Recovery Mode page, choose Volume > Next.

    Select recovery mode

  8. On the Select Volume and Date page, select the volume you want to restore.

    On the calendar, select a recovery point. Dates in bold indicate the availability of at least one recovery point. If multiple recovery points are available within a single date, choose the specific recovery point from the Time drop-down menu.

    Select volume and date

  9. On the Specify Recovery Options page, configure the restore behavior.

    1. Choose the recovery destination:
      • Original location: Restore data to the original path.
      • Another location: Specify an alternate location to restore the data to.
    2. Choose the behavior for When items in the backup are already in the recovery destination:
      • Create copies so that you have both versions: If a file with same name already exists, data in the recovery point will be restored as a copy. The copy will have a localized file name prefix using the local restore job time in one of the following formats:
        • YYYY-MM-DD HH-mm Copy of <original file name>
        • YYYY-MM-DD HH-mm Copy (n) of <original file name>
      • Overwrite existing versions with recovered versions: If a file with same name already exists, the contents are replaced with data in the recovery point.
      • Do not recover the items that already exist on the recovery destination: If a file with same name already exists, it's skipped.
    3. Enable Restore access control list (ACL) permissions to the file or folder being recovered if the file should be restored with the original permissions in the recovery point. Specify recovery options
  10. Verify the details of the recovery on the Confirmation pane and select Recover.

    Confirmation details

  11. On the Recovery Progress page, monitor the progress of the recovery job. The wizard can also be safely closed, and the recovery operation will continue in the background. You can view the progress again by double-clicking the Recovery job in the dashboard.

Next steps