Recovery Job Wizard for VMware Cloud Director: Options

On the Options page of the wizard, set the recovery job options. Proceed as described in these sections:

Job Options

Specify the general options as follows:

  • Job name: Specify a name for the recovery job.

  • Network acceleration: With network acceleration enabled, NAKIVO Backup & Replication uses compression and traffic reduction techniques to speed up data transfer. Enable this option if you plan to recover objects over WAN or slow LAN links.

  • Encryption: With encryption enabled, VM data is protected with AES 256 encryption while traveling over the network. Data encryption increases the backup time and CPU load on machines running Transporters. Select this option when recovering over WAN without a VPN connection.

Recovered Object Options

Specify the recovery options as follows:

  1. Recovery mode: Choose one of the following:

    • Synthetic: With this recovery mode, the objects are recovered with the environmental dependencies (such as CPU affinity) removed. Select this option when recovering objects to a new location.

    • Production: With this recovery mode, environment dependencies are preserved on recovered objects. Make sure the location to which the objects are recovered does not contain the original objects, otherwise, UUID and MAC address conflicts may occur.

  2. Recovered VM/vApp names: Choose one of the following:

    • Append "-recovered" in the end: Source VM/vApp names are used for recovered VM/vApp names and “-recoverd” is added after the name of the recovered VMs/vApps.

    • Leave recovered VM/vApp names as is: Recovered VM/vApp names are identical to the source VM/vApp names.

    • Enter custom recovered VM names: You can enter custom names for recovered VMs/vApps.

  3. VM disks: Choose one of the following:

    • Respect original VM disk type: When specified, disks that respect the original VM disk type are created on target VMs. Select this option to recover VMs to their original location.

    • Create only thin disks on target VMs: When specified, only thin disks are created on target VMs. Use this option to save space on the target datastore.

  4. VM MAC addresses: Choose one of the following:

    • Do not generate new MAC addresses: When this option is selected, the recovered VM has the same MAC address as the source VM.

    • Generate new MAC addresses: When this option is selected, a new MAC address is generated for the recovered VM.

  5. VM/vApp power on: When the Power on recovered VM/vApp option is selected, the recovered VMs/vApps are powered on.

Pre and Post Job Actions

NAKIVO Backup & Replication allows you to run a script before recovery begins (a pre-job script) and after the recovery of all objects in the job has completed (a post-job script). The scripts can only be executed on the machine on which the Director is installed. For more information about pre and post job scripts, refer to Pre and Post Job Scripts.

Setting a Pre Job Script

To run a script before NAKIVO Backup & Replication begins recovering objects, do the following:

  1. Place a script file on the machine on which the Director is installed.

  2. Select the Run local pre job script option and click the settings link.

  3. Specify the following parameters in the dialog box that opens:

    • Script path: Specify a local path to the script on the machine on which the Director is installed. A script interpreter should be specified.

      Example (Windows): cmd.exe /c D:\script.bat
      Example (Linux): bash /root/script.sh

    • Job behavior: Choose one of the following job behaviors in relation to script completion:

      • Wait for the script to finish: With this option selected, object recovery is started only after the script is completed.

      • Do not wait for the script to finish: With this option selected, the product runs the script and starts recovering objects at the same time.

    • Error handling: Choose one of the following job behaviors in relation to script failure:

      • Continue the job on script failure: With this option selected, the job performs object recovery even if the script has failed.

      • Fail the job on script failure: With this option selected, if the script fails, the job is failed and object recovery is not performed.

Setting a Post Job Script

To run a script after NAKIVO Backup & Replication finishes recovering all objects, do the following:

  1. Place a script file on the machine on which the Director is installed.

  2. Select the Run local post job script option and click the settings link.

  3. Specify the following parameters in the dialog box that opens:

    • Script path: Specify a local path to the script on the machine on which the Director is installed. A script interpreter should be specified.

      Example (Windows): cmd.exe /c D:\script.bat
      Example (Linux): bash /root/script.sh

    • Job behavior: Choose one of the following job behaviors in relation to script completion:

      • Wait for the script to finish: With this option selected, the job is in the “running” state until the script is completed.

      • Do not wait for the script to finish: With this option selected, the job is completed even if the script execution is still in progress.

    • Error handling: Choose one of the following job behaviors in relation to script failure:

      • Continue the job on script failure: With this option selected, script failure does not influence the status of the job.

      • Fail the job on script failure: With this option selected, if the script fails, the job status is set to “failed” even if object recovery is successful.

Email Notifications

NAKIVO Backup & Replication can send email notifications about job completion status to specified recipients. This feature complements global notifications and allows you to configure notifications on a per-job level.

Note
To enable this option, make sure that Email settings are configured. Refer to Notifications & Reports.

To receive email notifications, do the following:

  1. In the Pre and Post Actions section, select the Send job run reports to.

  2. Specify one or more email addresses in the text box. Use semicolons to separate multiple email addresses.

Data Transfer

In the Data Transfer section, choose a transport mode for writing data, select which Transporter to be used for reading data from the source VM, and set bandwidth throttling.

Transport Mode

NAKIVO Backup & Replication provides the following transport modes for writing VM/vApp data:

  • HotAdd only: NAKIVO Backup & Replication can write data directly to the datastore, bypassing the network, which can significantly improve job performance. This is achieved with the help of VMware’s HotAdd technology. In order for the Hot Add feature to work, the target Transporter (the one that will be writing data ) should run on a host that has access to the target datastore(s).

  • LAN only: Data will be written over LAN.

  • Automatic: When this option is chosen, Hot Add mode is used where possible. If the product cannot use Hot Add, LAN mode is used.

Transporter Pool

If this option is enabled, only the transporters that belong to the selected transporter pool shall be used during the job run.

Transporters

By default, NAKIVO Backup & Replication automatically determines which Transporter should be used to read data from the source VM. However, you can manually specify which Transporters should be used for the job:

  • Automatic selection: The product automatically determines the Transporters that are closest to the source and target hosts.

  • Manual - configured for all VMs: Select this option to manually specify a single source and a single target Transporter to be used for data transfer by the job.

  • Manual - configured per host: Select this option to manually specify Transporters for all source and target hosts.

Transporter Load

You can limit the maximum number of Transporter tasks assigned to it within the job. By default, this number is set to 3 concurrent tasks.

To change the default number of tasks, do the following:

  • In the Data Transfer section, select the Limit transporter load to checkbox.

  • Specify the number of concurrent tasks in the corresponding box.

Bandwidth Throttling

Follow the steps below to set the speed of data transfer over the network for your recovery job:

  1. For the Bandwidth throttling option, choose Enabled.
    Note
    If bandwidth throttling is disabled for the current job, global bandwidth rules may still apply to your job.

  2. Click the settings link that becomes available. The Job Bandwidth Rules dialog box opens displaying the list of available rules. You have the following options:
    • Create a new bandwidth rule for your recovery job:
      1. Click the Create New Rule button.
      2. The New Bandwidth Rule dialog box opens. For details on creating a bandwidth rule, refer to Bandwidth Throttling.
      3. Click Save.
    • Activate an existing bandwidth rule for your job: Select the checkbox to the left of the required bandwidth rule. To deactivate a bandwidth rule for your job, deselect the corresponding checkbox.
    • Edit a bandwidth rule: Click the Edit link for a bandwidth rule and modify it in the Edit Bandwidth Rule dialog box that opens.
    • Disable a bandwidth rule: Click the Disable link. The bandwidth rule is disabled for all jobs.
    • Remove a bandwidth rule: Click the Remove link and then click Delete to confirm your operation.

Completing the New Recovery Job Wizard for VMware

Click Finish or Finish & Run to complete the job creation.

Note
If you click Finish & Run, you will have to define the scope of your job. Fore details, refer to Running Jobs on Demand.