Link Search Menu Expand Document

The Veeam Cookbook Series

A simple step by step no frills approach to achieving your goal

Recipe: Create a VMware Replication Job with Guest Processing for Linux VMs

Expected deliverables:

A Veeam Replication Job to replicate VMware VMs from a source ESXi host to a target ESXi host with Guest application-aware processing enabled.

Time to complete: 5 minutes

Ingredients:

  • vSphere infrastructure must have been added to the backup infrastructure and properly configured. That means adding source and target vSphere infrastructure, vCenter Server instances (recommended) or standalone ESXi hosts.
  • At least one VMware Proxy server for onsite replication scenario or two Backup Proxies for offsite replication scenario.
  • A Backup repository for replica metadata. Deduplicating appliances and Scale-out Backup repositories aren’t supported
  • A user account with root privileges if Guest Processing will be enabled

Before you start:

The target datastore must have enough free space to store disks of replicated VMs. It’s assumed that you have supported Pre-freeze and Post-thaw scripts.

Assumptions:

It’s assumed that you already have a Veeam Backup Server fully working in your environment.

Method:

  1. Open the Veeam Backup & Replication Console.
  2. On the Home view. On the ribbon, click Replication Job > Virtual machine > VMware vSphere.
  3. At the Name step , specify a job name and description. Leave other options by default and click Next.
  4. At the Virtual Machines step, select VMs and/or VM containers (hosts, clusters, folders, resource pools, VirtualApps, datastores or tags) that you want to replicate. Click Add, then in the Add Object window select the necessary VMs or VM containers and click Add. Click Next.
  5. At the Destination step, select a target host or cluster, resource pool, vm folder and datastore for replicas. Click Next.
  6. At the Job Settings step, select a backup repository that will store metadata for VM replicas.
    • In the Replica name suffix field, enter a suffix that will be added to the original VM names
    • In the Restore points to keep field, specify the number of restore points that the job must maintain (Max 28).
  7. At the Data Transfer step:
    • Select the Source and Target proxy servers (recommended for offsite replication) or leave Automatic selection (default).
    • If you want to use WAN Acceleration, click in Through built-in WAN accelerators and select a Source and a Target WAN Accelerator.
    • Otherwise, leave Direct option selected and click Next.
  8. At the Guest Processing step, check Enable application-aware processing option:
    • If it’s required, choose a specific Guest Interaction Proxy, otherwise leave the default option.
    • From the Guest OS credentials list, select a user account that has enough permissions. If you have not set up credentials beforehand, click the Manage accounts link or click the Add button to add credentials.
    • Click in Applications, then select a workload from the list and click in Edit.
    • Click the Scripts tab and select Require successful script execution.
    • In the Linux scripts section, specify paths to scripts for Linux VMs (Pre-freeze and Post-thaw scripts).
    • If you want to configure transaction log processing for Oracle or PostgreSQL, in the Processing Settings window select the Oracle or PostgreSQL tab and configure the parameters according to your requirements.
    • To check whether Veeam can connect to VMs using the specified guest OS credentials and can deploy the non-persistent runtime components on the guest OSes, click Test Now. Click Next.
  9. At the Schedule step, select to run the replication job manually or schedule the job to run on a regular basis.
  10. At the Summary step, review details of the replication job. If you want to start the job right after you close the wizard, select the Run the job when I click Finish check box, otherwise leave the check box unselected. Then click Finish to close the wizard

Links to Resources:


Back to top

Copyright © 2023 Solutions Architects, Veeam Software.