Performing Flexible Mapping

Flexible mapping works at a more granular level of ZFS pools. It allows you to map specific ZFS pools from the backup (source) to the ZFS pools or disks on your machine (target).  Flexible mapping allows for partial restore where you do not have to map all ZFS pools and UFS disks from the backup.

Considerations and Limitations

Before you begin flexible disk mapping, consider the following:

  • You can manually map ZFS pools and disks only in the Veeam Recovery Media wizard. Flexible disk mapping is not available when you perform bare metal recovery in the command line interface.
  • The target ZFS pool must be of the same size as the source ZFS pool, or larger. You cannot map multiple ZFS pools to a target ZFS pool; during restore, the source ZFS pool will replace the target ZFS pool on the current system.
  • You can map a ZFS pool to one or multiple disks on the current system. The combined size of the mapped disks must be the same or larger than the size of the source ZFS pool. Note that you cannot map the system rpool to multiple disks.
  • You can map a disk with one or multiple UFS file systems from the backup to a disk on the current machine if the size of the disk permits.
  • If you map objects from the backup to a disk on the current system, beware that during restore, the data form the backup will replace the content of the target disk on the current system.
  • You cannot map ZFS pools that reside on a disk slice.

How Flexible Mapping Works

When you perform flexible mapping during bare metal recovery, Veeam Agent behaves as follows:

  1. When you select flexible mapping, Veeam Agent compares information about the ZFS pools of the backed up machine and the ZFS pools on the current system. Depending on the result of this check, Veeam Agent works in one of the following ways:

 

 

 

Tip

You can manually import any ZFS pools to the current system before you launch flexible mapping. In this case, when you launch flexible mapping in the Recovery wizard, in the Current system pane, Veeam Agent will display the manually imported ZFS pools as well as the ZFS pools that were imported automatically based on matching IDs.

  1. After you map objects from the backup to objects on the current system using the available mapping scenarios and press [R] and then [Enter] to start the recovery, Veeam Agent deletes on the current system the objects that have mappings. These can be ZFS pools and their content, as well as the content of the mapped devices (disks).

Important

Thoroughly check your mapping before you start the restore. After you press [R] and then [Enter], Veeam Agent immediately proceeds to deleting data on the current system. If you choose to cancel the restore after it has been started, this may result in undesired data loss on the target system.

  1. Once the deletion is completed on the current system, Veeam Agent replaces the deleted objects with the previously mapped objects from the backup. After the next system boot from hard drive, the current machine will contain the restored data.

Note

After system reboot, you may need to manually import some or all non-system ZFS pools. For more information, see Finish Working with Veeam Recovery Media.

Flexible Mapping Scenarios

You can use flexible mapping to map objects from the backup (source objects) to objects on the current system (target objects) in one of the following ways:

Note

During bare metal recovery, you can combine different mapping scenarios. If you plan to do so, consider the following:

  • You can use only one mapping scenario per a pair of mapped objects — for example, you can map source zpool01 to target zpool01  and source zpool02 to target disk. But you cannot map source zpool01 to target zpool01 and to a target disk at the same time. The last mapping you applied to a pair of mapped objects will be used during restore.
  • If you want to map an object from the backup to a target disk, such target disk can be either an empty disk without any imported ZFS pools or a disk assigned to a ZFS pool that is configured to be destroyed.

Launching Flexible Mapping

To launch flexible mapping, press the [F] key at the Recovery Summary step of the wizard.

Performing Flexible Mapping