How to create a backup job in Backup & Replication version 6.x.
To perform backup of virtual machines, you should create a backup job by means of the New Backup Job wizard. This Knowledgebase will guide you through all steps of the wizard and provide explanation on available options.
Before You Begin
• Prior to creating a backup job, make sure you have set up all necessary backup infrastructure components for the job – the source hosts are available under the Servers node in the management tree, backup proxies and backup repositories are available under the Backup Infrastructure node and properly configured. You will not be able to add backup infrastructure components or change their configuration settings since the New Backup Job wizard is launched. For detailed information on adding backup infrastructure components see Setting Up Backup Infrastructure.
Step 1. Launch the New Backup Job Wizard
To run the New Backup Job wizard, do one of the following:
• Click Backup on the toolbar and select VMware from the menu.
• Select Backup > Backup > VMware from the main menu.
• Right-click Jobs under the Backup & Replication node in the management tree, and select Backup > VMware.
• Right-click the Backups node under Backup & Replication in the management tree and select Backup > VMware from the shortcut menu.
Step 2. Specify Job Name and Description
At the first step of the wizard, enter a name and description for the created job. By default, the following description is initially provided for the created job: time when the job was created and name of the user who created the job.
Step 3. Select Virtual Machines to Back Up
At this step, you should select an individual VM, multiple VMs or VM containers you want to back up. Jobs with VM containers are dynamic in their nature: if a new VM is added to the container after a backup job is created, the job will be automatically updated to include the added VM.
Click Add to browse to VMs and VM containers that should be backed up. In the displayed VI tree, select the necessary object and click Add.
To facilitate objects selection, you can:
• Switch between VI views: click the Hosts and Clusters, VMs and Templates or Datastores and VMs buttons at the top of the tree.
• Use a search field at the bottom of the window: click the button to the left of the field and select the necessary type of object to search for (Everything, Folder, Cluster, Host, Resource pool, VirtualApp or Virtual machine), enter an object’s name or a part of it and click the Start search button on the right.
To remove an object from the list, select it and click Remove on the right.
Step 4. Exclude Objects from Backup Job
After you have added VMs and VM containers to the list, you can specify which objects should be excluded from backup. Veeam Backup & Replication allows excluding the following types of objects: VMs and VM templates from VM containers, as well as specific VM disks.
To select which objects should be excluded, click Exclude.
• To exclude VMs from a VM container (for example, if you need to back up the whole ESX(i) server excluding several VMs running on this server), click the VMs tab. Click Add on the right and select VMs that should be excluded. To facilitate objects selection, you can switch between the Hosts and Clusters, VMs and Templates and Datastores and VMs views, and use the search field just as when you add VMs to be backed up.
• To select what VM disks you want to exclude from backup, click the Disks tab, select the necessary VM in the list and click Edit. If you want to exclude disks of a VM added as part of a container, use the Add button to include the VM in the list as a standalone instance.
You can choose to process all disks, 0:0 disks (typically, the system disks) or select custom disks. If you select the Remove excluded disks from VM configuration check box, Veeam Backup & Replication will modify the VMX file to remove excluded disks from the VM configuration. If this option is used, you will be able to restore, replicate or copy VM from a backup to a location where excluded disks are not accessible with the original paths. If you do not use this option, you will have to manually edit VM configuration file to be able to power on a VM.
• When processing VM containers, Veeam Backup & Replication includes in backup VM templates. To exclude VM templates from the backup, open Templates and clear the Backup VM templates check box. The Exclude templates from incremental backup option allows you to include VM templates into a full backup only.
Step 5. Define VM Backup Order
If you want to back up specific VMs first, you can define the order in which the backup job must process VMs. The VM backup order can be helpful if you want to ensure that backup of a VM does not overlap with other scheduled activities, or that backup is completed before a certain time.
To set the VM backup order, select the necessary VMs and move them up or down the list using the Up and Down buttons on the right. In the same manner, you can set the backup order for containers in the backup list. Note, however, that if you choose to back up a container, VMs inside the container will be processed at random. To ensure that VMs are processed in the defined order, you should add them as standalone VMs, not as part of a container.
Step 6. Specify Backup Storage Settings
At this step of the wizard, you should select backup infrastructure components (backup proxyies and backup repository) and define backup storage settings.
Click Choose next to the Backup proxy field to select a backup proxy for the job.
• If you choose Automatic selection, Veeam Backup & Replication will detect backup proxies that are connected to the source datastore and will automatically assign optimal proxy resources for processing VM data.
VMs included in the backup job are processed one by one. Before processing a new VM in the VM list, Veeam Backup & Replication checks available backup proxies. If more than one proxy is available, Veeam Backup & Replication analyzes transport modes that the backup proxies can use for data retrieval, the current workload on the backup proxies to select the most appropriate resource for VM processing.
• If you choose Use the backup proxy servers specified below, you can explicitly select backup proxies that the job can use. It is recommended that you select at least two backup proxies to ensure that the backup job will be performed should one of job backup proxies fail or lose its connectivity to the source datastore.
From the Backup repository list, select a repository where the created backup should be stored. Make sure you have enough free space on the storage device. When you select a repository, Veeam Backup & Replication checks how much free space is available on the backup repository.
You can map the job to a specific backup stored in a repository. Mapping can be used if you moved backup files to a new repository, and you want to point the job to an existing backup on a new repository. Note that before configuring mapping settings, you need to rescan the repository to which you moved backups. Otherwise, Veeam Backup & Replication will not be able to recognize the backups. For details on rescanning repositories, see the Managing Backup Repositories section.
Mapping can also be helpful if you need to reconfigure an existing backup job, or if the Veeam Backup & Replication configuration database is corrupted, so it is necessary to recreate the jobs. To set up job mapping, click the Map backup link and point to the necessary backup in the repository. Backups stored in a repository can be easily identified by job names. To facilitate search, you can also use the search field at the bottom of the window.
Note To point a job to an existing backup, make sure the corresponding backup folder includes a complete set of backup files (.vbm, .vbk and .vib/.vrb). Note that backups created with Veeam Backup & Replication v5 do not include .vbm files, and therefore, cannot be used for mapping “as is”. To generate a .vbm file for a v5 backup, you need to perform at least one job pass after upgrading to Veeam Backup & Replication v6.
In the Retention policy section, specify the number of restore points that should be kept on disk. If this number is exceeded, the earliest restore point will be deleted. The number of restore points is a relative value and doesn’t correspond to the number of days to store them. Please keep in mind that such retention policy mechanism works for reversed incremental backup; for incremental backup another mechanism is applied. To learn about the retention policy for incremental backup, see the Retention Policy section.
Step 7. Specify Advanced Backup Settings
Click Advanced to specify advanced options for the backup job.
Select the method you want to use to back up VMs – Reversed incremental or Incremental. To learn about these backup methods, see the Backup Methods section.
If you choose the Incremental method, you must select to periodically create a full synthetic backup or perform active full backups.
• To create a full synthetic backup, select the Enable synthetic fulls (forever-incremental) check box and click Days to select necessary days. You can additionally choose to transform all previous full backup chains to the reversed incremental backup sequence. To do so, select the Transform previous full backup chains into rollbacks check box. Veeam Backup & Replication will leave only one full backup on the disk, and all .vib files will be transformed to .vrb files. Keep in mind that .vbk files that were created manually via the shortcut menu or using the Perform active full backups periodically option will not be transformed or deleted.
The transformation option allows you to keep only one full backup on disk and so reduce the amount of space required to store backups. At the same time, it takes more time than simply creating a full synthetic backup.
• To perform full backups regularly, select the Perform active full backups periodically check box and define
scheduling settings. The created full backup will be used as an initial point for subsequent increments.
Note that if the active full backup and transformation to the reversed incremental backup are scheduled on the same day, only full backup will be performed – transformation will not be performed.
Step 8. Enable Application-Aware Image Processing and Indexing
At the Guest Processing step of the wizard, you can enable guest file indexing and select to create a transactionally consistent backup.
• If you want to create a transactionally consistent backup ensuring successful recovery of VM applications without any data loss, select the Enable application-aware image processing check box. To learn about application-aware image processing, see the Transaction Consistency section.
• If you want to index guest files in a VM you back up, select the Enable guest file system indexing check box. Veeam Backup & Replication will perform file indexing and enable you to perform fast and accurate search for VM guest OS files via the Veeam Backup Enterprise Manager web UI, and restore these files with 1 click. To learn more about indexing, refer to Veeam Backup Enterprise Manager Guide.
To coordinate proper indexing and VSS activities, Veeam Backup & Replication deploys a proprietary NFS client inside a VM. The agent is installed only during VSS quiescence and indexing procedure and removed immediately after the processing is finished (depending on the selected option, during the backup job or after it is finished), thus producing low impact on VM performance and stability. In the Guest OS credentials section, specify an account with local administrative privileges for deploying the agent. Please note that the user name must be supplied in the DOMAIN\USERNAME format. The guest OS credentials you provide will be used for all VMs included into the backup job.
Click Advanced to specify advanced options for Veeam VSS and indexing processing. The Advanced Options section contains a list of VMs that will be processed with Veeam VSS and indexing tools.
By default, for all VMs in the list Veeam Backup & Replication uses common credentials you provided in the Guest OS credentials section. If a different account should be used to deploy the agent inside a specific VM, select the VM in the list, click Set User and enter custom guest OS credentials. To discard custom credentials for a VM, select it in the list and click the Default button.
Step 9. Define Job Schedule
The Schedule step of the wizard allows you to specify scheduling settings for the job. You can select to manually run the backup job, schedule the job to start at a specific time – for example, the least busy hours to reduce impact on the VI environment, – or define a schedule for the job to run on a regular basis.
To specify the job schedule, select the Run the job automatically check box. If this check box is not selected, the job is supposed to be run manually.
You can choose to perform the job at a specific time on defined week days, monthly and with specific periodicity.
You can also select to back up a VM continuously. In this case, the next run of a backup job will be started once the previous one is complete, maintaining your backup always in the most recent state.
In the Automatic retry section, define whether Veeam Backup & Replication should attempt to run a backup job again in case it fails for some reason. A repeatedly run job will include failed VMs only. Enter the number of attempts to run the job and define time intervals between them. If you select continuous backup, Veeam Backup & Replication will retry the job for the defined number of times without any time intervals between the job runs.
In the Backup window section, determine a time interval within which the backup job must be completed. The backup window prevents the job from overlapping with production hours and ensures it does not provide unwanted overhead on your virtual environment. To set up a backup window for the job, select the Terminate job if it exceeds allowed backup window check box and click Window. In the Time Periods section, define the allowed window and prohibited hours for backup. If the job exceeds the allowed window, it will be terminated.
Step 10. Finish Working with Wizard
After you have specified scheduling settings, click Create. Select the Run the job when I click Finish check box if you want to start the created job right after you complete working with the wizard; then click Finish.
For more information about how to create a backup job in version 6, please see the user's guide for either VMware or Hyper-V.