Help Center
Choose product document...
Veeam Backup & Replication 9.0
Evaluator's Guide for Microsoft Hyper-V

Performing Backup

Designed specifically for virtual environments, Veeam Backup & Replication performs image-level backup of VMs.

Veeam Backup & Replication backs up a VM image as a whole: it copies VM data at a block level unlike traditional backup tools that process guest OS files separately. You can use the image-level backup for all types of data restore scenarios: perform Instant VM Recovery*, restore a full VM, separate guest OS files, VM files from the same backup file.

To perform backup of Hyper-V VMs,  Veeam Backup & Replication leverages the VSS capabilities and Hyper-V VSS components. Veeam Backup & Replication acts as a VSS requestor: it communicates with the VSS framework and triggers a volume snapshot on which VM files are located. After the snapshot is created, Veeam Backup & Replication accesses the snapshot to retrieve VM data. Veeam Backup & Replication then compresses and deduplicates VM data and writes it to the backup repository in Veeam’s proprietary format.

To prepare a VM for backup, Veeam Backup & Replication uses one of three mechanisms:

  • Online backup is the native Hyper-V mechanism that allows you to create an application-consistent image of a running VM without any downtime. Online backup can be performed for VMs that run a VSS-aware guest OS and meet the conditions found here: http://technet.microsoft.com/en-us/library/dd252619(WS.10).aspx.
  • Offline backup is another native Hyper-V mechanism that requires some VM downtime. To quiesce guest OS operations for such VMs, Hyper-V brings the VM to the safe state (hibernates it). When a volume snapshot is created, Hyper-V returns the VM into its original state. This type of backup can be performed for VMs running non VSS-aware guest OS or for VMs that do not meet the conditions for online backup.  
  • Crash-consistent backup is Veeam’s proprietary mechanism. It allows you to create a crash-consistent backup of a VM. This type of backup does not preserve integrity of application data and may result in data loss. However, during crash-consistent backup the VM is not brought offline.

In Veeam Backup & Replication, backup is job-driven: to perform backup, you need to configure a backup job. A backup job defines when, what, how and where to back up. One backup job can be used to process one or several VMs.

Veeam Backup & Replication conducts both full and incremental backup. During the first run of a backup job, Veeam Backup & Replication creates a full VM backup (VBK). All subsequent job cycles produce incremental backups:

  • VIB if forward incremental or forever forward incremental backup is used.
  • VRB if reversed incremental backup is used.

The number of increments kept on disk depends on retention policy settings.

To increase the speed of incremental backup, Veeam Backup & Replication uses its proprietary changed block tracking technology. Veeam Backup & Replication maintains a list of data blocks that have changed in virtual disks. When backup is performed, Veeam Backup & Replication does not need to scan the VM image. Instead, it checks the list and copies changed blocks to the backup target. As a result, you can back up much faster, more often and with very little disruption to the actual VHD.

The backup technology is a great choice for VMs with lower RTOs: typically, these are VMs running tier 2 applications. When the primary VM fails, you need some time to restore VM data from a compressed and deduplicated backup file. With Veeam’s Instant VM Recovery*, however, this time is reduced to the minimum. At the same time, due to compression and deduplication, backup files require less disk space and can be saved to inexpensive storage.

* To learn about the Instant VM Recovery scenario, see Veeam Backup & Replication User Guide.

Performing Backup In this section

Step 1. Create a backup job

Step 2. Add VMs to the backup job

Step 3. Exclude VMs and VM disks

Step 4. Define the VM backup order

Step 5. Select a backup proxy and backup repository

Step 6. Specify advanced backup settings

Step 7. Specify additional guest OS processing options

Step 8. Specify job scheduling settings

Step 9. Review job settings and start the job

Step 10. Monitor job performance in real time

Step 11. Perform incremental backup

Evaluation Case

In this exercise, you will create backup of VM(s). You will configure a backup job and run it twice to create full and incremental backups.

It is recommended that you create a backup job for at least two VMs: one Microsoft Windows-based VM and one running OS other than Microsoft Windows, for example, Linux, Unix, BSD or MacOS. This will let you follow the two guest OS recovery scenarios afterwards: restoring guest OS files from a Windows-based VM and restoring guest OS files with multi-OS restore wizard.

Prerequisites

Procedure

To perform backup of VMs, follow the next steps.

Step 1. Create a backup job

  1. On the Home tab, click the Backup Job button.

Configuring a backup job

  1. Specify a name for the created backup job.

Performing Backup 

Step 2. Add VMs to the backup job

You can back up individual VMs or VM containers: Hyper-V hosts, clusters, SCVMM and so on. Jobs with VM containers are dynamic in nature: if a new VM is added to the container after the backup job is created, the job is automatically updated to include the new VM.

  1. At the Virtual Machines step of the wizard, click Add.
  2. To quickly find a VM or VM container, enter the name of the object that you want to find in the search field and click the Start search button on the right. Select a VM or VM container in the displayed list and click OK.

Performing Backup 

Step 3. Exclude VMs and VM disks

If you create a backup job for a VM container, you can exclude specific VMs or VM containers from the backup job. You can also select which VM disks to back up.

  1. At the Virtual Machines step of the wizard, click Exclusions.
  2. Use the VMs tab to exclude VMs or VM container from a backup job. Click Add and select VMs and VM containers that must be excluded. To quickly find a VM or container, enter the name of the object you want to find in the search field and click the Start search button on the right.
  3. Click the Disks tab. Select a VM and click Edit to select disks that must be backed up. This functionality is useful, for example, if you want to back up only VM system drives.
  4. To exclude disks of a VM added as part of a container, click Add on the right to include the VM in the list as a standalone instance.

 

Performing Backup 

  1. Click OK.
  2. Click Recalculate to see the total size of selected objects.

Step 4. Define the VM backup order

If you have included a number of VMs or VM containers to the backup job, you can specify the order in which VMs should be processed. This will help you make sure that the most important VMs in the job are processed first – for example, if you must fit into the backup window and you are unsure how much time VM processing will take.

  1. At the Virtual Machines step of the wizard, select the added VM in the list.
  2. Use the Up and Down buttons on the right to move the VM higher or lower in the list. The higher is VM in the list, the higher its priority. If you added a VM container as a single instance, VMs inside the container will be processed at random.

Performing Backup 

Step 5. Select a backup proxy and backup repository

If you use a distributed deployment scenario, you must point the created job to the backup proxy that will process VM data and to the backup repository to which VM backups must be stored.

  1. At the Storage step of the wizard, click the Choose button next to the Backup proxy field. Make sure that the Offhost backup option is selected in the Backup Proxy window. Veeam Backup & Replication will offload the backup processing from the source Hyper-V host to the backup proxy and thus reduce the load on the production host.
  2. Make sure that the Failover to on-host backup mode if no suitable backup proxies are available check box is selected. If the offhost backup proxy is not available or is not properly configured, Veeam Backup & Replication will use the on-host backup method to process VMs.
  3. From the Backup repository list, select the backup repository that you have configured. Backup files created by the job will be written to this backup repository.
  4. Define the number of restore points that should be kept. By default, Veeam Backup & Replication keeps 14 restore points.

Performing Backup 

Step 6. Specify advanced backup settings

At the Storage step of the wizard, click Advanced to specify additional backup settings.

  1. On the Backup tab, you can select the mode in which you want to perform backup: forever forward incremental, forward incremental or reverse incremental.
  1. If you have selected to use forward incremental backup, select Enable synthetic fulls and specify a day on which a new full backup file should be created. This option is very useful if your corporate policies require you to periodically create full backups. To create a synthetic full backup, Veeam Backup & Replication uses full and incremental backup files that already reside on the backup repository (instead of retrieving VM data from the production storage). Synthetic full backups do not impact your virtual infrastructure or primary storage.
  2. With synthetic backup scheduled, you will have a number of full backups on disk — a full backup created at the first run of the backup job and those create according to the synthetic backup schedule. To save the disk space, you can select the Transform previous full backup chains into rollbacks check box. In this case, Veeam Backup & Replication will transform all previous full backup chains to a reversed incremental backup sequence. This option allows you to keep only one full backup image on disk and so reduce the amount of space required to store backups.

Performing Backup 

  1. Click the Storage tab. Leave the Enable inline data deduplication check box selected. Veeam Backup & Replication deduplicates identical blocks of data when backing up multiple VMs in one job and eliminates empty space on logical disks of VMs. Use of deduplication dramatically reduces storage costs: you can reduce the backup size up to 90% when backing up VMs created from the same template.
  2. Make sure the Exclude swap file blocks from processing check box is selected. Swap files are dynamic and change intensively between runs of a backup job. Veeam Backup & Replication will identify data blocks of the Microsoft Windows pagefile in the VM guest OS and exclude them from processing, which will result in increased performance and smaller increments.
  3. To reduce the size of a backup file, Veeam Backup & Replication offers 5 compression levels: None, Dedupe-friendly, Optimal, High and Extreme, that provide different compression ratios to meet the needs of your environment. For this evaluation exercise, make sure that the Optimal compression level is selected.
  4. Veeam Backup & Replication lets you encrypt backup files and restore data from encrypted backups even if you have lost a password. To enable backup file encryption, select the Enable backup file encryption check box and click Add on the right to choose the necessary password.

Veeam Backup & Replication lets you decrypt backup files even if you have lost or forgotten the password. To learn more, see the Restoring Data from Encrypted Backup File Without Password scenario.

Performing Backup 

  1. Click the Notifications tab. Select the Send email notifications to the following recipients check box. When the job completes, you will receive a notification with details on the job performance. You will be able to receive email notifications only if you specify global email settings. To specify email settings, select Options from the main menu.

Performing Backup 

Performing Backup 

NOTE:

Make sure that you specify your email address once: either in the To field in general notification settings or in job notification settings. If you specify both, you will receive two identical notifications when the job is completed.

  1. Click the Hyper-V tab.
  2. If you back up a non VSS-aware VM (for example, Linux-based VMs), select the Enable Hyper-V guest quiescence check box.
  3. Make sure that the Take crash consistent backup instead of suspending VM check box is selected. Veeam Backup & Replication will use the crash-consistent method instead of offline backup and will not bring the VM offline (to learn more, see the Insight into Veeam Backup section).
  4. Make sure that the Use changed block tracking data check box is selected. In this case, Veeam Backup & Replication employs its proprietary changed block tracking technology. Instead of scanning the VM image to know which data blocks have changed since the previous job run, Veeam Backup & Replication queries the CBT driver to get the list of changed blocks. Use of CBT increases the speed and efficiency of block-level incremental backups.  For example, if only 5% of a VM changed since the last backup, incremental backup will be performed 20 times faster.

Performing Backup 

Step 7. Specify additional guest OS processing options

At the Guest Processing step of the wizard, you can enable additional options for VM guest OS processing:

To enable application-aware image processing and indexing:

  1. At the Guest Processing step of the wizard, select the Enable application-aware image processing check box.
  2. Select the Enable guest file system indexing check box.
  3. Specify credentials for the user account with Local Administrator privileges on all VMs included into the job: click Add on the right of the Credentials field and specify the user name and password. If you have specified credentials before, you can simply select them from the Credentials list. OS credentials are required to install, start and remove Veeam's runtime process that coordinates indexing and VSS activities inside the VM.

Performing Backup

By default, the specified guest OS credentials are used for all VMs processed by the backup job. If you back up several VMs that use different guest OS credentials, click Credentials. Select a VM in the list and click Set User > Windows credentials/Linux credentials. Then enter guest OS credentials with Local Administrator privileges for this specific VM. Repeat the procedure for all VMs in the job.

Performing Backup 

  1. To specify advanced options for VSS processing, click Applications. Select a VM in the list and click Edit.
  2. On the General tab, select the Try application processing, but ignore failures option to continue the backup job even if VSS errors occur. If application-aware image processing fails during the job, Veeam Backup & Replication will create a crash-consistent backup.
  3. Make sure that the Process transaction logs with this job option is selected to correctly handle transaction logs after the backup job is completed. In this case, if the backup job finishes successfully, Veeam Backup & Replication will truncate transaction logs so that they do not overflow storage space. If together with Veeam Backup & Replication you use a third-party backup tool that maintains consistency of transaction logs, select the Perform copy only option to prevent possible conflicts.

Performing Backup 

Performing Backup 

NOTE:

If you add a virtualized Microsoft SQL Server to the backup job, you can configure the job to copy transaction logs. To learn more, see Backing up and Restoring Microsoft SQL Server Databases.

  1. Click Indexing, select the necessary VM in the list and click Edit > Windows indexing or Linux indexing. Select Index everything to perform indexing of the entire guest file system.

Performing Backup 

Step 8. Specify job scheduling settings

A backup job can be scheduled or run manually. To schedule a backup job:

  1. At the Schedule step of the wizard, select the Run the job automatically check box. If you do not select this check box, the job will be saved and you will have to run it manually.
  2. Select the schedule type: daily, monthly, periodically or continuously. You can also chain the jobs so that they run one after another.
  3. Make sure the Retry failed VM processing check box is selected. During the retry cycle, only VMs that failed during the main backup cycle will be processed.
  4. Select the Terminate job if it exceeds allowed backup window check box and click Window. Define the backup window for your environment. In case the created job overlaps the specified window, it will be automatically terminated not to produce additional overhead on your virtual environment.
  5. Click Create.

Performing Backup 

Step 9. Review job settings and start the job

  1. Review the summary of backup job settings.
  2. Select the Run the job when I click Finish check box and click Finish. The job will start.

Performing Backup 

Step 10. Monitor job performance in real time

When the job is running, you can view job statistics in the real-time mode. Job statistics provide detailed data on the job: job progress, duration, processing rate, performance bottlenecks, the amount of data processed, read and transferred and other details of the job performance. Beside general job statistics, you can view detailed data for each VM or VM container processed by the job.

  1. Open the Backup & Replication view.
  2. Select the Jobs node in the inventory pane.
  3. Click the job in the working area to open the lower pane with job statistics. Now you can track the job performance as the job runs.
  4. Select the name of a specific VM or a VM container to view detailed statistics for this specific object only. Note that Veeam Backup & Replication processes all VMs and VM containers in the job in parallel.Click to zoom in

    1. Wait for the job to complete. Note that the job must complete with the Success or at least the Warning status. If the job completes with the Failed status, the backup file will not be created and you will not be able to perform restore operations.

    Step 11. Perform incremental backup

    To perform incremental backup of a VM, do the following:

    1. Open the Backup & Replication view.
    2. Select the Jobs node in the inventory pane.
    3. Right-click the job in the working area and select Start. Wait for the job to complete. Note that the job must complete with the Success or at least the Warning status.

    Performing incremental backup

    Validation

    After a backup job completes, the resulting backup file is stored to the backup repository that you have selected as a backup target. Veeam Backup & Replication creates a full backup file, VBK, during the first run of a backup job. During every next job run, it copies changes that were made to the VM since the last backup, whether full or incremental.

    Depending on the backup mode you selected, Veeam Backup & Replication handles incremental changes differently:

    Additionally, next to backup files, Veeam Backup & Replication creates a backup metadata file, VBM, that contains information on the backup job, VMs in the backup, number and structure of backup files, restore points and so on. This metadata file facilitates import of backups and mapping of backup jobs to existing backups.

    To check backup results:

    1. Open the Files view.
    2. In the inventory pane, expand the backup repository file tree.
    3. Open the target folder on the backup repository. In this folder, find the subfolder with the backup job name and open it. Make sure that it contains a VBK, .VIB/VRB and VBM files.

    Click to zoom in

    1. Open the Backup & Replication view.
    2. Select the Jobs node in the inventory pane. Double-click the backup job in the working area. Check the job results.
    3. If you have selected to receive an email message once the job is completed, open your email client and check the Inbox folder. Make sure that you have two incoming emails with job results: one for the full backup and one for the incremental backup.
Veeam Large Logo

Evaluator's Guide for VMware vSphere

Evaluator's Guide for Microsoft Hyper-V