veeam_backup_12_plug-ins_user_guide
veeam_backup_12_plug-ins_user_guide
Applications
Version 12
User Guide
December, 2024
© 2024 Veeam Software.
All rights reserved. All trademarks are the property of their respective owners.
No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or
translated into any language in any form by any means, without written permission from Veeam Software
(Veeam). The information contained in this document represents the current view of Veeam on the issue
discussed as of the date of publication and is subject to change without notice. Veeam shall not be liable for
technical or editorial errors or omissions contained herein. Veeam makes no warranties, express or implied, in
this document. Veeam may have patents, patent applications, trademark, copyright, or other intelle ctual
property rights covering the subject matter of this document. All other trademarks mentioned herein are the
property of their respective owners. Except as expressly provided in any written license agreement from Veeam,
the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other
intellectual property.
NOTE
Read the End User Software License Agreement before using the accompanying software programs. Using
any part of the software indicates that you accept the terms of the End User Software License Agreement.
Customer Support
Should you have a technical concern, suggestion or question, visit the Veeam Customer Support Portal to open a
case, search our knowledge base, reference documentation, manage your license or obtain the latest product
release.
Company Contacts
For the most up-to-date information about company contacts and office locations, visit the Veeam Contacts
Webpage.
Online Support
If you have any questions about Veeam products, you can use the following resources:
• MongoDB Backup
Intended Audience
This document is intended for database administrators, backup administrators, and other IT specialists who use
Veeam to back up and restore SAP HANA, Oracle, Microsoft SQL Server, IBM Db2 databases and MongoDB
replica sets.
• Veeam Plug-in for SAP HANA — an SAP-certified backup and recovery solution that allows you to back up
and restore SAP HANA databases.
• Veeam Plug-in for Oracle RMAN — an Oracle-certified backup and recovery solution that allows you to
back up and restore Oracle databases.
• Veeam Plug-in for SAP on Oracle — an SAP-certified backup and recovery solution that allows you to back
up and restore Oracle databases to which an SAP application is connected.
• Veeam Plug-in for Microsoft SQL Server — a backup and recovery solution that allows you to back up and
restore Microsoft SQL Server databases.
• Veeam Plug-in for IBM Db2 — a backup and recovery solution that allows you to back up and restore IBM
Db2 databases.
• Veeam Plug-in Management — Veeam Backup & Replication allows you to deploy Veeam Plug -ins on
database servers and launch backup policies directly from the Veeam backup console.
• MongoDB Backup — a backup and recovery solution that allows you to back up and restore MongoDB
replica sets.
IMP ORTANT
Veeam Plug-ins store database and log backups in repositories added to the Veeam Backup & Replication
infrastructure. Thus, to use Veeam Plug-ins, you must have a Veeam Backup & Replication server deployed
in your infrastructure. To learn how to deploy Veeam Backup & Replication, see the Deployment section in
the Veeam Backup & Replication User Guide.
Standalone Mode
In this mode, you must manually install Veeam Plug-in that supports standalone mode directly on the computer
whose databases you want to protect.
For Veeam Plug-ins operating in the standalone mode, data protection, disaster recovery and administration
tasks are performed by the user on the computer with Veeam Plug -in installed.
You can use Veeam Plug-in operating in the standalone mode with Veeam Backup & Replication. In this scenario,
you can use backup repositories managed by Veeam Backup & Replication as a target location for backups and
use the Veeam Backup & Replication console to perform a number of tasks with backup jobs and backups.
Managed Mode
In this mode, you can automate management of solutions for enterprise applications on multiple computers i n
your infrastructure in the Veeam Backup & Replication console. You can configure application backup policies
and jobs and perform other data protection and administration tasks on remote computers. To use solutions
operating in the managed mode, you must install Veeam Backup & Replication on the Veeam backup server and
deploy the Veeam components using the Veeam Backup & Replication console.
• For details about managed Veeam Plug-in deployment, see Computer Discovery and Veeam Plug-in
Deployment.
• For details about deployment of Veeam components for MongoDB Backup, see Computer Discovery and
Veeam Components Deployment.
For solutions managed by Veeam Backup & Replication, data protection, data r estore and administration tasks
are performed by a backup administrator in the Veeam Backup & Replication console.
• For details about managed Veeam Plug-ins, see Veeam Plug-in Management.
Op eration Veeam Plug- Veeam Plug- Veeam Plug- Veeam Plug- Veeam Plug- Mong oDB
Mod e in for SAP in for Oracle in for SAP on in for in for IBM Ba ckup
HANA RMAN Ora cle Microsoft Db 2
SQL Server
NOTE
If you want to protect the SAP HANA server itself, you can use the image-level and file-level backup
functionality of Veeam Backup & Replication or Veeam Agent for Linux. Note that image- and file-level
backups of SAP HANA servers do not guarantee transaction-consistency of database backups.
Veeam Plug-in for SAP HANA can operate in standalone or managed mode. Depending on the operation mode,
Veeam Plug-in has different functionality and limitations. In standalone mode, you can install Veeam Plug -in
manually on the computer whose databases you want to protect. Veeam Plug-in in standalone mode uses the
Veeam Backup & Replication console to perform backup operations. In managed mode, you can install Veeam
Plug-in using the Veeam Backup & Replication console. The Veeam Backup & Replication console automates the
operation of Veeam Plug-ins running on computers in your infrastructure. For details on Veeam Plug -in
operation modes, see Standalone and Managed Operations Modes.
Veeam Plug-in for SAP HANA transfers backup data to the Veeam backup repository and stores the data in the
Veeam proprietary format for backups. You can use SAP HANA tools or the Veeam Backup & Replication console
to initiate and manage backup operations. Backup processes are performed by the SAP HANA Backint tool. For
details on backup operations with Veeam Plug-in, see Data Backup.
In case of malware activity or unplanned actions, you can perform restore operations based on the backup data
transferred by Veeam Plug-in to the Veeam Backup & Replication backup repositories. You can use SAP HANA
tools or the Veeam Backup & Replication console and Veeam Explorer for SAP HANA to initiate and manage
restore operations. Restore processes managed with SAP HANA tools run on the SAP HANA side. Restore
processes managed in the Veeam Backup & Replication console or in Veeam Explorer for SAP HANA run on the
Veeam Backup & Replication side. For details on restore operations with Veeam Plug -in, see Data Restore.
Veeam Plug-in compresses database backups and transfers them to a backup repository connected to the
Veeam Backup & Replication infrastructure. After you install and configure Veeam Plug -in on the SAP HANA
server, you can perform all backup and restore operations with HDBSQL scripts, with native SAP HANA tools,
such as SAP HANA Studio and SAP HANA Cockpit, and with Veeam Explorer for SAP HANA.
When Veeam Plug-in is configured, SAP Backint performs a database backup in the following way:
1. When you start a database backup, the SAP HANA Backint starts Veeam Plug -in services on the SAP HANA
server.
2. Veeam Plug-in connects to the Veeam Backup & Replication server and creates a backup job (if it has not
been created before). In the Veeam Backup & Replication console, Veeam backup administrators can use
the backup job to monitor SAP HANA backups.
3. Veeam Plug-in starts Veeam Data Mover services on the SAP HANA server and on a backup repository.
According to a specified number of parallel Backint channels, Veeam Data Movers create channels to
transfer backup data.
You can use the SAP HANA tools or the Veeam Backup & Replication console to initiate and manage backup
operations. With the SAP HANA tools, you can schedule and delete backups, configure backup settings, and
back up SAP HANA databases. The SAP HANA Backint tool performs all initiated backup processes on the SAP
HANA side.
For each backup operation, Veeam Plug-in automatically creates and stores database backup files. For each of
the created backup files, Veeam Plug-in also creates separate metadata files. The backup and metadata files
help Veeam Plug-ins to store and manage backup data while ensuring that the data is protected, accessible, and
can be quickly restored when needed. All backup files created for backup jobs reside in a dedicated job folder in
the backup repository. For details on backup files, see Veeam Plug-in Backup Files.
To store backup files, you can add backup repositories to your Veeam Backup & Replication infrastructure. For
details on all supported backup repositories, see Veeam Backup Repositories.
For details on how to use the specific backup tools, see Database Protection.
All backup files created by the backup job reside in a dedicated job folder in the backup repository.
• A .VAB file stores a compressed copy of a SAP HANA database. Veeam Plug-in creates .VAB files for full,
incremental and log backups.
• A .VASM file stores metadata that contain information about the backup. A .VASM file is created for each
.VAB backup file with the same name as the backup file. The .VASM files are used b y Veeam Backup &
Replication to get data about Veeam Plug-in backups.
• A .VACM file stores metadata about the backup job. A .VACM file is created for each backup job. The
.VACM file is used by Veeam Backup & Replication to get data about Veeam Plug -in backup job.
In the initial backup session, Veeam Plug-in writes backup data about each backed-up database in a separate,
newly created backup file. During subsequent backup sessions, Veeam Plug -in can continue writing backup data
in the existing backup file or create a new file. Veeam Plug-in creates a new file only if the previous backup file
was created more than 24 hours ago.
NOTE
Keep in mind that if you use the scale-out backup repository as a backup target, Veeam Plug -in can create
a backup file for the backed-up database on each repository extent.
• Veeam Plug-in can write data to the created backup file for 24 hours.
After one of the limits is reached, Veeam Plug-in closes the backup file and cannot add new data to this
file. Keep in mind that Veeam Plug-in must close the backup file to allow Veeam Backup & Replication to
perform the following operations:
Before you start performing operations on backup repositories within the Veeam Backup & Replication
infrastructure, consider that you need to set the access permissions for each repository. For details, see Access
and Encryption Settings on Repositories.
• Windows Server
• Linux Server
• NFS Share
• Infinidat InfiniGuard
• HPE StoreOnce
If you plan to use HPE StoreOnce as a backup repository for Veeam Plug -in backups, the total number of
stored files (data and metadata) must not exceed 3,000,000 per Cataly st store. If necessary, multiple
Catalyst stores may be created on the same StoreOnce system.
• Quantum DXi
• ExaGrid
Make sure the repository is configured as described in the ExaGrid section in the Veeam Backup &
Replication User Guide.
Make sure that the performance extents of the scale-out backup repository contain repositories supported
by Veeam Plug-in for SAP HANA. For example, you cannot use object storage repositories as performance
extents to keep backups created with Veeam Plug-ins.
• For Veeam Plug-in backups, the warning which indicates that free space on a storage device has reached a
specified threshold is configured in the veeam_config.xml file of Veeam Plug-in. The warning settings
in the Veeam Backup & Replication console does not affect this setting.
Keep in mind that you must add the parameter to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in
the first detected line. Other parameters will be ignored.
• Due to specific design of SAP HANA backups, Veeam Plug -in does not use fast cloning. Backups
transferred to repositories that use ReFS or XFS as a file system are processed the same way as with NTFS
repositories.
• The Veeam Plug-in configuration wizard will not show repositories where the E ncrypt backups stored in
this repository option is enabled. To learn how to disable the encryption option, see Access and
Encryption Settings on Repositories.
• Make sure that Veeam backup repositories have enough free space to store database backups and redo log
backups. If required, you can use a scale-out backup repository.
• Veeam extract utility cannot extract backup files created by Veeam Plug -in.
• Veeam Plug-ins do not support backup operations targeted directly to object storage repositories.
To learn more about object storage repositories, see the Object Storage Repositories section in the Veeam
Backup & Replication User Guide.
• Veeam Plug-ins do not support backup operations to object storage added as a performance extent of a
scale-out backup repository.
• You cannot rename a scale-out backup repository with Veeam Plug-in backups stored on this repository.
a. Veeam Backup & Replication checks if there are extents without warning on free space insufficiency.
If there are no extents without the warning, Veeam Backup & Replication uses an extent with the
largest amount of free space that has a free task slot.
b. For the extents without the warning, Veeam Backup & Replication checks if there are incremental
extents with free task slots.
If there are no incremental extents with free task slots, Veeam Backup & Replication uses a full extent
with the least amount of used task slots.
c. For incremental extents with free task slots, Veeam Backup & Replication sends backup files to an
incremental extent with the least amount of used task slots.
If several extents have the same least amount of used tasks, Veeam Backup & Replication uses an
extent with the largest amount of free space.
To learn more about file placement policies of scale-out repositories, see Backup File Placement section in
the Veeam Backup & Replication User Guide.
• For a scale-out repository configured in the Data Locality policy, the repository extents are selected
according to the largest amount of free space for each SAP HANA Backint connection. If the selected
extent does not have free task slots, Veeam Backup & Replication uses the extent with the next largest
amount of free space.
If there are two extents with only one task slot on each extent, the backup is performed using two parallel
streams (one stream per extent).
• If you want to add a backup repository which contains Veeam Plug-in backups as an extent to a scale-out
backup repository, you must do the following:
a. Select Veeam Plug-in backup files that reside in this backup repository and remove them from
configuration.
To learn more, see the Removing Backups from Configuration section in the Veeam Backup &
Replication User Guide.
To learn more, see the Disabling and Deleting Jobs section in the Veeam Backup & Replication User
Guide.
To learn more, see the Extending Scale-Out Repositories section in the Veeam Backup & Replication
User Guide.
To learn more, see the Rescanning Scale-Out Repositories section in the Veeam Backup & Replication
User Guide.
[For imports to the scale-out backup repository] Before importing your backup, consider that
the names of all backup files (.VAB, .VASM, .VACM) and paths to these files contain only the
following allowed characters:
• a-zA-Z0-9
• _-.+=@^
If your backup was initially created on a standalone backup server, the default name of the
backup metadata file (.VACM) contains forbidden characters. Before importing, you must delete
forbidden characters from the file name or replace them with the allowed characters.
e. Set the scale-out repository as the target for backups using the following command:
SapBackintConfigTool --set-repository
SapBackintConfigTool --map-backup
Capacity Tier
You can configure Veeam Backup & Replication to transfer Veeam Plug -in backup files to a capacity tier. Both
policies (Move policy, Copy policy) are supported for Veeam Plug-in backups with the following limitations:
• For Veeam Plug-in backup files, capacity tier does not verify whether data that is being moved is unique
and has not been offloaded earlier. Thus, it is highly recommended to check the pricing plans of your
cloud storage provider to avoid additional costs for offloading and downloading backup data.
• To offload Veeam Plug-in backup files to the capacity tier, Veeam Backup & Replication splits data into 1
MB objects and compresses the resulting objects. The default object size will be a compressed 1 MB block,
resulting in objects of around 512 KB in size.
• Veeam Backup & Replication offloads Veeam Plug-in for SAP HANA backup files to the capacity tier with
the Copy and Move policies in different ways. With the Copy policy, Veeam Backup & Replication checks
backup files every 1 hour and runs an offload job only if new backup files exist. With the Move policy,
Veeam Backup & Replication checks backup files every 4 hours and runs an offload job, even if ther e are
no new files.
IMP ORTANT
With both the Copy and Move policies, Veeam Backup & Replication copies and moves to the
capacity tier only non-active backup files created more than 24 hours ago, which match the capacity
tier configuration parameters. To learn more about the capacity tier configuration, see Add Capacity
Tier in the Veeam Backup & Replication User Guide.
• Capacity tier does not track dependencies of full and incremental Veeam Plug-in backup files. Thus,
consider the following:
o [For the Move policy] When backup files are transferred to the capacity tier, Veeam Backup &
Replication takes into account only the creation time of backup files. Make sure that the operational
restore window is not longer than the whole backup chain cycle period. Otherwise, you may
encounter the scenario when full backup files are transferred to the capacity tier and their increment
backup files still remain in the performance tier.
o The capacity tier immutability expiration date does not have the additional block generation period.
The immutability expiration date is based only on the number of days specified in the settings of the
object storage backup repository.
• In case a disaster strikes the scale-out repository and you have a Veeam Plug-in backup file on the capacity
tier, you must re-create the scale-out repository before you restore from this backup file. You must
connect the capacity tier with the Veeam Plug-in backup file to another backup server with Veeam Backup
& Replication and a scale-out repository. After that, you can import the backup files to Veeam Backup &
Replication and then perform data recovery operations.
• If you use a capacity tier that has been created in Veeam Backup & Replication version 10, you cannot
transfer Veeam Plug-in backup files to a capacity tier. However, if you want to transfer them manually, do
the following:
a. If the backup files are created by Veeam Plug-in version 10, upgrade the metadata of backup files as
described in the Upgrading Backup Files section.
• [For SAP HANA 2.0 SPS 02, SPS 03, SPS 04, SPS 05] If you want to restore from backups stored on the
capacity extent, at least one performance extent must be available or you must switch the
catalog_backup_using_backint parameter to the False state in the global.ini file. Otherwise, at
the end of the restore process, SAP Backint will not be able to back up the catalog and restore will fail.
Hardened Repository
You can configure Veeam Backup & Replication to transfer Veeam Plug -in backup files to a hardened repository.
The hardened repository helps to protect Veeam Plug -in backup files from loss as a result of malware activity or
unplanned actions. Backup files in the hardened repository become immutable for the time period specified in
the backup repository settings. During this period, backup files stored in the repository cannot be modified or
deleted.
For Veeam Plug-in for SAP HANA backups, immutability works according to the following rules:
• Immutability is applied to backup files (.VAB) and backup metadata files (.VASM). Backup job metadata
files (.VACM) are not immutable.
• Backup files become immutable for the configured time period (minimum 7 days, maximum 9999 days).
• Backup files become immutable after 24 hours have passed since each file was created. The immutability
service runs in the background at every hour. This service detects and sets immutability flags for any
backup file that can no longer be reused.
Contact Veeam Customer Support to change the default 24 hour lifespan of a backup file. To do that,
you can submit a support case on the Veeam Customer Support Portal.
• The immutability period is not extended for the active backup chain.
You can use the tools SAP HANA Studio, SAP HANA Cockpit, SAP HANA HDBSQL commands, or the Veeam
Backup & Replication console to restore databases. Restore operations initiated with the SAP HANA tools are
performed on the SAP HANA side. You can also use Veeam Explorer for SAP HANA to restore SAP HANA
databases. Restore operations in Veeam Explorer for SAP HANA are performed on the Veeam Backup &
Replication side.
Depending on the available type of Veeam Plug -in backups that will be the source for the restored databases,
you can perform the following restore operations:
Restore SAP HANA databases from a Veeam Plug-in backup to the original server by using SAP HANA tools
or the Veeam Backup & Replication console. For details, see Database Recovery.
You can also restore SAP HANA databases from a Veeam Plug-in backup to another server by using SAP
HANA tools or the Veeam Backup & Replication console. For details, see Restoring to Another Server
(System Copy).
Restore SAP HANA databases from backup copies created for Veeam Plug-in for SAP HANA backups. For
details, see Restore from Backup Copy.
Depending on the location of Veeam Plug-in backups that will be the source for the restored databases, you can
also perform the following restore operations:
Restore SAP HANA databases from Veeam Plug-in backups stored on supported types of repositories by
using SAP HANA tools or Veeam Explorer for SAP HANA in the Veeam Backup & Re plication console. For
details, see Veeam Backup Repositories.
Restore SAP HANA databases from hardened repositories by creating new backup job metadata files
(.VACM) with data from available backup metadata files (.VASM). For details, see Restore from Hardened
Repository.
In This Section
• System Requirements
• Permissions
• Ports
• Licensing
NOTE
The following system requirements apply to Veeam Plug -in for SAP HANA operating in the standalone
mode.
For more information on system requirements for Veeam Plug -in managed by Veeam Backup & Replication,
see System Requirements for Managed Veeam Plug-ins.
Sp ecification Requirement
OS Veeam Plug-in for SAP HANA supports 64-bit versions of the following distributions:
SAP HANA Veeam Plug-in for SAP HANA supports the following versions of SAP HANA:
Da tabase
• SAP HANA 2.0: SPS 02, SPS 03, SPS 04, SPS 05, SPS 06, SPS 07, SPS 08 (only
with Backint version 1.0). Express Edition is not supported.
• SAP HANA 1.0: SPS 12 and later.
Note:
To check whether an OS version is compatible with the SAP HANA version you want to
use, see the SAP HANA Administration Guide (requires an SAP ID).
Veeam Backup & Veeam Backup & Replication supports two latest versions of Veeam Plug-ins. For
Rep lication example, Veeam Backup & Replication 12.3 supports Veeam Plug -in 12.3 and 12.2.
Keep in mind that if you use an earlier Veeam Plug-in build than the one that is
included in the installation ISO file of your Veeam Backup & Replication version, it may
not have all the features and bug fixes introduced in your Veeam Backup & Replication
version. To learn more about the Veeam Plug-in builds included in Veeam Backup &
Replication installation ISO files, see this Veeam KB article.
Network Veeam Plug-in should be able to establish a direct IP connection to the Veeam Backup
& Replication server. Thus, Veeam Plug-in cannot work with the Veeam Backup &
Replication server that is located behind the NAT gateway.
NOTE
The following system requirements apply to Veeam Plug -in for SAP HANA for Linux on Power operating in
the standalone mode. The managed operation mode is not supported. For details on operation modes, see
Standalone and Managed Operations Modes.
OS a nd IBM Power For IBM Power 9, Veeam Plug-in for SAP HANA for Linux on Power supports little
endian (LE) versions of the following distributions:
• SLES 15: GA, SP1, SP2, SP3, SP4, SP5, SP6
• SLES 12: SP3, SP4, SP5
• SLES for SAP Applications 15: GA, SP1, SP2, SP3, SP4, SP5, SP6
• SLES for SAP Applications 12: SP3, SP4, SP5
• RHEL 9 for SAP HANA: 9.0, 9.2, 9.4
• RHEL 8 for SAP HANA: 8.0, 8.1, 8.2, 8.4, 8.6, 8.8, 8.10
• RHEL 9 for SAP Solutions: 9.0, 9.2, 9.4
• RHEL 8 for SAP Solutions: 8.0, 8.1, 8.2, 8.4, 8.6, 8.8, 8.10
For IBM Power 10, Veeam Plug-in for SAP HANA for Linux on Power supports little
endian (LE) versions of the following distributions:
SAP HANA Veeam Plug-in for SAP HANA supports SAP HANA 2.0: SPS 02, SPS 03, SPS 04, SPS
Da tabase 05, SPS 06, SPS 07, SPS 08 (only with Backint version 1.0). Express Edition is not
supported.
Note:
To check whether an OS version is compatible with the SAP HANA version you want to
use, see the SAP HANA Administration Guide (requires an SAP ID).
Veeam Backup & Veeam Backup & Replication supports two latest versions of Veeam Plug -ins. For
Rep lication example, Veeam Backup & Replication 12.3 supports Veeam Plug -in 12.3 and 12.2.
Keep in mind that if you use an earlier Veeam Plug-in build than the one that is
included in the installation ISO file of your Veeam Backup & Replication version, it may
not have all the features and bug fixes introduced in your Veeam Backup & Replication
version. To learn more about the Veeam Plug-in builds included in Veeam Backup &
Replication installation ISO files, see this Veeam KB article.
Network Veeam Plug-in should be able to establish a direct IP connection to the Veeam Backup
& Replication server. Thus, Veeam Plug-in cannot work with the Veeam Backup &
Replication server that is located behind the NAT gateway.
NOTE
If you plan to restore SAP HANA databases using Veeam Explorer for SAP HANA, consider the required
permissions listed in the Permissions section of Veeam Explorers User Guide.
Installing and updating The account used for installing and updating Veeam Plug-in must have root
Veeam Plug-in privileges.
* For NFS share, SMB share repositories, and Dell Data Domain, HPE StoreOnce deduplication storage appliances, Veeam
Backup & Replication uses an auxiliary backup infrastructure component — gateway server. For details, see the Gateway
Server section in the Veeam Backup & Replication User Guide.
** This range of ports applies to newly added backup infrastructure components. If you upgrade to Veeam Backup &
Replication 10.0 from earlier versions of the product, the range of ports from 2500 to 5000 applies to the already added
components.
Backup
Veeam Default range of ports used as data
repository
Backup & 2500 to transmission channels. For every TCP
server or TCP
Replication 3300** connection that a backup process uses,
gateway
server one port from this range is assigned.
server*
Linux server
used as a
Port used as a control channel from the
backup
TCP 22 Veeam Plug-in server to the target Linux
repository or
host.
gateway
server
Veeam
Backup &
Replication Microsoft Ports used as a management channel from
TCP 135,
server Windows the Veeam Plug-in server to the
137 to 139,
server used UDP Repository/Gateway server. Also, the ports
445
as a backup are used to deploy Veeam components.
repository or
gateway 6160, Default ports used by the Veeam Installer
server TCP
6162 Service and Veeam Data Mover Service
(specified in
the SMB SMB server SMB/Netbios name resolution for the SMB
share TCP 135, protocol (needed in some cases). For
repository UDP 137 to 139 details, see the Used Ports section in the
settings) Veeam Backup & Replication User Guide.
Gateway
server
HP E StoreOnce
E x aGrid
Veeam
Backup & Default command port used for
ExaGrid TCP 22
Replication communication with ExaGrid.
server
Veeam
Backup & Default command port used for
Quantum DXi TCP 22
Replication communication with Quantum DXi.
server
Veeam
Fujitsu Default command port used for
Backup &
ETERNUS TCP 22 communication with Fujitsu ETERNUS
Replication
CS800 CS800.
server
Infinidat InfiniGuard
Veeam
Backup & Infinidat Default command port used for
TCP 22
Replication InfiniGuard communication with Infinidat InfiniGuard.
server
For detailed list of ports used by Veeam Backup & Replication server and backup repositories, see the Used Ports
section in the Veeam Backup & Replication User Guide.
This guide provides information only on specifics of Veeam licenses for Veeam Plug-ins. For terminology and
general information about Veeam Licensing, see Veeam Licensing Policy.
Licensed Objects
If you are using any instance-based (Veeam Universal Licensing) license on your Veeam Backup & Replication,
you don't need to install any additional license keys.
A machine where SAP HANA is deployed is assumed protected if it has been proce ssed by a Veeam Plug-in
backup job in the last 31 days. When you back up SAP HANA databases on one host, one License Unit is
consumed from the Veeam Backup & Replication license. A machine protected by both Veeam Plug -in and
Veeam Backup & Replication will consume a License Unit only once. For example, you have an SAP HANA server
that you back up using Veeam Plug-in. You can also back up this server using image-level backup functionality
of Veeam Backup & Replication. In this case, only one License Unit will be consumed.
NOTE
If you are using a legacy perpetual per-socket license, a license is required for each hypervisor CPU socket
occupied by protected SAP HANA servers.
A socket is consumed from the license only if the hypervisor where protected servers r eside is added to the
Veeam Backup & Replication infrastructure. If the hypervisor is not added to the Veeam Backup &
Replication infrastructure, an instance unit will be consumed from the license. To learn how to add a
hypervisor to the Veeam Backup & Replication infrastructure, see the Virtualization Servers and Hosts
section in the Veeam Backup & Replication User Guide.
IMP ORTANT
If you have an SAP HANA Scale-Out Cluster, each node will consume one License Unit. The License Units
are consumed for all cluster nodes, even if Veeam Plug -in is installed only on one of the nodes.
Functionality of Veeam Plug-ins is supported only for the Enterprise Plus edition of Veeam Backup &
Replication.
To assign a custom name, update the Veeam configuration XML file as follows:
2. Add the customServerName parameter entry to the <PluginParameters /> line in the Veeam
configuration XML file:
After adding this parameter, Veeam Plug-in will use the specified custom name of the server to name the
backup job and backup folder.
For example:
After adding this parameter, Veeam Plug-in will use the fully qualified domain name (FQDN) of the server to
name the backup job and backup folder.
Keep in mind that you must add the parameters to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in the
first detected line. Other parameters will be ignored.
IMP ORTANT
For security reasons, it is recommended to use separate repositories for different customers and limit the
Veeam Repository Authentication to the specific customer.
<IgnoreVBRNetworkRules=true />
To learn more about traffic encryption, see the Enabling Traffic Encryption section in the Veeam Backup &
Replication User Guide.
Keep in mind that the number of SAP HANA channels must be equal to the number of available task slots in the
repository. To learn more about task slot limitations, see the Limitation of Concurrent Tasks section in the
Veeam Backup & Replication user guide.
When using multiple channels in parallel, the data flow between SAP HANA and the source Veeam Data Mover is
faster. This also improves overall backup performance. However, consider that using multiple channels uses
more resources on the SAP HANA server, the network, the backup source, the target disk systems, and in the
Veeam backup repository. To learn more about backup repository resource usage and limitations, see Veeam
Backup Repositories.
To control the number of parallel channels used for each SAP HANA Backint instance, edit the
parallel_data_backup_backint_channels parameter in the SAP HANA global.ini file. For detailed
instructions on how to edit the number of channels used in parallel, see this SAP article.
NOTE
The application of multiple streaming channels applies to all data backup services larger than 128 GB. Data
backup services smaller than 128 GB use only one channel.
If you use a dedicated backup repository for Veeam Plug -in backups, the following hardware resources are
recommended and are based on tests on Skylake processors:
• SAP HANA server: 1 CPU core and 200 MB of RAM per currently used channel.
• Ba ckup repository server: 1 CPU core and 1 GB of RAM per 5 currently used channels.
To learn more about the requirements for backup repositories, see the System Requirements section of the
Veeam Backup & Replication User Guide.
• It is not recommended to use more than 64 channels in parallel as the overhead will reduce individual
channel performance. Set the max_recovery_backint_channels setting in global.ini to 64 or below
depending on available hardware resources.
• It is recommended to use a separate backup repository for Veeam Plug -in backups.
• If you want to improve backup performance, the SAP HANA buffer must be increased for additional used
channels. For details, consult with your SAP HANA database administrator.
• SAP HANA can back up individual databases and tenants in parallel. To optimize resources, you can back
up databases sequentially.
• If there are not enough available repository task slots, SAP HANA waits till repository task slots become
available.
• During restore, the order of repository task slots is ignored, and channels are used as requested by SAP
HANA.
• Veeam Backup & Replication server: during manual metadata operations such as import of backup files,
the Veeam Backup & Replication server needs additional 15 GB of RAM per 1 million files located in the
same backup job folder.
• Up to 4 channels are used by SYSTEMDB and its 4 services (all below 128 GB).
• Up to 6 channels are used for the index service of the tenant database 1 (the database is bigger than 128
GB).
• Up to 3 channels are used for the rest of the 3 remaining services of the tenant database 1 (all below 128
GB).
• Up to 6 channels are used for the index service of the tenant database 2 (the database is bigger than 128
GB).
• Up to 3 channels are used for the rest of the 3 remaining services of the tenant database 2 (all below 128
GB).
• If the log backups are below 128 GB, you must reserve at least 3 channels for the log backup of
SYSTEMDB, tenant database 1, and tenant database 2. These log backups are started automatically on
their own schedule or when the maximum file size of the log file is reached.
In total, 27 channels were used. For backup processes of all databases started in parallel, up to 27 task slots
must be available.
• Up to 6 channels are used for the index service of a tenant database (the database is bigger than 128 GB).
• Up to 3 channels are used for the rest of the 3 remaining services of the same tenant database (all below
128 GB).
• If the log backups are below 128 GB, you must reserve at least 3 channels for the log backup of
SYSTEMDB, tenant database 1, and tenant database 2. These log backups are started automatically on
their own schedule or when the maximum file size of the log file is reached. Assuming that the log file
backups are below 128 GB and do not use additional channels.
In total, 12 channels were used. For backup processes of sequential started database backups, up to 12 task slots
must be available.
o /usr/sap/<SID>/SYS/global/hdb/custom/config
o /usr/sap/<SID>/<INSTANCE>/<FQDN>
o /usr/sap/<SID>/SYS/global/hdb/custom/config
To learn more about SAP HANA configuration files, see this SAP article.
Scheduling
You can schedule backup operations with all SAP HANA relevant scheduling options like SAP HANA Cockpit
(HANA Cockpit 2.0 SPS 06 or later version), SAP DB13 (NW 7.02 SP17 or later version) or external schedulers
like cron, UC4, TWS and others. Veeam Plug-in forwards the backups created by SAP HANA integrated backup
application to a Veeam backup repository.
To learn how to configure external schedulers, see the Veeam Plug-in for SAP HANA Best Practices.
Plan the protection of the encryption environment. In case you loose the encryption keys, Veeam Plug -in can
only provide an access to the encrypted backup file. To regain full access to the backup files, you will have to
decrypt data in your SAP HANA environment. For more information on SAP HANA data encryption, see this SAP
article.
• All backup tasks across the SAP HANA scale-out cluster are performed in parallel.
• On all cluster nodes, Veeam Plug-in must be configured to transfer backups to the same repository.
• Due to the design of SAP HANA databases, the same Veeam Plug -in configuration must be set on all scale-
out cluster members, including stand-by nodes.
• Each cluster node must use the same credentials to connect to Veeam servers.
You must perform full database backup at least once after each failover or failback, so that SAP HANA
starts to create automatic log backups.
After the failover, if you want to restore backups created before the failover, you must configure the plug-in to
be able to access the backup files from the original source system:
1. Go to /opt/veeam/VeeamPluginforSAPHANA and run the Veeam Plug-in configuration tool with the
following parameter.
2. Perform restore.
3. Optional: If you want to restore from the new backup chain created from the system replication server,
you must run the command again and select the system replication server as a source for restore.
In This Section
• Installing Plug-in for SAP HANA
This guide gives instructions on how to deploy Veeam Plug -in assuming that you have already deployed a
Veeam Backup & Replication server and configured a backup repository. If you need instructions on how to
deploy Veeam Backup & Replication, see the Veeam Backup & Replication User Guide for your platform.
You can also manage deployment, configuration and backup policies of Veeam Plug -ins using the Veeam Backup
& Replication console. For details, see Veeam Plug-in Management.
You can install the plug-in using the .RPM package or extract the plug-in files from the .TAR.GZ archive.
Depending on the type of package suitable for your OS, perform steps in one of the following subsections:
IMP ORTANT
• Veeam Plug-in for SAP HANA must be installed on the SAP HANA server.
• The /opt/veeam directory must be writable.
• The NOEXEC mount option must be disabled for the /var and /tmp directories.
• To install the plug-in, use the sudo command or a user with root privileges.
• If you want to install Veeam Plug-in for SAP HANA scale-out cluster, repeat the described
installation process on all cluster nodes.
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image from the Veeam Backup & Replication: Download page.
2. Open the mounted disk image and go to the /Plugins/SAP HANA/x64 directory.
rpm -i VeeamPluginforSAPHANA-12.3.0.310-1.x86_64.rpm
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image from the Veeam Backup & Replication: Download page.
2. Open the mounted disk image and go to the /Plugins/SAP HANA/x64 directory.
mkdir /opt/veeam
5. In the terminal, open the folder that contains the VeeamPluginforSAPHANA.TAR.GZ archive.
6. Unpack the plug-in files from the archive to the /opt/veeam directory.
You can install the plug-in using the .RPM package or extract the plug-in files from the .TAR.GZ archive.
Depending on the type of package suitable for your OS, perform steps in one of the following subsections:
IMP ORTANT
• Veeam Plug-in for SAP HANA for Linux on Power must be installed on the SAP HANA server.
• The /opt/veeam directory must be writable.
• The NOEXEC mount option must be disabled for the /var and /tmp directories.
• To install the plug-in, use the sudo command or a user with root privileges.
• If you want to install Veeam Plug-in for SAP HANA scale-out cluster, repeat the described
installation process on all cluster nodes.
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image from the Veeam Backup & Replication: Download page.
2. Open the mounted disk image and go to the /Plugins/SAP HANA/ppc64le directory.
rpm -i VeeamPluginforSAPHANA-12.3.0.310-1.ppc64le.rpm
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image from the Veeam Backup & Replication: Download page.
2. Open the mounted disk image and go to the /Plugins/SAP HANA/ppc64le directory.
mkdir /opt/veeam
5. In the terminal, open the folder that contains the VeeamPluginforSAPHANA.TAR.GZ archive.
6. Unpack the plug-in files from the archive to the /opt/veeam directory.
• Consider supported types of backup repositories and limitations for Veeam Plug-in backups in Veeam
Backup Repositories.
• To store backups in a backup repository, the specified account must have access permissions on the target
backup repository.
2. In the inventory pane, click the Ba ckup Repositories node or the Sca le-out Repositories node.
3. In the working area, select the necessary backup repository and click Set Access Permissions on the ribbon
or right-click the backup repository and select Access permissions.
4. In the Access Permissions window, on the Sta ndalone applications tab specify to whom you want to grant
access permissions on this backup repository:
o Allow to everyone — select this option if you want to grant repository access to any user. This option
is equal to granting access rights to the Everyone group in Microsoft Windows (anonymous users are
excluded). For security reasons, the option is not recommended for production environments.
o Allow to the following accounts or groups only — select this option if you want only specific users to
be able to store backups in this repository. Click Ad d to add the necessary users and groups to the list.
5. Veeam Plug-ins cannot send backups or backup copies to a backup repository where encryption is
enabled. Thus, make sure that the E ncrypt standalone application backups stored in this repository check
box is not selected.
• To perform this procedure, your OS user account must have root privileges.
• After a user is added to the group, the user must log out, then log in to the Linux OS again to activate the
group permissions.
IMP ORTANT
The OS user that has access to all local SAP resources (typically, <sid>adm) must be added to the
group.
where:
o <userName> — the name of the account that will be granted access to the configuration file.
3. Change the ownership of the configuration file to enable users from the dedicated group to access the
configuration file. To do this, run the following command:
NOTE
• The configuration of Veeam Plug-in must be performed by a user with database administrator rights
on all SAP HANA instances of the server.
1. Log in with operating system user ( <sid>adm or a user with similar rights) and run the following command
to launch the Veeam Plug-in configuration tool. You do not need root privileges if you have configured
group access as described in the Permissions section.
SapBackintConfigTool --wizard
If you have extracted files form the .TAR.GZ archive, go to the /opt/veeam/VeeamPluginforSAPHANA
folder and run the following command:
./SapBackintConfigTool --wizard
2. Specify the DNS name or IP address of your Veeam Backup & Replication server.
3. Specify the port which will be used to communicate with the backup server. Default port: 10006.
IMP ORTANT
• You can work with backups created by Veeam Plug-in only with the account used for creating
the backups. If you want to use another account, assign the Veeam Backup Administrator role
or Veeam Backup Operator and Veeam Restore Operator roles to the account.
To learn how to assign Veeam Backup & Replication roles, see the Users and Roles section in
the Veeam Backup & Replication User Guide.
• The account must have access permissions on the required backup repository. To learn how to
configure access permissions and encryption settings on repositories, see Access and
Encryption Settings on Repositories.
5. Select the backup repository where you want to store backups. In the terminal dialog, enter the number of
the repository from the list of available repositories.
IMP ORTANT
• The used account must have access to Veeam backup repositories that you plan to use.
• Encryption must be disabled on the repository.
Otherwise, the repositories will not be listed as available. To learn how to configure access and
encryption settings on repositories, see Access and Encryption Settings on Repositories.
If you start the wizard for the first time on an SAP HANA scale-out cluster, the wizard asks you for a
cluster name. The cluster name will be used by Veeam Backup & Replication to identify the backup job for
the cluster. Further runs of the wizard within the SAP HANA scale-out cluster will not ask for this entry
again.
NOTE
[For SAP HANA 1.0] If the wizard finishes with an error that required hdbbackint symlink cannotbe
created, see this Veeam KB.
Alternatively, you can configure a Linux security group. To do that, you must add all Veeam Plug -in admins to
this security group and set the following rights:
To learn about required permissions for backup and restore operations within SAP HANA, see this SAP article.
2. Go to Backup/Configuration.
3. In the Ba ckint Agent field, make sure that the specified path leads to
/opt/veeam/VeeamPluginforSAPHANA/hdbbackint.
IMP ORTANT
When you work with the command-line tool, use one configuration parameter per command. The tool does
not support commands with multiple parameters.
P a rameter Description
[For System Copy] Specifies the backup that will be used for
restore operations. You can use this parameter if you want to
restore a database to another server or to restore a database
from a backup copy.
Sets the custom name for the cluster. During the Veeam Plug -in
--set-scale-out-cluster-name deployment on the scale-out system nodes, Veeam Backup &
Replication sets the scale-out system name using domain name
and SAP system name. If you want to set a custom name, use
the --set-scale-out-cluster-name command on the
computer side. This custom name will be saved in the
veeam_config.xml file.
Shows the list of preferred networks set for Veeam Plug -in data
traffic to the remote backup repository.
Example
To specify credentials that will be used to log in to the Veeam Backup & Replication server, use the plug -in
configuration tool with the following command:
NOTE
• By default, if there are no specified preferred networks for Veeam Plug -in data traffic, Veeam Plug-
in will connect to preferred networks specified in Veeam Backup & Replication. To learn more about
setting preferred networks in Veeam Backup & Replication, see the Specifying Preferred Networks
section in the Veeam Backup & Replication User Guide.
• Veeam Plug-in does not save information about failed network connections. If backup or restore
operations fail, Veeam Plug-in tries to connect to the following network from the preferred
networks list to finish the started operations. Regardless of the first unsuccessful connection,
Veeam Plug-in will try to perform the next backup operations first on the failed network.
• Veeam Plug-in network preferences take priority over Veeam Backup & Replication network
preferences. Only if the preferred networks for Veeam Plug -in data traffic are not available for any
reason, Veeam Plug-in will try to connect to the Veeam Backup & Replication preferred networks.
To specify networks for data transfer, you must create a list of preferred networks. When Veeam Plug -in needs
to transfer data, it uses networks from this list. If a connection over any of the preferred networks cannot be
established for any reason, Veeam Plug-in will automatically fail over to the following network from the
preferred networks list.
To create and manage the list of preferred networks that Veeam Plug -in will use, you can perform the following
operations:
where:
o <network_IP_address> can be either the IP address of a single network or a network mask that
contains a range of network IP addresses. Specify one of the available options to add as preferr ed
networks for Veeam Plug-in data traffic.
For example:
SapBackintConfigTool --show-preferred-networks
The following example shows what the output of the Sa pBackintConfigTool command with the --show-
preferred-networks parameter can look like:
SapBackintConfigTool --show-preferred-networks
Preferred networks:
1. 172.24.29.156
2. 172.24.26.189
where <network_IP_address> can be either the IP address of a single network or a network mask that
contains a range of network addresses. Specify one of the available options that you want to remove from
the preferred networks list.
For example:
If you throttle performance, Veeam Backup & Replication starts Veeam Plug -in backup operation processes with
low priority and nice value of 19. The nice values are in ascending order of priority ranging from -20 (the highest
priority) to 19 (the lowest priority). Keep in mind that Veeam Plug -ins manage the priority of backup operation
processes only if the system running on the target computer is busy with other tasks.
NOTE
• By default, Veeam Plug-in does not throttle performance.
• Performance throttling does not apply to restore operations.
1. Log into the machine with a user with root or instance owner privileges.
2. Start the Veeam Plug-in configuration wizard with the following parameter:
SapBackintConfigTool --set-throttling
All backup activities will be throttled if the system is busy. Backup perf
ormance may be affected. Proceed? (y/N): y
2. The password stored in the configuration file is encrypted with a machine key. Thus, on each machine,
after the veeam_config.xml file was copied, you must reset the password of the account used to log in
to the Veeam Backup & Replication server. To reset the password, use the following command. Note that
the operation requires root privileges.
If you want to upgrade Veeam Plug-in, note that Veeam Backup & Replication must be the same or later than
the version of Veeam Plug-in. If you want to use the latest functionality, you must upgrade both Veeam Backup
& Replication and Veeam Plug-in to the latest version. After the upgrade, you don't need to re-run the Veeam
Plug-in configuration wizard, the plug-in configuration files will be preserved.
IMP ORTANT
• You must upgrade Veeam Backup & Replication before you upgrade Veeam Plug -ins. To learn how to
upgrade Veeam Backup & Replication, see the Upgrading to Veeam Backup & Replication 12.3 section
the Veeam Backup & Replication User Guide.
• Veeam Backup & Replication supports two latest versions of Veeam Plug -ins. For example, Veeam
Backup & Replication 12.3 supports Veeam Plug-in 12.3 and 12.2.
Keep in mind that if you use an earlier Veeam Plug-in build than the one that is included in the
installation ISO file of your Veeam Backup & Replication version, it may not have all the features and
bug fixes introduced in your Veeam Backup & Replication version. To learn more about the Veeam
Plug-in builds included in Veeam Backup & Replication installation ISO files, see this Veeam KB
article.
• If you want to upgrade Veeam Plug-in for SAP HANA scale-out cluster, repeat the described upgrade
process on all cluster nodes.
2. Open the mounted disk image and go to the Plugins\SAP HANA\x64 directory.
3. Select the Veeam Plug-in installation file and upload it to the SAP HANA server.
The upgrade procedure depends on the type of package that you use:
rpm -U VeeamPluginforSAPHANA-12.3.0.310-1.x86_64.rpm
TIP
To find out which version of Veeam Plug-in is installed on your server, you can use the following
command: rpm -qa | grep VeeamPlugin
2. In the terminal, open the folder that contains the VeeamPluginforSAPHANA.TAR.GZ archive.
3. Unpack the plug-in files from the archive to the /opt/veeam directory. Old Veeam Plug-in files will be
replaced by new files.
• The repository from which you plan to import backups must be added to the Veeam Backup & Replication
infrastructure. Otherwise you will not be able to access backup files.
• [For imports to the scale-out backup repository] Before importing your backup, consider that the names
of all backup files (.VAB, .VASM, .VACM) and paths to these files contain only the following allow ed
characters:
o a-zA-Z0-9
o _-.+=@^
If your backup was initially created on a standalone backup server, the default name of the backup
metadata file (.VACM) contains forbidden characters. Before importing, you must delete forbidden
characters from the file name or replace them with the allowed characters.
• [For backups of scale-out clusters and servers with the customServerName option] To avoid mapping
failure, the cluster name must be the same as the name used before importing backups.
1. Copy the backup file folder to a backup repository or add a new backup repository with this folder as a
subfolder.
TIP
Each Veeam Plug-in backup .VAB file has its own metadata .VASM file. Make sure that you import
backup files and all related metadata files. Also, you must import the backup job metadata .VACM
file which is stored in the same folder.
4. In the inventory pane of the Ba ckup Infrastructure view, select the Ba ckup Repositories node.
During the rescan operation, Veeam Backup & Replication gathers information about backups that are
currently available in the backup repository and updates the list of backups in the configuration database.
After the rescan operation, backups that were not in this configuration database will be shown on the
Home view in the Ba ckups > Disk (Imported) node.
6. On the SAP HANA server, set the new repository as a target in the Veeam Plug-in settings:
7. Start the Veeam Plug-in configuration wizard with the following parameter:
NOTE
Before you re-map your backup to the repository, make sure that there is not an existing backup job
on your machine with Veeam Plug-in that is targeted at the same repository. If there is such a job,
delete this job from the Veeam Backup & Replication console.
IMP ORTANT
For Veeam Backup & Replication 12, backup files created by Veeam Plug-in 10 are not supported. After you
upgrade Veeam Backup & Replication and Veeam Plug -in to the 12 version, you must upgrade the backup
files. After that, you can run your backup jobs. Otherwise, backup jobs will fail.
Prerequisites
Before upgrading backup files, make sure the following requirements are met.
• Make sure that you have upgraded Veeam Plug -in on the source server. If the plug-in is not upgraded to
version 11 or later and you upgrade the backup files, then all next backup job runs will fail.
• Make sure that you have disabled the backup job whose backup files you want upgrade. You must also
disable the backup copy jobs that use these backup files as a source.
• If the backup files reside on the scale-out backup repository, all repository extents must be available.
Also, the extents must not be in the seal or maintenance mode.
• If you want to upgrade backup files created by a backup copy job, you must meet the same requirements
as for the backup job files.
• During the process of the metadata upgrade, you cannot run the target backup job and you cannot restore
from the backup files.
The upgrade process duration depends on the number of backup files in the backup set, type of the
backup repository and workload level on the file system.
For example, there are backup files of the SAP HANA server that contains 10 instances and is backed up
every 15 minutes with the retention policy set for 2 weeks. The upgrade of backup files can have the
following duration on not overloaded file systems:
o HPE StoreOnce: up to 10 hours (due to specifics of this repository type for processing large number of
files)
2. In the inventory pane, expand the Ba ckups view and select Disk.
Alternatively, you can select the job or the restore point and click Up g rade on the ribbon.
rpm -e VeeamPluginforSAPHANA
Keep in mind that examples in this section are provided only for demonstrating purposes. For details on full
backup functionality of SAP HANA tools, see this SAP article.
IMP ORTANT
Veeam Plug-in transfers backup data to the Veeam backup repository only when you perform the backup
using SAP Backint.
NOTE
Backups created by Veeam Plug-ins cannot be used as a source for file to tape or backup to tape jobs.
To back up SAP HANA databases, you can use SQL commands or SAP HANA administration tools. For details, see
the following subsections:
Prerequisites
Before the backup process, you can use the hdbuserstore tool to set secure storage of SAP HANA connection
details.
To configure hdbuserstore, you must log in to SAP HANA HDBSQL as the operating system administrator
(<sid>adm) and run the following commands. For details, see this SAP article.
• Full backup of a tenant database with the ASYNCHRONOUS option. The ASYNCHRONOUS option can be
helpful if you monitor SAP HANA backups on another host and just want to run the backup command from
a script. The option runs the backup job in the background and closes the current script session.
The example provided below is for demonstration purposes only. For details on the full backup functionality of
SAP HANA Studio, see this SAP article.
1. In SAP HANA Studio, connect to the database as a user with DATABASE ADMIN privileges.
3. Select Ba ckup and Recovery and then select Ba ck Up System Database or Ba ck Up Tenant Database.
▪ Comp lete Data Backup: backup of all data structures required to recover the database.
▪ Incremental Data Backup: backup of data changed since the last full data backup or the last
delta backup.
▪ Differential Data Backup: backup of data changed since the last full data backup.
b. In the Destination Type list, select Backint. With this option selected, Veeam Plug-in will transfer the
backup file to Veeam backup repository.
5. In the Review Backup Settings step of the wizard, click Finish to start the backup process.
After you launch the backup process, SAP HANA Studio will back up the database, and Veeam Plug -in will
forward backup files to the backup repository that is specified in the Veeam Plug-in settings.
The example provided below is for demonstrating purposes only. For details on the full backup functionality of
SAP HANA Cockpit, see this SAP article.
1. In the Sy stem Overview page, go to Da tabase Administration and select Ma nage Database Backups.
▪ Comp lete Data Backup: backup of all data structures required to recover the database.
▪ Incremental Data Backup: backup of data changed since the last full data backup or the last
delta backup (incremental or differential).
▪ Differential Data Backup: backup of data changed since the last full data backup.
If you want to configure or manage an application backup policy for Veeam Plug -in operating in the
managed mode, see Working with Application Policies.
After you start a backup process with SAP HANA Backint, Veeam Backup & Replication creates a backup job. You
can use this job to view the statistics on the backup process, generate backup job reports or you can also disable
the backup job. You cannot launch or edit SAP HANA backup jobs in the Veeam Backup & Replication console.
You can manage backup operations only on the SAP HANA side using SAP HANA Studio, SAP HANA Cockpit or
HDBSQL.
Consider the following regarding the naming of SAP HANA backup jobs:
• For a standalone SAP HANA server (scale-up), Veeam Backup & Replication generates the backup job
name based on names of the SAP HANA server and selected repository.
• For a scale-out SAP HANA cluster: When you run the Veeam Plug-in configuration wizard for the first time
in one of the SAP HANA cluster nodes, the wizard asks for the cluster name. The cluster name will be used
in the backup job name along with the repository name.
NOTE
Due to specifics of the SAP HANA backup process, the progress bar of a running SAP HANA backup job is
not available.
2. In the Home view, expand the Job s node and click Ap p lication Plug-ins.
To restore databases, you can use SAP HANA Cockpit, SAP HANA Studio or HDBSQL commands. Restore
operations using SAP HANA tools are performed on the SAP HANA side. Keep in mind that examples provided in
this section are for demonstrating purposes only. To see the full restore functionality of SAP HANA tools, see
this SAP article.
You can also use Veeam Explorer for SAP HANA to restore databases. Restore operations in Veeam Explorer for
SAP HANA are performed on the Veeam Backup & Replication side.
To learn how to recover SAP HANA databases from backups stored in Veeam backup repositories, see the
following subsections:
To recover SAP HANA databases from backups stored on Veeam backup repositories, do the following:
1. Log in to SAP HANA HDBSQL as the HDB administrator. Use HDBUSERSTORE to securely store connection
details on a client machine. For details, see this SAP article.
2. Recover a tenant database to the latest state using Backint. As the timestamp, specify the current data
and time or future date and time.
The example below is provided for demonstration purposes only. For details on the full restore functionality of
SAP HANA tools, see this SAP article.
3. Click Ba ckup and Recovery and select Recover System Database or Recover Tenant Database.
5. Recovery process requires the database to be shut down. In the pop -up window, click OK to confirm the
database shutdown.
7. At the Loca te Backup Catalog step of the wizard, select one of the following options, depending on where
your backup catalogs reside:
o Sea rch for the backup catalog in the file system only
b. If you are recovering the database to a database with a new SID or landscape ID, select the Install
New License Key check box and specify the path to the license file.
The example below is provided for demonstration purposes only. For details on the full restore functionality of
SAP HANA Cockpit, see this SAP article.
1. In the SAP HANA Cockpit console, locate the database that you want to recover.
Performing Recovery
To perform a Backint recovery of SYSTEMDB from a Veeam Plug -in backup, do the following:
1. In the Sy stem Overview block, go to the Da tabase Administration section and click Recover database .
3. Specify the location of the latest backup catalog and click Step 3.
4. At the Ba ckup to be Used step, select the backup and click Step 4.
6. At the Sp ecify Alternative Backup Locations step, if you want to use backups that are not in the backup
catalog, specify their locations. You can also change the location for log backups.
If you you leave the fields empty, SAP HANA will use the locations specified in the backup catalog.
7. At the Check Availability of Backups step, select Y es or No options, to check if the backups are available.
Note that at this step SAP HANA does not check the integrity of the backup content on the block level.
The example below is provided for demonstration purposes only. For details on the full restore functionality of
SAP HANA tools, see this SAP article.
To perform a Backint recovery of an SAP HANA tenant database from a Veeam Plug-in backup, do the following:
1. In the Sy stem Overview page of the required system, click Ma nage Databases.
2. In the Ma nage Databases page, expand the toolbar options and select Recover Tenant.
3. After you launch the recovery wizard, SAP HANA will issue the warning that the database must be stopped
for recovery. Click Stop Tenant in the warning window.
4. At the Recovery Target step of the wizard, select the required restore point and click Step 2.
6. At the Ba ckup to be Used step, select the backup and click Step 4.
If you leave the fields empty, SAP HANA will use the locations specified in the backup catalog.
9. Select Y es or No, to check if the backups are available. Note that at this stage SAP HANA does not check
the integrity of the backup content on the block level.
10. Select No to initialize the log area and click Review. You must initialize the log area only if the log area is
unavailable or if you are recovering the database to a different system.
• Using credentials of the account under which the backup was created. This option is intended for backups
created using SAP HANA backup tools on the SAP HANA server.
• Using a security certificate. This option is intended for backups created using an application backup policy
configured in Veeam Backup & Replication.
• Using a recovery token. This option is intended for backups created using an application backup policy
configured in Veeam Backup & Replication. To use this option, a backup administrator or a restore
operator must create a recovery token for the backup in Veeam Backup & Replication.
You can select the authentication method explicitly or choose to use the same method that was specified during
the Veeam Plug-in configuration process.
• For restore to another server, you can use either backups or backup copies of SAP HANA databases.
• If you perform restore from a backup that was imported to Veeam Backup & Replication, Veeam Plug-in
will automatically create the backup job in Veeam Backup & Replication.
• During the restore process, backup operations are not disabled on the SAP HANA server.
NOTE
If you perform a system copy from another database to a database that was previously backed up by
Veeam Plug-in, consider the following:
• If the catalog_backup_using_backint parameter is enabled, after performing a system copy, SAP HANA
automatically starts a new log chain and sends it to the backint along with a new catalog backup.
This new catalog backup overwrites the previous catalog, making it impossible to access pre -restore
backups for this database.
• If you plan to restore the older state of this database, you can disable the
catalog_backup_using_backint parameter before performing the system copy.
• Also, to have access to pre-restore backups, you can store a copy of the old backup catalog outside
the default directory and specify this catalog during the restore.
3. Veeam Plug-in will display backups available for restore under the user account specified in the Veeam
Plug-in configuration. The list of backups depends on the authentication method specified for the user
account:
o For the user account with a security certificate, Veeam Plug -in displays backups created under this
user account.
o For the user account with credentials, if the account has the Veeam Restore Operator role assigned in
Veeam Backup & Replication, Veeam Plug-in displays all backups that reside in the backup repository.
Otherwise, Veeam Plug-in displays backups created under the specified user account.
o For the user account with a recovery token, Veeam Plug -in displays backups for which the recovery
token was generated.
NOTE
Keep in mind that Veeam Plug-in will list only those backups that were made on machines with the
same architecture as the machine you are working on.
For example, if your machine has a x86_64 architecture, only backups made on machines with the
x86_64 architecture will be displayed.
4. Perform the SAP HANA System Copy based restore following this SAP KB article (requires an SAP ID).
3. Veeam Plug-in will prompt you to provide credentials of the user account that under which the backup
was created. Enter a user name and password of the account:
Enter username:
Enter password for <username>:
4. Veeam Plug-in will display backups available for restore under the specified user account. If the account
has the Veeam Restore Operator role assigned in Veeam Backup & Replication, Veeam Plug -in displays all
backups that reside in the backup repository. Otherwise, Veeam Plug-in displays backups created under
the specified user account.
5. Perform the SAP HANA System Copy based restore following this SAP KB article (requires an SAP ID).
3. Veeam Plug-in will display the fingerprint of the Veeam Backup & Replication server and prompt you to
provide a recovery token:
4. Veeam Plug-in will display backups for which the recovery token was generated. Select the necessary
backup:
5. Perform the SAP HANA System Copy based restore following this SAP KB article (requires an SAP ID).
1. Run a Veeam Plug-in backup job to create a new Veeam Plug-in backup in a Veeam backup repository. The
backup will consist of the .VAB, .VASM and .VACM files.
2. In the backup repository folder, replace the .VAB and .VASM files created at the step 1 with the .VAB and
.VASM files from the hardened repository.
3. In the Veeam backup console, run the backup repair operation. Veeam Backup & Replication will generate
a new .VACM file using information from the .VASM files. For details, see Repairing Backup.
Once the backup job metadata file is re-created, you can use Veeam Plug-in to restore your data.
Repairing Backup
If you want to restore data from an immutable backup that resides in a hardened repository, you can use the
Rep air operation. During this operation, Veeam Backup & Replication will generate a new backup job metadata
(.VACM) file using information from the backup metadata (.VASM) files.
IMP ORTANT
This operation is intended only for a situation where the backup job metadata file has been lost as a result
of malware activity or unplanned actions. Re-creation of the backup job metadata file for other purposes is
not supported.
Before you start the repair operation, you must disable the backup job that created the backup. Otherwise,
Veeam Backup & Replication will display a message notifying that the job must be disabled.
To repair a backup:
1. In the Veeam Backup & Replication console, open the Home view.
4. Press and hold the [Ctrl] key, right-click the backup and select Rep air.
5. If you plan to restore SAP HANA databases using Veeam Explorer for SAP HANA and your backups reside
on a scale-out backup repository expanded with capacity tier, rescan the backup repository. To learn more
about rescan, see the Rescanning Backup Repositories section in the Veeam Backup & Replication guide.
TIP
To perform restore from SAP HANA databases, you can also use Veeam Explorer cmdlets. For details, see
the Veeam Explorer for SAP HANA section of the Veeam Explorers PowerShell Reference.
Also, you can manually delete backups from a backup repository using the Veeam Backup & Replication console
and enable the force deletion functionality of Veeam Plug -in. For details, see the following sections:
IMP ORTANT
If you delete backups from a backup catalog using scripts or SAP HANA Studio and don't select the option
to delete backup physically from the backup location, backups will remain in the backup repository. In this
case, we recommend to enable the options for physical deletion of backups in used SAP HANA retention
tools or you must enable the force deletion feature of Veeam Plug-in for SAP HANA. Otherwise, you will
run out of space on the backup repository.
To physically delete the backups, you must select the Ca talog and Backup Location option. Note that if you have
physical backups in both the file system and a Veeam backup repository, you can choose to delete data backups
in only one location.
When you configure a retention policy in SAP HANA Cockpit, make sure that you have selected the Also d elete
p hy sically from Backint check box in the Op tions for Backup Deletion section. Otherwise the backups will not be
deleted from the repository.
To physically delete backups from the backup repository, you must include the W ITH BACKINT and WITH FILE
options in the script.
If you have lost the backup catalog, you can delete the backups manually from Veeam backup repositories using
the Veeam Backup & Replication console.
NOTE
If you remove backups from a backup repository manually, the backup catalog will not be updated.
1. In the Veeam Backup & Replication console, open the Home view.
3. In the working area, right-click the backup job object name and select Delete from disk.
Veeam Plug-in for SAP HANA has a functionality that automatically force deletes backup files which are older
than specified number of days. For example, you can use it if a backup repository contains backup files that are
no longer in the backup catalog.
If you use SAP HANA 2.0 SPS 7 and you set Veeam Plug -in for SAP HANA to force delete backup files, consider
that Veeam Plug-in will also delete backups that are flagged by as retained using SAP HANA functionality.
SapBackintConfigTool --set-force-delete
2. Enter the number of days after which Veeam Plug-in will force delete backup files on all configured
Veeam backup repositories.
Garbage collector automatically deletes backup files older than the specif
ied number of days.
Make sure the number of days value exceeds your retention policy.
To disable this functionality, set the number of days to 0.
Enter the number of days to delete backups after, between 7 and 999 [0]:
IMP ORTANT
• A value for the numb er of days setting must be at least 1 backup generation period longer than the
retention period for your SAP HANA backups. Otherwise, Veeam Plug -in will delete earliest backups
created within the retention period.
• If a backup repository contains backups older than the specified retention period, Veeam Plug-in
removes old backup files only after the next run of the Backint backup.
• If you use SAP HANA 2.0 SPS 7, Veeam Plug-in will be able to force delete backups that are flagged
as retained. To learn more about the flag, see this SAP article.
When you remove a backup from the configuration, backup files (.VAB, .VASM) remain on the backup repository.
You can import backup files later and restore data from them.
4. Press and hold the [Ctrl] key, right-click the backup and select Remove from configuration.
To build a successful data protection and disaster recovery plan, it is recommended that you follow the 3 -2-1
rule:
• 3: You must have at least three copies of your data: the original production data and two backups.
• 2: You must use at least two different types of media to store the copies of your data, for example, local
disk and cloud.
• 1: You must keep at least one backup offsite, for example, in the cloud or in a remote site.
Thus, you must have at least two backups and they must be in different locations. If a disaster takes out your
production data and local backup, you can still recover from your offsite backup.
In This Section
• Creating Backup Copy Job
Veeam Backup & Replication fully automates the backup copy process and lets you specify retention settings to
maintain the desired number of restore points, as well as full backups for archival purposes. Backup copy is a
job-driven process. When enabled, the backup copy job for Veeam Plug -in backups runs continuously. For more
details on how it works, see the Backup Copy section in the Veeam Backup & Replication User Guide.
To copy backups to a secondary location, you must configure a backup copy job. The backup copy job defines
how, where and when to copy backups. One job can be used to process b ackups of one or more machines.
You can configure a job and start it immediately or save the job to start it later.
Before creating a job, check prerequisites. Then use the New Backup Copy Job wizard to configure a backup
copy job.
• Backup infrastructure components that will take part in the backup copy process must be added to the
backup infrastructure and properly configured. These include source and target backup repositories
between which backups must be copied.
• The target backup repository must have enough free space to store copied backups. To receive alerts
about low space on the backup repository, configure global notification settings. For more information,
see Specifying Other Notification Settings.
1. In the Veeam Backup & Replication console, open the Home view.
2. In the Description field, enter a description for the job. The default description contains information about
the user who created the job, date and time when the job was created.
1. Click the Ad d button and select from which entity you want to process the machines.
o From jobs: You can select Veeam Plug-in backup jobs. When a backup copy job runs, Veeam Backup &
Replication will search for backup files created by selected jobs.
o From repositories: You can select repositories where Veeam Plug-in backups are stored. When a
backup copy job runs, Veeam Backup & Replication will search for backup files created by Veea m
Plug-in in selected repositories.
2. Use the Remove button if you want to remove selected jobs or repositories from processing.
3. If you have added jobs from a repository and want to exclude from processing some of the backup jobs on
the selected repository, click E x clusions and select the jobs that you want to exclude.
1. From the Ba ckup repository list, select a backup repository in the target site where copied backups must
be stored. When you select a target backup repository, Veeam Backup & Replication automatically checks
how much free space is available on it. Make sure that you have enough free space to store copied
backups.
IMP ORTANT
For Veeam Plug-in backup copy jobs, you cannot select the following repositories as a backup copy
target:
2. If the target repository contains a Veeam Plug-in or MongoDB backup that was excluded from the backup
copy job, and if you don't want to transfer duplicate data, you can use the mapping feature.
After you configure mapping, if some of backup files (.VAB) of the source backup are missing in the target
backup copy, these files are uploaded to the target backup copy.
NOTE
b. Point the backup copy job to the backup in the target backup repository. Backups in the target backup
repository can be easily identified by backup job names. To facilitate search, you can use the search
field at the bottom of the window.
I MP ORTANT
• Used account must have access to Veeam backup repositories that you plan to use.
• Encryption must be disabled on the repository.
Otherwise, the repositories will not be listed as available. To learn how to configure access
permissions and encryption settings on repositories, see Access Permissions in the Veeam Backup &
Replication User Guide.
• Storage settings
• Notification settings
Storage Settings
At the Storage tab, define compression and deduplication settings.
By default, Veeam Backup & Replication performs deduplication before storing copied data on the target backup
repository. Deduplication provides a smaller size of the resulting backup file but may reduce the job
performance.
1. You can disable data deduplication. To do this, clear the E na ble inline data deduplication check box.
2. From the Compression level list, choose a compression level to be used: Auto, None, Dedupe-friendly,
Op timal, High or E x treme. The recommended level of compression for backup copy jobs is Auto. In this
case, Veeam Backup & Replication uses compression settings of the copied backup files. For more
information, see Compression and Deduplication.
If the backup copy is not created within the specified time period, the backup copy job will finish with the
Warning status. The countdown starts from the moment when the required backup is finished and ready to be
copied.
Notification Settings
At the Notifications tab, to specify notification settings for the backup copy job:
3. Select the Send SNMP notifications for this job check box if you want to receive SNMP traps when the job
completes successfully. SNMP traps will be sent if you specify global SNMP settings in Veeam Backup &
Replication and configure software on recipient's machine to receive SNMP traps. For more information,
see Specifying SNMP Settings.
4. Select the Send email notifications to the following recipients check box if you want to receive
notifications by email in case of job failure or success. In the field below, specify a recipient email address.
You can enter several addresses separated by a semicolon.
5. Veeam Backup & Replication sends a consolidated email notifica tion once for the specified backup copy
interval. Even if the synchronization process is started several times within the interval, for example, due
to job retries, only one email notification will be sent.
6. Email notifications will be sent if you configure global email notification settings in Veeam Backup &
Replication. For more information, see Configuring Global Email Notification Settings.
8. You can choose to use global notification settings or specify custom notification settings.
o To receive a typical notification for the job, select Use global notification settings. In this case, Veeam
Backup & Replication will apply to the job global email notification settings specified for the backup
server. For more information, see Configuring Global Email Notification Settings.
o To configure a custom notification for a job, select Use custom notification settings specified below.
You can specify the following notification settings:
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName%, %JobResult%, %VmCount% (number of
machines in the job) and %Issues% (number of machines in the job that have been processed
with the W a rning or Fa iled status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive email
notification if data processing within the backup copy interval completes successfully, fails or
completes with a warning.
3. Use the E na ble and Disable options to mark the selected area as allowed or prohibited for the backup copy
job.
2. Select the E na ble the job when I click Finish check box if you want to start the job right after you finish
working with the wizard.
You can convert and unbind Veeam Plug-in backups into regular Veeam Plug-in backup files in the following
cases:
• If you have deleted a backup copy job which created the backup copy.
• If you have excluded a backup job from a backup copy job that used multiple backup jobs as a source.
NOTE
If you want to restore from a backup copy, you don't need to convert the backup copy to backup. For
details, see Restore from Backup Copy.
SapBackintConfigTool --promote-backup-copy-to-primary
Backup copies available for promotion to primary backup:
1. Backup Copy Job 1\saprhel01-localdomain SAP backint backup (Default Backup R
epository)
Select backup: 1
Promotion of backup copy to a primary backup will reconfigure the plug-in to us
e a different repository. Continue? (y/N): y
IMP ORTANT
[For backups of scale-out clusters and servers with the customServerName option] To avoid failure of
conversion of backup copies, the cluster name must be the same as the name used in the backup copy.
When you submit a support case, we recommend you attach necessary logs related to Veeam Plug -in
operations.
• Using Veeam Backup & Replication or Veeam Agent for Oracle Solaris for image -level backups of Oracle
servers.
Veeam Backup & Replication and Veeam Agent for Oracle Solaris perform image-level backup and restore
operations of Oracle servers. For example, this may be useful if you do not have Oracle database
administrators.
To learn how to use Veeam Backup & Replication to protect Oracle servers, see the Creating Backup Jobs
section of the Veeam Backup & Replication User Guide.
To learn how to use Veeam Agent for Oracle Solaris to protect Oracle servers, see the Overview section of
the Veeam Agent for Oracle Solaris User Guide.
• Using Veeam Plug-in for Oracle RMAN for transactionally-consistent Oracle Recovery Manager (RMAN)
based backups of Oracle databases.
Veeam Plug-in uses the backup and restore functionality of RMAN and transfers backups to Veeam backup
repositories. Use Veeam Plug-in to back up Oracle databases in the following cases:
o If you want the Oracle database administrator to fully control the backup and recovery processes.
o If you use Automatic Storage Management (Oracle ASM) disks on a physical server.
Veeam Plug-in functions as an agent between Oracle RMAN and the Veeam backup repository. With the
configured Veeam Plug-in, the default backup device type is changed and gives control over backup media
management to Veeam Plug-in. Veeam Plug-in compresses and transfers database backups to a backup
repository connected to Veeam Backup & Replication. For details, see How Veeam Plug-in for Oracle RMAN
Works.
Veeam Plug-in for Oracle RMAN can operate in standalone or managed mode. Depending on the operation
mode, Veeam Plug-in has different functionality and limitations. In standalone mode, you can install Veeam
Plug-in manually on the computer whose databases you want to protect. Veeam Plug-in in standalone mode
uses the Veeam Backup & Replication console to perform backup operations. In managed mode, you can install
Veeam Plug-in using the Veeam Backup & Replication console. The Veeam Backup & Replication console
automates the operation of Veeam Plug-ins running on computers in your infrastructure. For details on Veeam
Plug-in operation modes, see Standalone and Managed Operations Modes.
For backup operations, you can use the built-in Oracle RMAN functionality. Veeam Plug-in for Oracle RMAN
transfers backup data to the Veeam backup repository and stores the data in the Veeam proprietary format for
backups. Veeam Backup & Replication creates a backup job for all backup processes started in Oracle R MAN. Use
this job to view the statistics on the backup process, generate backup job reports or disable the backup job. For
details on backup operations, see Data Backup.
In case of malware activity or unplanned actions, you can perform restore operations based on the backup data
transferred by Veeam Plug-in to the Veeam Backup & Replication backup repositories. Use the built-in Oracle
RMAN functionality or Veeam Explorer for Oracle to restore databases. Restore processes run on the Oracle
side. For details on restore operations with Veeam Plug -in, see Data Restore.
By default, RMAN sends backups to a native RMAN location on disk ( DEFAULT DEVICE TYPE TO DISK). When
you configure Veeam Plug-in, the default device type is changed to SBT_TAPE, which gives control over backup
media management to Veeam Plug-in. Thus, after you deploy Veeam Plug-in on an Oracle server, you can
perform all backup and restore operations in the Oracle RMAN console. Veeam Plug -in compresses database
backups and transfers them to a backup repository connected to Veeam Backup & Replication.
When use Oracle RMAN integrated with Veeam Plug-in, the database backup is performed in the following way:
1. After you launch a database backup process in the Oracle RMAN console, RMAN launches Veeam Plug -in
services.
2. Veeam Plug-in connects to the Veeam Backup & Replication server and creates a backup job (if it hasn't
been created earlier).
3. Veeam Plug-in starts Veeam Data Movers on the Oracle server and on the Veeam backup repository.
Depending on the configured limit of RMAN channels, there will be multiple connections started in
parallel.
4. Veeam Data Movers transport the backup data to the backup repository.
You can use the built-in Oracle functionality to initiate and manage backup operations. Veeam Backup &
Replication creates a backup job for all backup operations started in Oracle RMAN. Use this job to view the
statistics on the backup process, generate backup job reports or disable the backup job. For details on how to
perform backup operations, see Database Protection.
For each backup operation, Veeam Plug-in automatically creates and stores database backup files. For each of
the created backup files, Veeam Plug-in also creates separate metadata files. The backup and metadata files
help Veeam Plug-ins to store and manage backup data while ensuring that the data is protected, accessible, and
can be quickly restored when needed. All backup files created for backup jobs reside in a dedicated job folder in
the backup repository. For details on backup files, see Veeam Plug-in Backup Files.
Veeam Plug-in allows you to authenticate against Oracle database with the credentials of opera tion system or
database user. For details, see Authentication Against Database
To store backup files, you can add backup repositories to your Veeam Backup & Replication infrastructure. For
details on all supported backup repositories, see Veeam Backup Repositories.
All backup files created by the backup job reside in a dedicated job folder in the backup repository.
• A .VAB file stores a compressed copy of an Oracle database. Veeam Plug -in creates .VAB files for full,
incremental and log backups.
• A .VASM file stores metadata that contain information about the backup. A .VASM file is created for each
.VAB backup file with the same name as the backup file. The .VASM files are used by Veeam Backup &
Replication to get data about Veeam Plug-in backups.
• A .VACM file stores metadata about the backup job. A .VACM file is created for each backup job. The
.VACM file is used by Veeam Backup & Replication to get data about Veeam Plug -in backup job.
NOTE
Keep in mind that if you use the scale-out backup repository as a backup target, Veeam Plug -in can create
a backup file for the backed-up database on each repository extent.
• Veeam Plug-in can write data to the created backup file for 24 hours.
After one of the limits is reached, Veeam Plug-in closes the backup file and cannot add new data to this
file. Keep in mind that Veeam Plug-in must close the backup file to allow Veeam Backup & Replication to
perform the following operations:
Before you start performing operations on backup repositories within the Veeam Backup & Replication
infrastructure, consider that you need to set the access permissions for each repository. For details, see Access
and Encryption Settings on Repositories
• Windows Server
• Linux Server
• NFS Share
• Infinidat InfiniGuard
• HPE StoreOnce
If you plan to use HPE StoreOnce as a backup repository for Veeam Plug -in backups, the total number of
stored files (data and metadata) must not exceed 3,000,000 per Catalyst store. If necessary, multiple
Catalyst stores may be created on the same StoreOnce system.
• Quantum DXi
• ExaGrid
Make sure the repository is configured as described in the ExaGrid section in the Veeam Backup &
Replication User Guide.
Make sure that the performance extents of the scale-out backup repository contain repositories supported
by Veeam Plug-in for Oracle RMAN. For example, you cannot use object storage repositories as
performance extents to keep backups created with Veeam Plug -ins.
To configure the warning settings, add the following parameter in the veeam_config.xml file.
Keep in mind that you must add the parameter to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in
the first detected line. Other parameters will be ignored.
• The plug-in configuration wizard will not show repositories where the E ncrypt backups stored in this
rep ository option is enabled. To learn how to disable the encryption option, see Access and Encryption
Settings on Repositories.
If you want to use the same backup target with the repository-based encryption and Veeam Plug-ins,
create a second repository in the subfolder for Veeam Plug -in backups.
• Veeam extract utility cannot extract Veeam Plug-in backup files. By design of Oracle RMAN, these files
cannot be imported “as files” to RMAN as they contain additional metadata bound to the used SBT device.
• Veeam Plug-ins do not support backup operations targeted directly to object storage repositories.
To learn more about object storage repositories, see the Object Storage Repositories section in the Veeam
Backup & Replication User Guide.
• Veeam Plug-ins do not support backup operations to object storage added as a performance extent of a
scale-out backup repository.
• You cannot rename a scale-out backup repository with Veeam Plug-in backups stored on this repository.
• For Veeam Plug-in backups and backup copies, the Performance policy of a scale-out repository functions
differently:
a. Veeam Backup & Replication checks if there are extents without warning on free space insufficiency.
If there is no extents without the warning, Veeam Backup & Replication uses an extent with the
largest amount of free space that has a free task slot.
If there are no incremental extents with free task slots, Veeam Backup & Replication uses a full extent
with the least amount of used task slots.
c. For incremental extents with free task slots, Veeam Backup & Replication sends backup files to an
incremental extent with the least amount of used task slots.
If several extents has the same least amount of used tasks, Veeam Backup & Replication uses an
extent with the largest amount of free space.
To learn more about file placement policies of scale-out repositories, see Backup File Placement section in
the Veeam Backup & Replication User Guide.
• If a scale-out repository is configured in the Data locality policy, repository extents are selected according
to the largest amount of free space for each Oracle RMAN connection. If the selected extent does not
have free task slots, Veeam Backup & Replication uses the extent with the next largest amount of free
space.
If there are two extents with only one task slot on each extent, the backup is performed using two parallel
streams (one stream per extent).
• If you want to add a backup repository which contains Veeam Plug -in backups as an extent to a scale-out
backup repository, you must do the following:
a. Select Veeam Plug-in backup files that reside in this backup repository and remove them from
configuration.
To learn more, see the Removing Backups from Configuration section in the Veeam Backup &
Replication User Guide.
To learn more, see the Disabling and Deleting Jobs section in the Veeam Backup & Replication User
Guide.
To learn more, see the Extending Scale-Out Repositories section in the Veeam Backup & Replication
User Guide.
To learn more, see the Rescanning Scale-Out Repositories section in the Veeam Backup & Replication
User Guide.
NOTE
[For imports to the scale-out backup repository] Before importing your backup, consider that
the names of all backup files (.VAB, .VASM, .VACM) and paths to these files contain only the
following allowed characters:
• a-zA-Z0-9
• _-.+=@^
If your backup was initially created on a standalone backup server, the default name of the
backup metadata file (.VACM) contains forbidden characters. Before importing, you must delete
forbidden characters from the file name or replace them with the allowed characters.
e. Set the scale-out repository as the target for backups using the following command:
OracleRMANConfigTool --set-repositories
OracleRMANConfigTool --map-backup
Capacity Tier
You can configure Veeam Backup & Replication to transfer Veeam Plug -in backup files to a capacity tier. Both
policies (Move policy, Copy policy) are supported for Veeam Plug -in backups with the following limitations:
• For Veeam Plug-in backup files, capacity tier does not verify whether data that is being moved is unique
and has not been offloaded earlier. Thus, it is highly recommended to check the pricing plans of your
cloud storage provider to avoid additional costs for offloading and downloading backup data.
• To offload Veeam Plug-in backup files to the capacity tier, Veeam Backup & Replication splits data into 1
MB objects and compresses the resulting objects. The default object size will be a compressed 1 MB block,
resulting in objects of around 512 KB in size.
• Veeam Backup & Replication offloads Veeam Plug-in for Oracle RMAN backup files to the capacity tier
with the Copy and Move policies in different ways. With the Copy policy, Veeam Backup & Replication
checks backup files every 1 hour and runs an offload job only if new backup files exist. With the Move
policy, Veeam Backup & Replication checks backup files every 4 hours and runs an offload job, even if
there are no new files.
IMP ORTANT
With both the Copy and Move policies, Veeam Backup & Replication copies and moves to the
capacity tier only non-active backup files created more than 24 hours ago, which match the capacity
tier configuration parameters. To learn more about the capacity tier configuration, see Add Capacity
Tier in the Veeam Backup & Replication User Guide.
• Veeam Plug-in supports encryption of offloaded data to the capacity tier. The E ncrypt data uploaded to
ob ject storage option in the Ca pacity Tier settings of the scale-out backup repository ensures that the
entire collection of blocks along with the metadata will be encrypted while being offloaded. To learn more
about capacity tier encryption, see the Encryption for Capacity Tier section in the Veeam Backup &
Replication User Guide.
• Capacity tier does not track dependencies of full and incremental Veeam Plug-in backup files. Thus,
consider the following:
o [For the Move policy] When backup files are transferred to the capacity tier, Veeam Backup &
Replication takes into account only the creation time of backup files. Make sure that the operational
restore window is either longer than the whole backup chain cycle period or exceeds that period.
Otherwise, you may encounter the scenario when full backup files are transferred to the capacity tier
and their increment backup files still remain in the performance tier.
• In case a disaster strikes the scale-out repository and you have a Veeam Plug-in backup file on the capacity
tier, you must re-create the scale-out repository before you restore from this backup file. You must
connect the capacity tier with the Veeam Plug-in backup file to another backup server with Veeam Backup
& Replication and a scale-out repository. After that, you can import the backup files to Veeam Backup &
Replication and then perform data recovery operations.
• If you use a capacity tier that has been created in Veeam Backup & Replication version 10, you cannot
transfer Veeam Plug-in backup files to a capacity tier. However, if you want to transfer them manually, do
the following:
a. If the backup files are created by Veeam Plug-in version 10, upgrade the metadata of backup files as
described in the Upgrading Backup Files section.
Hardened Repository
You can configure Veeam Backup & Replication to transfer Veeam Plug-in backup files to a hardened repository.
The hardened repository helps to protect Veeam Plug -in backup files from loss as a result of malware activity or
unplanned actions. Backup files in the hardened repository become immutable for the time p eriod specified in
the backup repository settings. During this period, backup files stored in the repository cannot be modified or
deleted.
For Veeam Plug-in for Oracle RMAN backups, immutability works according to the following rules:
• Immutability is applied to backup (VAB) files and backup metadata (VASM) files. Backup job metadata
(VACM) files are not immutable.
• Backup files become immutable for the configured time period (minimum 7 days, maximum 9999 days).
• Backup files become immutable after 24 hours have passed since each file was created. The immutability
service runs in the background at every hour. This service detects and sets immutability flags for any
backup file that can no longer be reused.
TIP
Contact Veeam Customer Support to change the default 24 hour lifespan of a backup file. To do that,
you can submit a support case on the Veeam Customer Support Portal.
• The immutability period is not extended for the active backup chain.
• When you use operating system authentication, you can connect to the server and to the database using
only the OS user credentials.
• When you use database authentication, you can connect to the server using OS user credentials and to the
database using database user credentials.
Veeam Plug-in stores all specified credentials in the Veeam Plug -in configuration file.
NOTE
• If you select the database authentication method, make sure that the database user account has
SYSBACKUP privileges. This applies for Linux, Unix and Microsoft Windows environments.
• All target databases must be active on the Oracle server. If any of the selected databases are not
active, connection attempts will fail.
For more information on setting authentication methods, see Configuring Plug-in on Linux and Unix or
Configuring Plug-in on Microsoft Windows.
You can use the built-in Oracle functionality or Veeam Explorer for Oracle to restore databases. Restore
operations are performed on the Oracle side.
TIP
For details on how to use Veeam Explorer for Oracle for restore operations, see the Restoring Oracle RMAN
Backups section of the Veeam Explorers User Guide.
Depending on the available type of Veeam Plug -in backups that will be the source for the restored databases,
you can perform the following restore operations:
Restore Oracle databases from a Veeam Plug-in backup to the original server by using the built-in Oracle
functionality. For details, see Restore to Original Server.
You can also restore Oracle databases from a Veeam Plug -in backup to another server. For details, see
Restore to Another Server.
Restore Oracle databases from backup copies created for Veeam Plug-in for Oracle RMAN backups. For
details, see Restore from Backup Copy.
Depending on the location of Veeam Plug-in backups that will be the source for the restored databases, you can
also perform the following restore operations:
In This Section
• System Requirements
• Permissions
• Ports
• Licensing
NOTE
The following system requirements apply to Veeam Plug -in for Oracle RMAN
operating in the standalone mode.
For more information on system requirements for Veeam Plug -in managed by Veeam
Backup & Replication, see System Requirements for Managed Veeam Plug-ins.
Sp ecification Requirement
OS Veeam Plug-in for Oracle RMAN is supported for the following Microsoft Windows
versions:
• Microsoft Windows Server 2025
• Microsoft Windows Server 2022
• Microsoft Windows Server 2019
• Microsoft Windows Server 2016
• Microsoft Windows Server 2012/2012 R2
Veeam Plug-in for Oracle RMAN is supported for the following Linux distributions:
Veeam Plug-in for Oracle RMAN is supported for the following Unix versions:
Software [For Microsoft Windows computers] Microsoft .NET Framework 4.6 is included in the
Veeam Plug-in for Oracle RMAN Redistributable. During the deployment process,
Veeam Backup & Replication checks whether Microsoft .NET Framework 4.6 is
available on the target computer. If Microsoft .NET Framework 4.6 is missing, Veeam
Backup & Replication will install missing software automatically.
Ora cle database Veeam Plug-in for Oracle RMAN supports the following Oracle Database versions:
• 11gR2
• 12c
• 18c
• 19c
• 21c: Standard and Enterprise Edition
• 23c: Standard and Enterprise Edition
Notes:
Sup ported Oracle Veeam Plug-in for Oracle RMAN supports the following Oracle RMAN features:
RMAN features
• Veeam Plug-in for Oracle RMAN will be registered as an SBT_TAPE device. All
Oracle RMAN functionality that is supported with the SBT_TAPE device type
will work. For example, Automatic Storage Management (Oracle ASM) and
Container DBs (CDBs).
• Veeam Plug-in for Oracle RMAN supports Oracle Real Application Clusters
(Oracle RAC). Other cluster databases are not supported.
Veeam Backup & Veeam Backup & Replication supports two latest versions of Veeam Plug -ins. For
Rep lication example, Veeam Backup & Replication 12.3 supports Veeam Plug -in 12.3 and 12.2.
Keep in mind that if you use an earlier Veeam Plug-in build than the one that is
included in the installation ISO file of your Veeam Backup & Replication version, it may
not have all the features and bug fixes introduced in your Veeam Backup & Replication
version. To learn more about the Veeam Plug-in builds included in Veeam Backup &
Replication installation ISO files, see this Veeam KB article.
Network Veeam Plug-in should be able to establish a direct IP connection to the Veeam Backup
& Replication server. Thus, Veeam Plug-in cannot work with the Veeam Backup &
Replication server that is located behind the NAT gateway.
NOTE
If you plan to restore Oracle databases using Veeam Explorer for Oracle, consider the required permissions
listed in the Permissions section of Veeam Explorers User Guide.
Configuring Veeam The OS user account used for configuring Veeam Plug-in must have the following
Plug-in permissions.
• For Linux and Unix:
Performing backup The account used for starting Oracle RMAN backup and restore processes Veeam
and restore in Veeam Plug-in must have the following permissions.
Plug-in
• For Linux and Unix:
To launch RMAN backup or restore, you can use any user account that has
required set of privileges for backup operations on the Oracle side. Starting
from Oracle Database 12c, Oracle recommends to use the SYSBACKUP role.
For details, see this Oracle article.
During the backup process, Veeam Plug-in connects to the database to get
database properties. Thus, Linux/Unix user that started the RMAN client
must be a member of the OSDBA (typically called as “dba”) group and has
SYSDBA privileges.
IMP ORTANT: In case you use the operating system authentication method, if
you use the CONNECT command in the RMAN script, the plug -in manager
process will be started by the owner of the Oracle listener, not by the user
that started the RMAN client. Thus, if the listener is owned by a cluster
service user (grid) that is not a member of the OSDBA group and does not
have SYSDBA privileges, the plug-in manager will not be able to collect
database properties and the backup will fail. As a workaround, you can add
DBA privileges to the grid user.
The workaround is not required in case you use the database authentication
method.
To launch RMAN backup or restore, you can use any user account that has
required set of privileges for backup operations on the Oracle side. Starting
from Oracle Database 12c, Oracle recommends to use the SYSBACKUP role.
For details, see this Oracle article.
During the backup process, Veeam Plug-in connects to the database to get
database properties. Thus, the Oracle home user must be a member of the
ORA_DBA group and the OS authentication must be enabled for this user.
Connecting to Veeam The account which is used to authenticate against Veeam Backup & Replication
Backup & Replication, must have access permissions on required Veeam repository servers. To learn how
managing backups to configure permissions on repositories, see Access and Encryption Settings on
Repositories.
To work with backups created by Veeam Plug-in, you can use only the account used
for creating the backup. If you want to use another account, assign the Veeam
Backup Administrator role or Veeam Backup Operator and Veeam Restore Operator
roles to the account. To learn how to assign Veeam Backup & Replication roles, see
the Users and Roles section in the Veeam Backup & Replication User Guide.
* For NFS share, SMB share repositories, and Dell Data Domain, HPE StoreOnce deduplication storage appliances, Veeam
Backup & Replication uses an auxiliary backup infrastructure component — gateway server. For details, see the Gateway
Server section in the Veeam Backup & Replication User Guide.
** This range of ports applies to newly added backup infrastructure components. If you upgrade to Veeam Backup &
Replication 10.0 from earlier versions of the product, the range of ports from 2500 to 5000 applies to the already added
components.
Backup
Veeam Default range of ports used as data
repository
Backup & 2500 to transmission channels. For every TCP
server or TCP
Replication 3300** connection that a backup process uses,
gateway
server one port from this range is assigned.
server*
Linux server
used as a
Port used as a control channel from the
backup
TCP 22 Veeam Plug-in server to the target Linux
repository or
host.
gateway
server
Veeam
Backup &
Replication Microsoft Ports used as a management channel from
TCP 135,
server Windows the Veeam Plug-in server to the
137 to 139,
server used UDP Repository/Gateway server. Also, the ports
445
as a backup are used to deploy Veeam components.
repository or
gateway 6160, Default ports used by the Veeam Installer
server TCP
6162 Service and Veeam Data Mover Service
(specified in
the SMB SMB server SMB/Netbios name resolution for SMB
TCP 135, protocol (needed in some cases). For
share
repository UDP 137 to 139 details, see the Used Ports section in the
settings) Veeam Backup & Replication User Guide.
Gateway
server
or For more
Gateway Main port used by NFS. To change the
information,
server port, you can use the nfs set server-
see this Dell TCP 2049
port command. Note that the command
KB article.
requires SE mode.
HP E StoreOnce
E x aGrid
Veeam
Backup & Default command port used for
ExaGrid TCP 22
Replication communication with ExaGrid.
server
Veeam
Backup & Default command port used for
Quantum DXi TCP 22
Replication communication with Quantum DXi.
server
Veeam
Fujitsu Default command port used for
Backup &
ETERNUS TCP 22 communication with Fujitsu ETERNUS
Replication
CS800 CS800.
server
Infinidat InfiniGuard
Veeam
Backup & Infinidat Default command port used for
TCP 22
Replication InfiniGuard communication with Infinidat InfiniGuard.
server
* For NFS share, SMB share repositories, and Dell Data Domain, HPE StoreOnce deduplication storage appliances, Veeam
Backup & Replication uses an auxiliary backup infrastructure component — gateway server. For details, see the Gateway
Server section in the Veeam Backup & Replication User Guide.
** This range of ports applies to newly added backup infrastructure components. If you upgrade to Veeam Backup &
Replication 10.0 from earlier versions of the product, the range of ports from 2500 to 5000 applies to the already added
components.
For detailed list of ports used by Veeam Backup & Replication server and backup repositories, see the Used Ports
section in the Veeam Backup & Replication User Guide.
This guide provides information only on specifics of Veeam licenses for Veeam Plug-ins. For terminology and
general information about Veeam Licensing, see Veeam Licensing Policy.
Licensed Objects
An Oracle server is assumed protected if it has been processed by a Veeam P lug-in backup job in the last 31
days.
If you are using any instance-based (Veeam Universal Licensing) license on your Veeam Backup & Replication,
you don't need to install any additional licenses. A protected Oracle server consumes one instance unit from the
license. Oracle servers processed by backup copy jobs are not regarded as protected VMs, these types of jobs
provide an additional protection level for VMs that are already protected with Veeam Plug-in backup jobs.
A machine protected by both Veeam Plug-in and Veeam Backup & Replication will consume a license only once.
For example, you have an Oracle server that you back up using Veeam Plug -in. You also back up this server using
image-level backup functionality of Veeam Backup & Replication. In this case, only one license will be
consumed.
NOTE
[For Perpetual per-socket licenses] If you are using a legacy perpetual per-socket license, a license is
required for each hypervisor CPU socket occupied by protected Oracle servers.
A socket is consumed from the license only if the hypervisor where protected servers reside is added to the
Veeam Backup & Replication infrastructure. If the hypervisor is not added to the Veeam Backup &
Replication infrastructure, an instance unit will be consumed from the license. To learn how to add a
hypervisor to the Veeam Backup & Replication infrastructure, see the Virtualization Servers and Hosts
section in the Veeam Backup & Replication User Guide.
IMP ORTANT
[For Oracle RAC] The license is required for all cluster nodes, even if Veeam Plug -in is installed only on one
of the nodes.
You can use Veeam Plug-ins with all license packages ( Veeam Backup Essentials, Veeam Backup &
Replication, Veeam Availability Suite ).
Note that if you use the Rental license type, functionality of Veeam Plug-ins is supported only for the
Enterprise Plus edition of Veeam Backup & Replication.
Functionality of Veeam Plug-ins is supported only for the Enterprise Plus edition of Veeam Backup &
Replication.
• Hosting Environments
For more information about Veeam Backup & Replication backup jobs, see Backup Job in Veeam Backup &
Replication.
Keep in mind that for servers in Oracle RAC environments, Veeam Backup & Replication generates the backu p
job name based on the single client access name (SCAN) of the cluster. For more information about backup job
naming methods, see Veeam Backup Job Name.
To identify standalone servers, update the Veeam configuration XML file as follows:
1. Open the Veeam configuration XML file. The path to the file differs depending on the OS of the machine
where Veeam Plug-in is installed:
2. Add one of the following parameters to the <PluginParameters /> line in the Veeam configuration
XML file:
After adding this parameter, Veeam Plug-in will use the specified custom name of the server to name
the backup job and backup folder.
For example:
Keep in mind that you must add the parameters to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in
the first detected line. Other parameters will be ignored.
IMP ORTANT
For security reasons, it is recommended to use separate repositories for different customers and limit the
Veeam Repository Authentication to the specific customer.
1. Locate the Veeam configuration XML file. The path to the file differs depending on the OS of the machine
where Veeam Plug-in is installed:
<IgnoreVBRNetworkRules=true />
To learn more about traffic encryption, see the Enabling Traffic Encryption section in the Veeam Backup &
Replication User Guide.
• On the Veeam Backup & Replication server, the backup job name will be created automatically based on
the server or cluster name and selected repository.
• For environments that use Oracle RMAN copy processing, one job per repository is created.
• Ora cle server: 1 CPU core and a minimum of 200 MB of RAM per currently used channel. Note that
resource consumption on the Oracle server depends on hardware and Oracle settings.
• Ba ckup repository server: 1 CPU core and 1 GB of RAM per 5 currently used channels.
These resources are recommended only if you use a dedicated backup repository for Veeam Plug -in
backups. If you use the same backup repository for Veeam Plug -in backups and backups created by Veeam
Backup & Replication or Veeam Agents, consider adding the mentioned above hardware resources based
on usual load on your backup repository. For details on hardware requirements for a backup repository,
see the System Requirements section of the Veeam Backup & Replication User Guide.
We recommend to contact your Veeam system engineer to optimize the channel settings and resource
allocation. Also, consider the following:
o It is recommended to use a separate backup repository for Veeam Plug -in backups.
o The control file does not use a repository task slot and will be processed even if there are no free task
slots.
• Veeam Backup & Replication server: during manual metadata operations such as import of backup files,
the Veeam Backup & Replication server needs additional 15 GB of RAM per 1 million files located in the
same backup job folder.
Installation Prerequisites
On machines running Linux or Unix OS, consider the following prerequisites:
• Before you install Veeam Plug-in, make sure that the /opt/veeam directory is writable.
• Before you configure Veeam Plug-in, make sure that the NOEXEC mount option is disabled for the /var
and /tmp directories.
Scheduling
You can schedule backup processes with all Oracle RMAN relevant scheduling options like Cron, Windows Task
Scheduler, UC4 and TWS.
If you use Veeam Backup & Replication or Veeam Agents to create image-level backups of the Oracle server, you
can schedule the backup job and run Oracle RMAN backup scripts along with the backup job. For detailed
instructions on how to add Oracle RMAN scripts to a backup job, see one of the following guides:
• For Veeam Backup & Replication: Pre-Freeze and Post-Thaw Scripts section in the Veeam Backup &
Replication User Guide.
• For Veeam Agent for Windows: Pre-Freeze and Post-Thaw Scripts section of the Veeam Agent for
Windows User Guide.
• For Veeam Agent for Linux: Pre-Freeze and Post-Thaw Scripts section of the Veeam Agent for Linux User
Guide.
NOTE
If you want to use Oracle RMAN scripts within backup jobs of Veeam Backup & Replication or Veeam
Agents, consider the following:
• A backup job does not control the workflow of Oracle RMAN scripts. The backup job invokes the
script and gets an exit status when the script is finished. Backup job logs show if the script was
executed successfully. The script is considered to be executed successfully if the return is "0". To see
if the script failed, configure the script to return the exit status different than "0" in case of any
errors.
• The default timeout for a custom script in a backup job is 10 minutes. If the script runs longer than
the default time, consider submitting a support case on the Veeam Customer Support Portal.
To avoid lack of storage in the temporary tablespace, configure the Oracle Temporary Tablespace resources. For
more information about creating and managing tablespaces, see this Oracle article.
• It is recommended to install Veeam Plug-in for Oracle RMAN on each RAC server that is responsible for the
backup operations. If the plug-in is not installed on all nodes, the backup process may fail when RMAN
selects another node.
• Veeam Plug-in supports parallel execution of all operations supported by Oracle RMAN: backup, restore,
crosscheck, remove. This applies to execution of these commands on one or multiple databases residing
on one or multiple RAC nodes.
• If you use Veeam Explorer for Oracle to restore a RAC database with different settings, it will not be
restored as a cluster database, but as a standalone database. For more information about Oracle settings,
see Specifying Oracle Settings in the Veeam Explorers user guide.
If the backup encryption is enabled, Veeam Plug-in backup jobs fail with the following error: ORA-19919:
encrypted backups to tertiary storage require Oracle Secure Backup. For more information
about how you can disable the backup encryption to avoid this error, see this Oracle article.
Alternatively, you can use transparent data encryption (TDE) provided by Oracle. Using TDE, you can encry pt
database data with an encryption key, back up encrypted data with Veeam Plug -in, then restore data with
Veeam Plug-in and decrypt using the same encryption key. Restore with Veeam Explorer for Oracle is not
supported for this scenario. To learn more about Oracle TDE encryption, see this Oracle article.
By default, Veeam Plug-in uses the following format for backup files naming:
• If you select multiple Veeam backup repositories and enable RMAN copy processing, you must use the
repository ID with the “/” sign as a prefix for the backup file names. This allows RMAN to directly access
the requested backup file on one of the copy extents.
• If you select multiple Veeam backup repositories and disable RMAN copy processing, backup files will be
read by default from the first selected repository.
IMP ORTANT
In a backup file name, you cannot use the following symbols, which are reserved by Microsoft Windows:
• <
• >
• :
• ,
• /
• \
• |
• ?
• *
To learn more about file naming conventions, see this Microsoft article.
• If you perform a restore operation with Veeam Explorer for Oracle using a different database name and
database settings, you must enable the autobackup of the control file.
If you use the CONTROLFILE AUTOBACKUP option, the Veeam Plug -in configuration wizard creates the
following RMAN configuration entry:
• If after configuring Veeam Plug-in you enable the CONTROLFILE AUTOBACKUP option, you must start the
configuration wizard again. The control file backup naming option will be set to default.
To avoid errors, you must provide unique names for individual databases. See the following example about
how to add a unique identifier to the database using the db_unique_name parameter.
Parallel Processing
Veeam Plug-in supports parallel backup processing for up to 4 backup repositories or scale -out backup
repositories. In the plug-in configuration wizard, if you select more than one repository, the parallelism
functionality will be enabled automatically.
NOTE
The use of RMAN parallel procesing must be enabled for the running Oracle Enterprise Edition.
Oracle Home
• It is recommended to back up the Oracle home folder in addition to RMAN backups. You can back it up
with Veeam Backup & Replication or Veeam Agents.
• If the Oracle home folder is on a shared disk, you can use the file-level backup functionality of Veeam
Backup & Replication or Veeam Agent for Linux. Alternatively, you can copy the Oracle home folder to a
non-shared disk before the backup.
• [Windows]: %PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\veeam_config.xml
NOTE
You can also create an image-level backup of the Oracle server using the image-level backup functionality
of Veeam Backup & Replication or Veeam Agents.
• [Linux or Unix] On the Oracle server, log in as a user with the Oracle Administrator rights and create an
empty file in the following directory: /etc/veeam/disablerestore
• [Windows] On the Oracle server, create an empty file in the following d irectory:
%ProgramData%\Veeam\disablerestore
Database Recovery
Before you recover your database using Veeam Explorer for Oracle, consider the following:
• If you want to restore a database with a different name and settings, the database must use SPFILE. If
SPFILE is not used, a warning will be displayed during the Veeam Plug -in configuration.
• If you use huge pages, make sure that you allocated enough memory to the system where you want to
restore your database.
To be able to use Veeam Plug-in for Oracle RMAN, you must install the plug-in on the Oracle server and
configure the plug-in settings.
In This Section
• Installing Veeam Plug-in for Oracle RMAN
You can install the plug-in using the .RPM package or extract the plug-in files from the .TAR.GZ archive.
Depending on the type of package suitable for your OS, perform steps in one of the following guides:
IMP ORTANT
• Veeam Plug-in for Oracle RMAN must be installed on the Oracle Database server.
• The /opt/veeam directory must be writable.
• The NOEXEC mount option must be disabled for the /var and /tmp directories.
• To install the plug-in, use the sudo command or a user with root privileges.
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image from the Veeam Backup & Replication: Download page.
2. Open the mounted disk image and go to the Plugins\Oracle RMAN\Linux directory.
rpm -i VeeamPluginforOracleRMAN-12.3.0.310-1.x86_64.rpm
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image from the Veeam Backup & Replication: Download page.
2. Open the mounted disk image and go to the Plugins\Oracle RMAN\Linux directory .
mkdir /opt/veeam
5. Unpack the plug-in files from the archive to the /opt/veeam directory.
NOTE
When you launch the installation file, it also installs Microsoft .NET Framework 4.5.2 if it does not detect
this component on the machine during the product installation. In some cases, installation of .NET
Framework requires a reboot of the machine. This can happen, for example, if you have an earlier version of
.NET Framework installed on the machine and during the installation process it is used by third -party
software.
To install Veeam Plug-in for Oracle RMAN on a Windows machine, do the following:
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk at: https://www.veeam.com/backup-replication-vcp-download.html.
5. At the License Agreement step of the wizard, accept the terms of license agreements and click Nex t.
7. At the Rea dy to Install the Program step of the wizard, click Install.
4. Wait for the installation process to complete and click Finish to exit the wizard.
P a rameter Description
Veeam Plug-in for Oracle RMAN uses the following codes to report about the installation results :
• 1000 — Veeam Plug-in for Oracle RMAN has been successfully installed.
• 1001 — prerequisite components required for Veeam Plug-in for Oracle RMAN have been installed on the
machine. Veeam Plug-in for Oracle RMAN has not been installed. The machine need s to be rebooted.
• 1101 — Veeam Plug-in for Oracle RMAN has been installed. The machine needs to be rebooted.
IMP ORTANT
To install Veeam Plug-in for Oracle RMAN on a Solaris machine, do the following:
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image at the Download Veeam Products page.
2. In the installation disk folder, go one of the following folders depending on your system:
3. Copy the following Veeam Plug-in installation package depending on your system:
pkgadd -d /tmp/VeeamPluginforOracleRMAN-12.3.0.310-1.pkg
5. Once Veeam Plug-in is installed, you can configure the plug-in settings. For details, see Configuring Plug-
in on Linux or Unix.
IMP ORTANT
To install Veeam Plug-in for Oracle RMAN on an IBM AIX machine, do the following:
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image at the Download Veeam Products page.
4. Install the plug-in from package with root privileges. Make sure the root user has privileges to add the
PKG file.
rpm -i VeeamPluginforOracleRMAN-12.3.0.310-1.aix6.1.ppc.rpm
5. Once Veeam Plug-in is installed, you can configure the plug-in settings. For details, see Configuring Plug-
in on Linux or Unix.
• Consider supported types of backup repositories and limitations for Veea m Plug-in backups in Veeam
Backup Repositories.
• To store backups in a backup repository, the specified account must have access permissions on the target
backup repository.
2. In the inventory pane, click the Ba ckup Repositories node or the Sca le-out Repositories node.
3. In the working area, select the necessary backup repository and click Set Access Permissions on the ribbon
or right-click the backup repository and select Access permissions.
4. In the Access Permissions window, on the Sta ndalone applications tab specify to whom you want to grant
access permissions on this backup repository:
o Allow to everyone — select this option if you want to grant repository access to any user. This option
is equal to granting access rights to the Everyone group in Microsoft Windows (anonymous users are
excluded). For security reasons, the option is not recommended for production environments.
o Allow to the following accounts or groups only — select this option if you want only specific users to
be able to store backups in this repository. Click Ad d to add the necessary users and groups to the list.
5. Veeam Plug-ins cannot send backups or backup copies to a backup repository where encryption is
enabled. Thus, make sure that the E ncrypt standalone application backups stored in this repository check
box is not selected.
Depending on the operating system that runs on the machine with installed Veeam Plug -in, you configure
access to the plug-in configuration file differently. To learn more, see the following subsections:
• To perform this procedure, the OS user account must have root privileges (for Linux/UNIX) or local
administrator privileges (for Microsoft Windows).
• After a user is added to the group, they must log out, then log in to the system again to activate the group
permissions.
IMP ORTANT
The users that configure the plug-in and start the RMAN client must be added to the group.
a. Launch Comp uter Management and expand the Tools > Local User and Groups node.
3. In the configuration file properties, remove all permissions for other user groups.
Some permissions can be inherited. To be able to remove such permissions, on the Security tab of the
file P roperties window, select Ad vanced, then click Disable Inheritance.
4. Limit the permissions for the configuration file to allow the Read and Write access only to the members of
the group.
where:
where:
o <userName> — the name of the account that will be granted access to the configuration file.
3. Create a new access control list (ACL) with Read and Write permissions using this set of commands:
where:
o newACL — the name of the new access control list. You can give any name to this temporary variable.
$newACL.SetOwner([System.Security.Principal.NTAccount]"groupName") #sets o
wner for the ACL
where:
5. Apply the ACL to the plug-in configuration file using this command:
where:
o <configFilePAth> — the path to the plug-in configuration file. The default path is
%PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\veeam_config.xml.
where:
o <userName> — the name of the account that will be granted access to the configuration file.
3. Change the ownership of the configuration file to enable users from the dedicated group to access the
configuration file. To do this, run the following command:
To use Veeam Plug-in you must configure the connection between the Oracle server, Veeam Backup &
Replication server and backup repositories where backup files will be stored.
Note that the Veeam Plug-in configuration tool changes the settings of Oracle RMAN. All original settings of
Oracle RMAN are saved in the /opt/veeam/VeeamPluginforOracleRMAN/RMANParameters.xml file.
1. Log in to the Oracle server with an account which is a member of the DBA group.
OracleRMANConfigTool --wizard
./OracleRMANConfigTool --wizard
3. Specify the DNS name or IP address of the Veeam Backup & Replication server.
4. Specify the port which will be used to communicate with the Veeam Backup & Replication server. Default
port: 10006.
IMP ORTANT
• You can work with backups created by Veeam Plug-in only with the account used for creating
the backups. If you want to use another account, assign the Veeam Backup Administrator role
or Veeam Backup Operator and Veeam Restore Operator roles to the account.
To learn how to assign Veeam Backup & Replication roles, see the Users and Roles section in
the Veeam Backup & Replication User Guide.
• The account must have access permissions on the required backup repository. To learn how to
configure access permissions and encryption settings on repositories, see Access and
Encryption Settings on Repositories.
6. Select the backup repository where you want to store the backups. In the wizard dialog, enter the number
of the repository from the list of available repositories. If you want to add several repositories, enter the
required numbers separated by blank spaces.
If you want to use the Oracle RMAN Backup Duplexing functionality, you can select up to four repositories.
The copies of backups will be sent to all selected repositories. Note that Oracle Database Standard Edition
does not allow using more than one RMAN channel. Thus, if you use Standard Edition, you can select only
one repository.
IMP ORTANT
• The account must have access to back up repositories that you plan to use.
• Encryption must be disabled on the repository.
Otherwise, the repositories will not be listed as available. To learn how to configure access
permissions and encryption settings on repositories, see Access and Encryption Settings on
Repositories.
7. Specify the number of parallel data streams for each backup repository. Note that Oracle Database
Standard Edition does not allow using more than one RMAN channel. Thus, if you use Standard Edition,
you can select only one data stream.
Enter the number of data streams (From 1 to 254) to run in parallel for ea
ch repository (RMAN DEVICE PARALLELISM value).
Channel count per device: 4
9. At the Select the Oracle environment authentication method step of the plug-in wizard, select the
preferred authentication method to connect to the backup database.
You can choose between operating system authentication and database authentication methods. With the
OS authentication method, you can connect to the server and database using only OS user credentials.
With the database authentication method, you can connect to the server using OS user credentials and to
the database using database user credentials. The OS user account must be a user on the Oracle server
with the required permissions to run RMAN.
If you select the database authentication method, you must specify the database user account credentials.
The OS user credentials will be applied automatically.
Note that the Veeam Plug-in configuration tool changes the settings of Oracle RMAN. All original settings
of Oracle RMAN are saved in the /opt/veeam/VeeamPluginforOracleRMAN/RMANParameters.xml
file.
o For the OS authentication method, at the Select the Oracle environment authentication method step
of the wizard, select Op erating system authentication. The OS user credentials will be used
automatically.
In the following RMAN settings section, the wizard will display a list of the RMAN settings that have
been configured previously.
o For the database authentication method, at the Select the Oracle environment authentication method
step of the wizard, select Da tabase authentication.
You can configure credentials for each of the target databases or one set of credentials for multiple
databases. You can update all database credentials using the OracleRMANConfigTool command, if
needed.
The database user account must have the SYSBACKUP permission on the database. To learn more
about Oracle permissions, see this Oracle article.
Enter the individual database user account credentials. The OS user account credentials specified
in step 5 will be applied automatically.
▪ To configure common credentials for multiple target databases, at the Select the preferred
method to enter credentials step of the wizard, select E nter common credentials for multiple
ma nually specified databases:
Specify all database names for which you want to use common credentials, and enter the user
name and password you want to use:
10. At the Sa ve configuration step of the plug-in wizard, you can export configuration files (the Veeam Plug -
in configuration file and RMAN configuration file). You can import these configuration files to other
servers to apply the same settings.
Save configuration?
1. Apply configuration to the Oracle environment
2. Export configuration into a file for manual setup
3. Cancel without saving
Enter:1
*** Database instance ORCL is configured ***
When you export the configuration files, Veeam Plug -in automatically enables Oracle's Controlfile
Autobackup feature. This feature is required for restoring with different settings using Veeam
Explorer for Oracle.
TIP
It is recommended to save the configuration files, so that you can use it as a reference. For example,
if you are planning to manually allocate channels for backup and restore operations, you will need
the repository UUID. The RMAN configuration file (rman_config.txt) contains an example for
channel allocation definition for the target repository. You can use this statement in your
backup/restore scripts.
IMP ORTANT
When you work with the command-line tool, use one configuration parameter per command. The tool does
not support commands with multiple parameters.
P a rameter Description
--g et-backup-for-restore You can run the OracleRMANConfigTool command with this
parameter to select a backup after you have specified an
authentication method to access the backup using the
OracleRMANConfigTool --set-backup-for-restore
command. For more information, see Restore to Another Server.
Shows the list of preferred networks set for Veeam Plug -in data
traffic to the remote backup repository.
Example
To specify credentials that will be used to log in to the Veeam Backup & Replication server, use the plug -in
configuration tool with the following command.
Note that configuration wizard of Veeam Plug-in for Oracle RMAN changes the settings of Oracle RMAN. All
original settings of Oracle RMAN are saved in the
%PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\RMANParameters.xml file.
1. On the Oracle server, click launch the Veeam RMAN Configuration Wizard
(%PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\Veeam.Backup.RMAN.Configuration.
exe).
a. Click Ad d and select the required repository. For Oracle Database Standard Edition, you can select
only one repository. If you want to use the Oracle RMAN Backup Duplexing functionality, you can
select up to four repositories. The copies of backups will be sent to all selected repositories.
You must allow access to Veeam backup repositories that you plan to use. Also, the encryption on the
repository must be disabled. To learn how to configure access and encryption on repositories, see
Access and Encryption Settings on Repositories.
b. If you want to use another repository, select the repository from the list and click Remove. Then, you
can add another repository.
c. At the Cha nnels per repository field, specify the number of allowed parallel data streams for each
repository.
d. If you want to enable Veeam Plug-in compression, select the E na ble backup compression by the plug-
in check box.
Note that if you use Veeam Plug-in compression in combination with Oracle RMAN integrated
compression (BACKUP AS COMPRESSED commands), it can slow down processing.
e. Click Nex t.
You can work with backups created by Veeam Plug-in only with the account used for creating the
backups. If you want to use another account, assign the Veeam Backup Administrator role or Veeam
Backup Operator and Veeam Restore Operator roles to the account.
To learn how to assign Veeam Backup & Replication roles, see the Users and Roles section in the
Veeam Backup & Replication User Guide.
4. At the Authentication step of the wizard, you can select a preferred authentication method to connect to
the backup database.
You can choose between the operating authentication and database authentication methods. With the OS
authentication method, you can connect to the server and database using OS user credentials. With the
database authentication method, you can connect to the server using OS user credentials and to the
database using database user credentials. The OS user account must be a user on the Oracle server with
the required permissions to run RMAN.
If you select the database authentication method, you must specify the database user account credentials.
The OS user credentials are applied automatically.
Note that the Veeam Plug-in configuration tool changes the settings of Oracle RMAN. All original settings
of Oracle RMAN are saved in the
%PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\RMANParameters.xml file.
You can configure credentials for each of the target databases or one set of credentials for multiple
databases. You can update all database credentials using the OracleRMANConfigTool command, if
needed. The list of set credentials is stored in the veeam_config.xml configuration file.
The database user account must have the SYSBACKUP permission on the database. To learn more
about Oracle permissions, see this Oracle article.
▪ Select multiple databases and click Set user to configure common credentials for multiple target
databases.
4. At the Summary step of the wizard, you can export the plug-in and Oracle RMAN configuration files. You
can use the configuration files to apply the plug-in settings on other servers.
a. To export the veeam_config.xml file click E x p ort and select Veeam Config.
b. Click Finish.
NOTE
When you export the configuration files, Veeam Plug -in automatically enables Oracle's Controlfile
Autobackup feature. This feature is required for restoring with different settings using Veeam
Explorer for Oracle.
It is recommended to save the configuration files, so that you can use it as a reference. For example,
if you are planning to manually allocate channels for backup and restore operations, you will need
the repository UUID. The RMAN configuration file (rman_config.txt) contains an example for
channel allocation definition for the target repository. You can use this statement in your
backup/restore scripts.
IMP ORTANT
When you work with the command-line tool, use one configuration parameter per command. The tool does
not support commands with multiple parameters.
2. Run the required Ora cleRMANConfigTool.exe command from the table below.
For example, to specify credentials that will be used to log in to the Veeam Backup & Replication server,
use the plug-in configuration tool with the following command:
Command Description
--set-host <hostname> Specifies the host of the Veeam Backup & Replication server.
--g et-backup-for-restore You can run the OracleRMANConfigTool command with this
parameter to select a backup after you have specified an
authentication method to access the backup using the
OracleRMANConfigTool --set-backup-for-restore
command. For more information, see Restore to Another Server.
Shows the list of preferred networks set for Veeam Plug -in data
traffic to the remote backup repository.
NOTE
• By default, if there are no specified preferred networks for Veeam Plug -in data traffic, Veeam Plug-
in will connect to preferred networks specified in Veeam Backup & Replication. To learn more about
setting preferred networks in Veeam Backup & Replication, see the Specifying Preferred Networks
section in the Veeam Backup & Replication User Guide.
• Veeam Plug-in does not save information about failed network connections. If backup or restore
operations fail, Veeam Plug-in tries to connect to the following network from the preferred
networks list to finish the started operations. Regardless of the first unsuccessful connection,
Veeam Plug-in will try to perform the next backup operations first on the failed network.
• Veeam Plug-in network preferences take priority over Veeam Backup & Replication network
preferences. Only if the preferred networks for Veeam Plug -in data traffic are not available for any
reason, Veeam Plug-in will try to connect to the Veeam Backup & Replication preferred networks.
To specify networks for data transfer, you must create a list of preferred networks. When Veeam Plug -in needs
to transfer data, it uses networks from this list. If a connection over any of the preferred networks cannot be
established for any reason, Veeam Plug-in will automatically fail over to the following network from the
preferred networks list.
To create and manage the list of preferred networks that Veeam Plug-in will use, you can perform the following
operations:
where:
▪ <position_in_list> is the position number of the network in the preferred networks list.
The position in the list determines in what order Veeam Plug -in will connect to the specified
network. If you do not chose a specific position in the list, newly added networks take the last
place in the list automatically.
For example:
OracleRMANConfigTool --show-preferred-networks
OracleRMANConfigTool.exe --show-preferred-networks
The following example shows what the output of the Ora cleRMANConfigTool command with the --show-
preferred-networks parameter can look like on a machine running Microsoft Windows OS:
OracleRMANConfigTool.exe --show-preferred-networks
Preferred networks:
1. 172.24.29.156
2. 172.24.26.189
where <network_IP_address> can be either the IP address of a single network or a network mask
that contains a range of network IP addresses. Specify one of the available options to remove from
the preferred networks list.
For example:
If you throttle performance, additional system components help with the throttling process:
• [For Linux and Unix machines] Veeam Backup & Replication starts Veeam Plug -in backup operation
processes with low priority and nice value of 19. The nice values are in ascending order of priority ranging
from -20 (the highest priority) to 19 (the lowest priority).
• [For Microsoft Windows machines] Veeam Plug-in uses the OS process priority system in the background
to lower the priority of backup operation processes. To learn more about the process priority setting, see
this Microsoft article.
Keep in mind that Veeam Plug-ins manage the priority of backup operation processes only if the system running
on the target computer is busy with other tasks.
NOTE
• By default, Veeam Plug-in does not throttle performance.
• Performance throttling does not apply to restore operations.
1. Log into the machine with a user with root or instance owner privileges.
2. Start the Veeam Plug-in configuration wizard with the following parameter:
OracleRMANConfigTool --set-throttling
OracleRMANConfigTool.exe --set-throttling
All backup activities will be throttled if the system is busy. Backup perf
ormance may be affected. Proceed? (y/N): y
If you want to upgrade Veeam Plug-in, note that Veeam Backup & Replication must be the same or later than
the version of Veeam Plug-in. If you want to use the latest functionality, you must upgrade both Veeam Backup
& Replication and Veeam Plug-in to the latest version. After the upgrade, you don't need to re-run the Veeam
Plug-in configuration wizard, the plug-in configuration files will be preserved.
IMP ORTANT
• You must upgrade Veeam Backup & Replication before you upgrade Veeam Plug -ins. To learn how to
upgrade Veeam Backup & Replication, see the Upgrading to Veeam Backup & Replication 12.3 section
in the Veeam Backup & Replication User Guide.
• Veeam Backup & Replication supports two latest versions of Veeam Plug -ins. For example, Veeam
Backup & Replication 12.3 supports Veeam Plug-in 12.3 and 12.2.
Keep in mind that if you use an earlier Veeam Plug-in build than the one that is included in the
installation ISO file of your Veeam Backup & Replication version, it may not have all the features and
bug fixes introduced in your Veeam Backup & Replication version. To learn more about the Veeam
Plug-in builds included in Veeam Backup & Replication installation ISO files, see this Veeam KB
article.
• [For Linux computers] Operations in the terminal of the machine with the database requir e root
privileges.
2. Open the mounted disk image and go to one of the Plugins\Oracle RMAN folder.
3. Select the Veeam Plug-in installation file suitable for your OS and upload it to the Oracle Database server.
The upgrade procedure depends on the type of package and OS that you use:
You can upgrade Veeam Plug-in for Oracle RMAN to a later version in the unattended mode using the same
command that is used for unattended installation. For details, see Installing Plug-in on Windows Machine in
Unattended Mode.
2. To upgrade Veeam Plug-in, run the following command. Note that the operation requires root privileges.
rpm -U VeeamPluginforOracleRMAN-12.3.0.310-1.x86_64.rpm
TIP
To find out which version of Veeam Plug-in is installed on your server, you can use the following command:
rpm -qa | grep VeeamPlugin
2. Unpack the plug-in files from the archive to the /opt/veeam directory. Old Veeam Plug-in files will be
replaced by new files.
2. Make sure the pkgadd administration file (admin_file) contains the following entry:
"instance=overwrite". For details, see this Oracle article.
2. To upgrade Veeam Plug-in, run the following command. Note that the operation requires root privileges.
rpm -U VeeamPluginforOracleRMAN-12.3.0.310-1.aix6.1.ppc.rpm
IMP ORTANT
The password included in the configuration file is encrypted. Thus, after you import the configuration file,
you must set the credentials manually in the Veeam Plug -in configuration wizard.
2. Copy the Veeam Plug-in configuration file (veeam_config.xml) to the server where you want to
configure the plug-in.
3. Install Veeam Plug-in on the new server and place the copied XML file in the
/opt/veeam/VeeamPluginforOracleRMAN folder.
4. Set new credentials that Veeam Plug-in will use to log in to the Veeam Backup & Replication server using
the following command:
2. Copy the Veeam Plug-in configuration file (veeam_config.xml) to the server where you want to
configure the plug-in.
3. Install Veeam Plug-in on the new server and place the copied XML file in the
%PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\ folder.
4. Set new credentials that Veeam Plug-in will use to log in to the Veeam Backup & Replication server using
the following command:
%PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\OracleRMANConfigTool.exe --set-cr
edentials "serv\username" "password"
• If backup files are not imported according to instructions given in this section, Veeam Plug -in backup and
restore operations may fail.
• The repository from which you plan to import backups must be added to the Veeam Backup & Replication
infrastructure. Otherwise you will not be able to access backup files.
• [For imports to the scale-out backup repository] Before importing your backup, consider that the names
of all backup files (.VAB, .VASM, .VACM) and paths to these files contain only the following allowed
characters:
o a-zA-Z0-9
o _-.+=@^
If your backup was initially created on a standalone backup server, the default name of the backup
metadata file (.VACM) contains forbidden characters. Before importing, you must delete forbidden
characters from the file name or replace them with the allowed characters.
1. Move the folder with the backup file to the required backup repository or create a new backup repository
with this folder as a subfolder.
TIP
Each Veeam Plug-in backup file (.VAB) has its own metadata file (.VASM). Make sure you import
backup files and all related metadata files. Also, you must import the backup job metadata file
(.VACM) which is stored in the same folder.
2. In the Veeam Backup & Replication console, open the Ba ckup Infrastructure view.
3. In the inventory pane of the Ba ckup Infrastructure view, select the Ba ckup Repositories node.
During the rescan operation, Veeam Backup & Replication gathers information about backups that are
currently available in the backup repository and updates the list of backups in the configuration database.
After the rescan operation, backups that were not in this configuration database will be shown on the
Home view in the Ba ckups > Disk (Imported) node.
5. On the Oracle server, use the terminal to set the new repository as a target in the Veeam Plug -in settings:
o For W indows:
"%PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\OracleRMANConfigTool" --
set-repositories
Available backup repositories:
1. serv55.tech.local
2. serv07_repo
Enter repository number: 1
OracleRMANConfigTool --set-repositories
Available backup repositories:
1. serv55.tech.local
2. serv07_repo
Enter repository number: 1
6. Start the Veeam Plug-in configuration wizard with the --map-backup parameter to re-map the plug-in
backups:
Before you re-map your backup to the repository, make sure that there is not an existing backup job
on your machine with Veeam Plug-in that is targeted at the same repository. If there is such a job,
delete this job from the Veeam Backup & Replication console.
o For W indows:
"%PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\OracleRMANConfigTool" --
map-backup
OracleRMANConfigTool --map-backup
IMP ORTANT
For Veeam Backup & Replication 12, backup files created by Veeam Plug-in 10 are not supported. After you
upgrade Veeam Backup & Replication and Veeam Plug -in to the 12 version, you must upgrade the backup
files. After that, you can run your backup jobs. Otherwise, backup jobs will fail.
Prerequisites
Before upgrading backup files, make sure the following requirements are met.
• Make sure that you have upgraded Veeam Plug -in on the source server. If Veeam Plug-in is not upgraded
to version 11 or later and you upgrade the backup files, then all next backup job runs will f ail.
• Make sure that you have disabled the backup job whose backup files you want upgrade. You must also
disable the backup copy jobs that use these backup files as a source.
• If the backup files reside on the scale-out backup repository, all repository extents must be available.
Also, the extents must not be in the Seal or Maintenance mode.
• If you want to upgrade backup files created by a backup copy job, you must meet the same requirements
as for the backup job files.
• During the process of the metadata upgrade, you cannot run the target backup job and you cannot restore
from the backup files.
The upgrade process duration depends on the number of backup files in the backup set, type of the
backup repository and workload level on the file system.
For example, there are backup files of an Oracle server that contains 10 instances and is backed up every
15 minutes with the retention policy set for 2 weeks. The upgrade of backup files can have the following
duration on not overloaded file systems:
o HPE StoreOnce: up to 10 hours (due to specifics of this repository type for processing large num ber of
files)
2. In the inventory pane, expand the Ba ckups view and select Disk.
Alternatively, you can select the job or the restore point and click Up g rade on the ribbon.
When you configure Veeam Plug-in, original settings of Oracle RMAN are saved in the
/opt/veeam/VeeamPluginforOracleRMAN/RMANParameters.xml file (or in the
%PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\RMANParameters.xml for Windows). If you
uninstall Veeam Plug-in for Oracle RMAN, original settings of Oracle RMAN are restored from the
RMANParameters.xml file.
rpm -e VeeamPluginforOracleRMAN
2. In the list of programs, select Veea m Plug-in for Oracle RMAN and click Uninstall.
pkgrm VeeamPluginforOracleRMAN
The examples given below are for demonstration purposes only. The backup process is performed on the Oracle
RMAN side. Consider configuring required RMAN-specific parameters that may affect the backup process. For
details on the backup functionality of Oracle RMAN, see this Oracle article.
NOTE
• In the Veeam Plug-in configuration wizard, you can enable/disable Veeam Plug -in Data Compression
and Deduplication. If you enable the Veeam Plug-in compression, do not use Oracle RMAN
integrated compression as well. It can slow down the backup and restore processes.
• It is Oracle's best practice to add the EXIT; command at the bottom of the script to shut down the
RMAN utility. Without the EXIT; command in the script, it is up to Oracle RMAN to decide when to
close the backup session, which can lead to multiple unclosed RMAN backup sessions.
• Backups created by Veeam Plug-ins cannot be used as a source for file to tape or backup to tape
jobs.
TIP
If you have configured the retention policy, run the DELETE OBSOLETE command after the database
backup to delete obsolete backups from the repository.
In this Section
• Oracle RMAN Full Backup
You can create a consistent backup of Oracle databases in the ARCHIVELOG mode and in the NOARCHIVELOG
mode. For details on the backup process in different modes, see this Oracle article.
NOTE
The examples given below are for demonstration purposes only. The backup process is performed on the
Oracle RMAN side. Consider configuring required RMAN-specific parameters that may affect the backup
process. For details on the backup functionality of Oracle RMAN, see this Oracle article.
RUN {
BACKUP DATABASE PLUS ARCHIVELOG;
}
EXIT;
RUN {
SHUTDOWN TRANSACTIONAL;
STARTUP MOUNT;
BACKUP DATABASE;
STARTUP;
}
EXIT;
IMP ORTANT
Keep in mind that the ALLOCATE CHANNEL command must be issued only within a RUN block for a specific
backup operation.
2. Use the ALLOCATE CHANNEL command and specify the following parameters:
d. Specify which media library must be used for this sbt_tape channel.
▪ [For Linux and Unix] Set the path to the libOracleRMANPlugin.so file as the SBT_LIBRARY.
e. Specify the Veeam backup repository UUID in the argument for the FORMAT parameter. You can find
the required backup repository UUID in the rman_config.txt file or in log files.
▪ [For Linux and Unix] If you have exported Veeam Plug -in configuration files, run the following
command to see the contents of the configuration file.
cat /tmp/rman_config.txt
▪ [For Microsoft Windows] If you have exported Veeam Plug -in configuration files, find the
channel allocation definition in the configuration file.
Alternatively, you can find the repository UUID in log files. Go to the
%\ProgramData\Veeam\Backup\RmanPluginLogs\SERV_NAME directory and search for
"received repos id" in the OracleRMANConfigToolLib.log file.
4. [Optional] Use the RELEASE CHANNEL command. By default, RMAN automatically releases all channels
when the RUN command terminates.
• ALLOCATE CHANNEL: this command allocates channel ch1 to the Veeam backup repository with UUID
d8338780-1aec-4c36-b17c-e1ea3ea2ca93.
• RELEASE CHANNEL: this command releases the allocated channel ch1 to optimize resources.
RUN {
ALLOCATE CHANNEL ch1 DEVICE TYPE SBT_TAPE
PARMS 'SBT_LIBRARY=/opt/veeam/VeeamPluginforOracleRMAN/libOracleRMA
NPlugin.so' FORMAT 'd8338780-1aec-4c36-b17c-e1ea3ea2ca93/RMAN_%I_%d_%T_%U
.vab';
BACKUP DATABASE;
RELEASE CHANNEL ch1;
}
EXIT;
• ALLOCATE CHANNEL: this command allocates channels ch1 and ch2 simultaneously to the Veeam backup
repository with UUID d8338780-1aec-4c36-b17c-e1ea3ea2ca93.
• RELEASE CHANNEL: this command releases the allocated channels ch1 and ch2 to optimize resources.
RUN {
ALLOCATE CHANNEL ch1 DEVICE TYPE SBT_TAPE
PARMS 'SBT_LIBRARY=/opt/veeam/VeeamPluginforOracleRMAN/libOracleRMA
NPlugin.so' FORMAT 'd8338780-1aec-4c36-b17c-e1ea3ea2ca93/RMAN_%I_%d_%T_%U
.vab';
ALLOCATE CHANNEL ch2 DEVICE TYPE SBT_TAPE
PARMS 'SBT_LIBRARY=/opt/veeam/VeeamPluginforOracleRMAN/libOracleRMA
NPlugin.so' FORMAT 'd8338780-1aec-4c36-b17c-e1ea3ea2ca93/RMAN_%I_%d_%T_%U
.vab';
BACKUP DATABASE;
RELEASE CHANNEL ch1;
RELEASE CHANNEL ch2;
}
EXIT;
Example 3. Allocating Single Channel and Using Multiple Repositories for Backup
Operations
• ALLOCATE CHANNEL: this command allocates channel ch1 to two Veeam backup repositories with UUIDs
d8338780-1aec-4c36-b17c-e1ea3ea2ca93 and 4f85d62e-bd3c-46da-9cdd-53873faf4214
simultaneously.
• RELEASE CHANNEL: this command releases the allocated channel ch1 to optimize resources.
RUN {
ALLOCATE CHANNEL ch1 DEVICE TYPE SBT_TAPE
PARMS 'SBT_LIBRARY=/opt/veeam/VeeamPluginforOracleRMAN/libOracleRMA
NPlugin.so' FORMAT 'd8338780-1aec-4c36-b17c-e1ea3ea2ca93/RMAN_%I_%d_%T_%U
.vab','4f85d62e-bd3c-46da-9cdd-53873faf4214/RMAN_%I_%d_%T_%U.vab';
BACKUP DATABASE;
RELEASE CHANNEL ch1;
}
EXIT;
In this example for Microsoft Windows environments, the RUN block contains the following commands:
• ALLOCATE CHANNEL: this command allocates channel ch1 to the Veeam backup repository with UUID
d8338780-1aec-4c36-b17c-e1ea3ea2ca93.
• RELEASE CHANNEL: this command releases the allocated channel ch1 to optimize resources.
RUN {
ALLOCATE CHANNEL ch1 DEVICE TYPE SBT_TAPE
PARMS 'SBT_LIBRARY=%PROGRAMFILES%\Veeam\VEEAMP~2\ORACLE~2.DLL' FORMA
T 'd8338780-1aec-4c36-b17c-e1ea3ea2ca93/RMAN_%I_%d_%T_%U.vab';
BACKUP DATABASE;
RELEASE CHANNEL ch1;
}
EXIT;
If you want to configure or manage an application backup policy for Veeam Plug -in operating in the
managed mode, see Working with Application Policies.
After you start a backup process in Oracle RMAN, Veeam Backup & Replication creates a backup job. You can use
this job to view the statistics on the backup process, generate backup job reports or you can also disable the
backup job.
You cannot start or edit Oracle RMAN backup jobs in the Veeam Backup & Replication console. You can manage
backup operations only on the Oracle side using RMAN.
Consider the following regarding the naming of Oracle RMAN backup jobs:
• For a standalone Oracle RMAN server, Veeam Backup & Replication generates the backup job name based
on names of the Oracle RMAN server and selected repository.
• For Oracle RAC, Veeam Backup & Replication generates the backup job name based on single client access
name (SCAN) of the cluster.
NOTE
The progress bar of a running Oracle database backup job is available onl y for backups of standalone Oracle
databases. It is not available for Oracle RAC backups.
2. In the Home view, expand the Job s node and click Ba ckup.
In This Section
• Restore to Original Server
If you want to change the repository or channel settings, you must modify the Veeam Plug -in settings. For
details, see Configuring Veeam Plug-in for Oracle RMAN.
To restore the Oracle database, you must connect to the database with RMAN and run the restore command.
You may need to run additional commands depending on your database infrastructure. Consider configuring
required RMAN-specific parameters that may affect the backup process. For details on all restore capabilities of
Oracle RMAN, see this Oracle article.
RUN {
SHUTDOWN IMMEDIATE;
STARTUP MOUNT;
RESTORE DATABASE;
RECOVER DATABASE;
}
EXIT;
NOTE
If you use the SEND command on the target server to point to the source server, you can run operations
like DUPLICATE. For details, see Restore to Another Server.
IMP ORTANT
• You can restore a database to the target server only if it runs the same OS as the original server. For
example, you cannot restore a database from the Windows-based system to the Linux-based system.
This limitation also applies to Linux distributions. The target server must run the same distribution as
the original server. For example, you cannot restore a database from the server running Oracle Linux
to the target server running CentOS.
1. ALLOCATE CHANNEL. Use this command to manually allocate a channel or channels between RMAN and
the database instance. Specify the following parameters:
b. Specify the SBT_TAPE option for the DEVICE TYPE or TYPE parameter.
d. Specify which media library must be used for this sbt_tape channel. For Linux or Unix, set the path
to the libOracleRMANPlugin.so file as the SBT_LIBRARY. For Microsoft Windows, set the path to
%PROGRAMFILES%\Veeam\VeeamPluginforOracleRMAN\OracleRMANPlugin.dll.
2. SEND. Use this command with the srcBackup=BackupID parameter to specify the ID of the backup from
which you want to restore a database. For example: "srcBackup=6109d377-93b5-4741-a796-
03471d2795cd".
a. Specify an authentication method to access the backup created for the original server. For details, see
Specifying Authentication Settings.
b. Select the backup from which you want to restore a database. For details, see Selecting Backup.
IMP ORTANT
The ALLOCATE CHANNEL and SEND commands must be issued only within a RUN block for a specific
restore operation.
RUN {
ALLOCATE CHANNEL ch1 TYPE sbt_tape PARMS "SBT_LIBRARY=/opt/veeam/Veea
mPluginforOracleRMAN/libOracleRMANPlugin.so";
SEND "srcBackup=6109d377-93b5-4741-a796-03471d2795cd";
SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F_RM
AN_AUTOBACKUP.vab';
RESTORE controlfile FROM 'c-4097408439-20200410-00_RMAN_AUTOBACKUP.vab
';
}
EXIT;
RUN {
ALLOCATE CHANNEL ch1 TYPE sbt_tape PARMS "SBT_LIBRARY=%PROGRAMFILES%\
Veeam\VeeamPluginforOracleRMAN\OracleRMANPlugin.dll";
SEND "srcBackup=6109d377-93b5-4741-a796-03471d2795cd";
SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F_RM
AN_AUTOBACKUP.vab';
RESTORE controlfile FROM 'c-4097408439-20200410-00_RMAN_AUTOBACKUP.vab
';
}
EXIT;
• If you do not use the SEND command, Veeam Plug-in will restore data from a backup created for the
server on which Veeam Plug-in is currently running instead of restoring data from a backup created on
another server.
• For restore to another server, you can use either backups or backup copies of Oracle databases.
• If you perform restore from a backup that was imported to Veeam Backup & Replication, Veeam Plug -in
will automatically create the backup job in Veeam Backup & Replication.
• During the restore process, backup operations are not disabled on the Oracle server.
• Using credentials of the account under which the backup was created. For more information, see
Specifying Credentials.
This option is intended for backups created using Oracle RMAN commands on the Oracle server.
This option is intended for backups created using an applica tion backup policy configured in Veeam
Backup & Replication. To use this option, a backup administrator must create a recovery token for the
backup in Veeam Backup & Replication.
Specifying Credentials
To restore a database to another server, you can specify credentials of a user account under which the backup
was created. To do this, do the following:
1. Access the Veeam Plug-in for Oracle RMAN directory on your machine. The path to the directory differs
depending on the OS of the machine where Veeam Plug -in is installed:
OracleRMANConfigTool --set-auth-data-for-restore
3. Veeam Plug-in will prompt you to select an authentication method to access the backup.
If you want to access the backup using account credentials, the account must meet the following
requirements:
o The account must either have the Veeam Backup Administrator , or both the Veeam Backup Operator
and Veeam Restore Operator roles. You can also use the account under which the backup was created.
For more information on how to assign Veeam Backup & Replication roles, see the Users and Roles
section in the Veeam Backup & Replication User Guide.
o The account must have access permissions to the backup repository where the backup is stored. For
more information, see Access and Encryption Settings on Repositories.
4. Veeam Plug-in will prompt you to provide credentials of the user account that under which the backup
was created. Enter a user name and password of the account:
Enter username:
Enter password for <username>:
1. Access the Veeam Plug-in for Oracle RMAN directory on your machine. The path to the directory differs
depending on the OS of the machine where Veeam Plug -in is installed:
OracleRMANConfigTool --set-auth-data-for-restore
3. Veeam Plug-in will prompt you to select an authentication method to access the backup. To access the
backup using a recovery token, type 2:
4. Veeam Plug-in will display the fingerprint of the Veeam Backup & Replication server and prompt you to
provide a recovery token:
Selecting Backup
After you specify authentication settings to access the backup from which you want to restore a database on
another server, you can select the backup. To do this, do the following:
1. Access the Veeam Plug-in for Oracle RMAN directory on your machine. The path to the directory differs
depending on the OS of the machine where Veeam Plug -in is installed:
OracleRMANConfigTool --get-backup-for-restore
o If you specified credentials of a user account that has the Veeam Backup Administrator or Veea m
Restore Operator role assigned in Veeam Backup & Replication, Veeam Plug -in displays all backups
that reside in the backup repository. Otherwise, Veeam Plug-in displays backups created under the
specified user account.
o If you specified a recovery token, Veeam Plug-in displays backups for which the recovery token was
generated.
IMP ORTANT
• Veeam Explorer for Oracle does not support restore of encrypted Oracle databases.
• Veeam Explorer for Oracle does not support restore of Oracle databases deployed on Solaris OS and
IBM AIX. You can restore Oracle databases on Solaris OS and IBM AIX only with RMAN. For more
information, see Restore to Original Server.
TIP
• To perform restore from Oracle databases you can also use Veeam Explorer cmdlets. For details, see
the Veeam Explorer for Oracle section of the Veeam Explorers PowerShell Reference.
• For details on Veeam Explorer for Oracle, see the Veeam Explorer for Oracle section in the Veeam
Explorers User Guide.
• If you want to restore the database to a new location where the control file does not exist.
If you use Veeam Plug-in for Oracle RMAN and want to restore the Oracle database control file from
autobackup, the autobackup format must be set to the SBT_TAPE device type.
To check if persistent configuration for the control file autobackup format is set to the SBT_TAPE device type,
you can run the SHOW ALL or SHOW CONTROLFILE AUTOBACKUP FORMAT commands in the RMAN console. If
the persistent configuration is set, you don't need to set the control file autobackup format before the restore
command. If it is not set, you must run the SET CONTROLFILE AUTOBACKUP command before the restore
process. For more information, see Example 1. Restoring Control File if Persistent Configuration Setting Is NOT
Set.
If you do not have the autobackup file name for the restore script, you can restore using the creation date of the
autobackup file. For more information, see Example 3. Restoring Control File Without Autobackup File Name.
NOTE
To restore the control file from autobackup, the database must be in the NOMOUNT state.
If the persistent configuration for the control file autobackup format is not set to the SBT_TAPE device type,
you must set the autobackup format before running the control file restore. To do this, run one of the following
scripts, depending on your OS.
RUN {
ALLOCATE CHANNEL ch1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=/opt/veeam/Ve
eamPluginforOracleRMAN/libOracleRMANPlugin.so';
SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F_RMAN_A
UTOBACKUP.vab';
RESTORE controlfile FROM 'c-4097408439-20200410-00_RMAN_AUTOBACKUP.vab';
}
EXIT;
RUN {
ALLOCATE CHANNEL ch1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=%PROGRAMFILES
%\Veeam\VEEAMP~2\ORACLE~2.DLL';
SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F_RMAN_A
UTOBACKUP.vab';
RESTORE controlfile FROM 'c-4097408439-20200410-00_RMAN_AUTOBACKUP.vab';
}
EXIT;
RUN {
ALLOCATE CHANNEL ch1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=/opt/veeam/Ve
eamPluginforOracleRMAN/libOracleRMANPlugin.so';
RESTORE controlfile FROM 'c-4097408439-20200410-00_RMAN_AUTOBACKUP.vab';
}
EXIT;
RUN {
ALLOCATE CHANNEL ch1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=%PROGRAMFILES
%\Veeam\VEEAMP~2\ORACLE~2.DLL';
RESTORE controlfile FROM 'c-4097408439-20200410-00_RMAN_AUTOBACKUP.vab';
}
EXIT;
Using one of the example scripts below, depending on your OS, y ou can search for the autobackup file that was
created yesterday. If such autobackup file is not detected, RMAN will search for autobackup files that were
created earlier, up to 30 days ago.
Keep in mind that the example below is applicable only if persistent configuration for the control file
autobackup format is set to the SBT_TAPE device type.
RUN {
ALLOCATE CHANNEL ch1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=/opt/veeam/Ve
eamPluginforOracleRMAN/libOracleRMANPlugin.so';
RESTORE until time 'sysdate-1' CONTROLFILE FROM AUTOBACKUP maxdays 30;
}
EXIT;
RUN {
ALLOCATE CHANNEL ch1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=%PROGRAMFILES
%\Veeam\VEEAMP~2\ORACLE~2.DLL';
RESTORE until time 'sysdate-1' CONTROLFILE FROM AUTOBACKUP maxdays 30;
}
EXIT;
Once the autobackup file is detected, RMAN uses it to restore the control file.
See Also
If you did not find an example that suits your needs, refer to Oracle documentation:
• For details on restoring the control file, see this Oracle article.
• For details on the control file autobackup format, see this Oracle article.
1. Run a Veeam Plug-in backup job to create a new Veeam Plug-in backup in a Veeam backup repository. The
backup will consist of the .VAB, .VASM and .VACM files.
2. In the backup repository folder, replace the .VAB and .VASM files created at the step 1 with the .VAB and
.VASM files from the hardened repository.
3. In the Veeam backup console, run the backup repair operation. Veeam Backup & Replication will generate
a new .VACM file using information from the .VASM files. For details, see Repairing Backup.
Once the backup job metadata file is re-created, you can use Veeam Plug-in to restore your data.
Repairing Backup
If you want to restore data from an immutable backup that resides in a hardened repository, you can use the
Rep air operation. During this operation, Veeam Backup & Replication will generate a new backup job metadata
(.VACM) file using information from the backup metadata (.VASM) files.
IMP ORTANT
This operation is intended only for a situation where the backup job metadata file has been lost as a result
of malware activity or unplanned actions. Re-creation of the backup job metadata file for other purposes is
not supported.
Before you start the repair operation, you must disable the backup job that created the backup. Otherwise,
Veeam Backup & Replication will display a message notifying that the job must be disabled.
To repair a backup:
1. In the Veeam Backup & Replication console, open the Home view.
4. Press and hold the [Ctrl] key, right-click the backup and select Rep air.
Also, you can manually delete backups from a backup repository using the Veeam Backup & Replication console
and enable the force deletion functionality of Veeam Plug -in for Oracle RMAN. For details, see the following
sections:
• Red undancy-Based Retention: The redundancy parameter specifies how many full or level 0 backups of
each data file and control file should RMAN keep in the repository. If the number of backups exceeds the
specified value, RMAN considers the oldest backups as obsolete. By default, the redundancy parameter is
set to 1. To configure a redundancy-based retention policy, run the following command:
• Recovery Window-Based Retention: The recovery window parameter specifies the number of days
between the current time and the earliest point of recoverability. RMAN does not consider any full or level
0 incremental backups as obsolete if it falls within the recovery window. To configure a window -based
retention policy, run the following command:
NOTE
Make sure that the value set for the CONTROL_FILE_RECORD_KEEP_TIME parameter in the control
file is greater than the recovery window. Otherwise, the retention policy will not be applicable as the
backup records will be always overwritten earlier than they can be considered obsolete by the
retention policy. To learn more, see this Oracle article (requires an Oracle Support account).
DELETE OBSOLETE;
To configure archivelog deletion policy, run the following command. When the number of archived logs exceeds
the specified number, RMAN deletes the oldest archived log.
To delete obsolete archivelogs, run the following command. If you do not run this command, the archived logs
will be deleted from the fast recovery area (FRA) only.
Veeam Plug-in for Oracle RMAN has a functionality that automatically force deletes backup files which are older
than specified number of days. For example, you can use it if a backup repository contains backup files that are
no longer in the backup catalog.
OracleRMANConfigTool --set-force-delete
OracleRMANConfigTool.exe --set-force-delete
2. Enter the number of days after which Veeam Plug-in will force delete backup files on all configured
Veeam backup repositories.
Garbage collector automatically deletes backup files older than the specif
ied number of days.
Make sure the number of days value exceeds your retention policy.
To disable this functionality, set the number of days to 0.
Enter the number of days to delete backups after, between 7 and 999 [0]:
IMP ORTANT
• A value for the numb er of days setting must be at least 1 backup generation period longer than the
retention period for your Oracle Database backups. Otherwise, Veeam Plug -in will delete earliest
backups created within the retention period.
• If a backup repository contains backups older than the specified retention period, Veeam Plug-in
removes old backup files only after the next run of the RMAN backup.
If you have lost the recovery catalog, you can remove the backups manually from a Veeam backup repository.
IMP ORTANT
If you remove backups from a Veeam backup repository manually, the metadata about these backups is
NOT deleted from the recovery catalog. Thus, if you have a recovery catalog, it is not recommended to
manually delete backup files. Otherwise, the recovery catalog will remain in the outdated state.
1. In the Veeam Backup & Replication console, open the Home view.
3. In the working area, right-click the backup job object name and select Delete from disk.
When you remove a backup from the configuration, backup files (.VAB, .VASM, .VACM) remain on the backup
repository. You can import the backup later and restore data from it.
4. Press and hold the [Ctrl] key, right-click the backup and select Remove from configuration.
To build a successful data protection and disaster recovery plan, it is recommended that you follow the 3-2-1
rule:
• 3: You must have at least three copies of your data: the original production data and two backups.
• 2: You must use at least two different types of media to store the copies of your data, for example , local
disk and cloud.
• 1: You must keep at least one backup offsite, for example, in the cloud or in a remote site.
Thus, you must have at least two backups and they must be in different locations. If a disaster takes out your
production data and local backup, you can still recover from your offsite backup.
In This Section
• Creating Backup Copy Job
Veeam Backup & Replication fully automates the backup copy process and lets you specify retention settings to
maintain the desired number of restore points, as well as full backups for archival purposes. Backup copy is a
job-driven process. When enabled, the backup copy job for Veeam Plug-in backups runs continuously. For more
details on how it works, see the Backup Copy section in the Veeam Backup & Replication User Guide.
To copy backups to a secondary location, you must configure a backup copy job. The backup copy job defines
how, where and when to copy backups. One job can be used to process backups of one or more machines.
You can configure a job and start it immediately or save the job to start it later.
Before creating a job, check prerequisites. Then use the New Backup Copy Job wizard to configure a backup
copy job.
• Backup infrastructure components that will take part in the backup copy process must be added to the
backup infrastructure and properly configured. These include source and target backup repositories
between which backups must be copied.
• The target backup repository must have enough free space to store copied backups. To receive alerts
about low space on the backup repository, configure global notification settings. For more information,
see Specifying Other Notification Settings.
1. In the Veeam Backup & Replication console, open the Home view.
2. In the Description field, enter a description for the job. The default description contains information about
the user who created the job, date and time when the job was created.
1. Click the Ad d button and select from which entity you want to process the machines.
o From jobs: You can select Veeam Plug-in backup jobs. When a backup copy job runs, Veeam Backup &
Replication will search for backup files created by selected jobs.
o From repositories: You can select repositories where Veeam Plug-in backups are stored. When a
backup copy job runs, Veeam Backup & Replication will search for backup files created by Veeam
Plug-in in selected repositories.
2. Use the Remove button if you want to remove selected jobs or repositories from processing.
3. If you have added jobs from a repository and want to exclude from processing some of the backup jobs on
the selected repository, click E x clusions and select the jobs that you want to exclude.
1. From the Ba ckup repository list, select a backup repository in the target site where copied b ackups must
be stored. When you select a target backup repository, Veeam Backup & Replication automatically checks
how much free space is available on it. Make sure that you have enough free space to store copied
backups.
IMP ORTANT
For Veeam Plug-in backup copy jobs, you cannot select the following repositories as a backup copy
target:
2. If the target repository contains a Veeam Plug-in or MongoDB backup that was excluded from the backup
copy job, and if you don't want to transfer duplicate data, you can use the mapping feature.
After you configure mapping, if some of backup files (.VAB) of the source backup are missing in the target
backup copy, these files are uploaded to the target backup copy.
NOTE
b. Point the backup copy job to the backup in the target backup repository. Backups in the target backup
repository can be easily identified by backup job names. To facilitate search, you can use the search
field at the bottom of the window.
IMP ORTANT
• Used account must have access to Veeam backup repositories that you plan to use.
• Encryption must be disabled on the repository.
Otherwise, the repositories will not be listed as available. To learn how to configure access
permissions and encryption settings on repositories, see Access Permissions in the Veeam Backup &
Replication User Guide.
• Storage settings
• Notification settings
Storage Settings
At the Storage tab, define compression and deduplication settings.
By default, Veeam Backup & Replication performs deduplication before storing copied data on the target backup
repository. Deduplication provides a smaller size of the resulting backup file but may reduce the job
performance.
1. You can disable data deduplication. To do this, clear the E na ble inline data deduplication check box.
2. From the Compression level list, choose a compression level to be used: Auto, None, Dedupe-friendly,
Op timal, High or E x treme. The recommended level of compression for backup copy jobs is Auto. In this
case, Veeam Backup & Replication uses compression settings of the copied backup files. For more
information, see Compression and Deduplication.
If the backup copy is not created within the specified time period, the backup copy job will finish with the
Warning status. The countdown starts from the moment when the required backup is finished and ready to be
copied.
Notification Settings
At the Notifications tab, to specify notification settings for the backup copy job:
3. Select the Send SNMP notifications for this job check box if you want to receive SNMP traps when the job
completes successfully. SNMP traps will be sent if you specify global SNMP settings in Veeam Backup &
Replication and configure software on recipient's machine to receive SNMP traps. For more information,
see Specifying SNMP Settings.
4. Select the Send email notifications to the following recipients check box if you want to receive
notifications by email in case of job failure or success. In the field below, specify a recipient email address.
You can enter several addresses separated by a semicolon.
5. Veeam Backup & Replication sends a consolidated email notification once for the specified backup copy
interval. Even if the synchronization process is started several times within the interval, for example, due
to job retries, only one email notification will be sent.
6. Email notifications will be sent if you configure global email notification settings in Veeam Backup &
Replication. For more information, see Configuring Global Email Notification Settings.
8. You can choose to use global notification settings or specify custom notification settings.
o To receive a typical notification for the job, select Use global notification settings. In this case, Veeam
Backup & Replication will apply to the job global email notification settings specified for the backup
server. For more information, see Configuring Global Email Notification Settings.
o To configure a custom notification for a job, select Use custom notification settings specified below.
You can specify the following notification settings:
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName%, %JobResult%, %VmCount% (number of
machines in the job) and %Issues% (number of machines in the job that have been processed
with the W a rning or Fa iled status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive email
notification if data processing within the backup copy interval completes successfully, fails or
completes with a warning.
3. Use the E na ble and Disable options to mark the selected area as allowed or prohibited for the backup copy
job.
2. Select the E na ble the job when I click Finish check box if you want to start the job right after you finish
working with the wizard.
You can convert and unbind Veeam Plug-in backups into regular Veeam Plug-in backup files in the following
cases:
• If you have deleted a backup copy job which created the backup copy.
• If you have excluded a backup job from a backup copy job that used multiple backup jobs as a source.
NOTE
If you want to restore from a backup copy, you don't need to convert the backup copy to backup. For
details, see Restore from Backup Copy.
Procedure
To convert a backup copy to a primary backup, use the --p romote-backup-copy-to-primary parameter as shown
below:
1. Run the Ora cleRMANConfigTool with the --p romote-backup-copy-to-primary parameter and type a
backup copy number from the list of available backup copies.
OracleRMANConfigTool --promote-backup-copy-to-primary
Backup copies available for promotion to the primary backup target:
1. Backup Copy Job 1\ORCLSERV01 Oracle backup (Default Backup Repository)
Select a backup copy: 1
Changes to be applied to the RMAN configuration
CONFIGURE CHANNEL DEVICE TYPE SBT_TAPE
PARMS 'SBT_LIBRARY=%PROGRAMFILES%\Veeam\VEEAMP~1\ORACLE~2.DLL'
FORMAT '94a7ac5a-2cb5-418b-8395-fb362d3aa182/RMAN_%I_%d_%T_%U.vab';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F_RM
AN_AUTOBACKUP.vab';
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1;
RMAN configuration to be applied:
SQL "alter system set backup_tape_io_slaves=false deferred scope=both";
When you submit a support case, we recommend you attach necessary logs related to Veeam Plug -in
operations.
TIP
If you want to protect the SAP server itself, you can use the image-level backup functionality of Veeam
Backup & Replication or Veeam Agent for Linux.
Veeam Plug-in for SAP on Oracle can operate in standalone or managed mode. Depending on the operation
mode, Veeam Plug-in has different functionality and limitations. In standalone mode, you can install Veeam
Plug-in manually on the computer whose databases you want to protect. Veeam Plug -in in standalone mode
uses the Veeam Backup & Replication console to perform backup operations. In managed mode, you can install
Veeam Plug-in using the Veeam Backup & Replication console. The Veeam Backup & Replication console
automates the operation of Veeam Plug-ins running on computers in your infrastructure. To learn more about
Veeam Plug-in operation modes, see Standalone and Managed Operations Modes.
For backup operations, use the SAP BR*Tools. Veeam Plug -in for SAP on Oracle transfers backup data to the
Veeam backup repository and stores the data in the Veeam proprietary format for backups. To learn more about
backup operations, see Data Backup.
In case of malware activity or unplanned actions, you can perform restore operations based on the backup dat a
transferred by Veeam Plug-in to the Veeam Backup & Replication backup repositories. All restore operations are
performed on the SAP BR*Tools side. To learn more about restore operations with Veeam Plug -in, see Data
Restore.
• brtools
• brbackup
• brrestore
• brarchive
1. When you launch a database backup, BRTOOLS starts the services of Veeam Plug -in.
2. Veeam Plug-in connects to the Veeam Backup & Replication server and creates a backup job object (if it
has not been created before). Veeam Backup & Replication administrators can use this backup job object
to monitor the backup process, manage backup files and copy the database backup to secondary
repositories.
3. BRTOOLS launches the backint BRBACKUP tool that uses the Veeam Plug -in configuration file as an
initialization profile.
4. Veeam Plug-in starts Veeam Data Mover on the SAP server and on the backup repository. Veeam Data
Movers create communication channels for each backup data stream. Depending on the number of
channels specified in Veeam Plug-in settings, there can be 1 or up to 32 parallel channels.
5. Veeam Data Movers transport database backup files to the backup repository.
Some backup operations, such as backing up of profiles, log files, control files and performing incremental
backups of databases can be performed only with RMAN_UTIL. For details, see this SAP article.
For detail on how Veeam Plug-in for SAP on Oracle functions along with RMAN see, SAP on Oracle Backup
Using RMAN_UTIL.
With Veeam Plug-in for SAP on Oracle, you can create a consistent backup of Oracle databases and
automatically transfer the backup files to the Veeam backup repository. Veeam Backup & Replication creates a
backup job for all backup processes started on the SAP on Oracle side. Use this job to view the statistics on the
backup process, generate backup job reports or disable the Oracle backup jobs. All backup processes are
performed on the SAP on Oracle side and are managed by the SAP BR*Tools. For details on how to back up
Oracle databases with Veeam Plug-in for SAP on Oracle, see Database Protection.
For each backup operation, Veeam Plug-in automatically creates and stores database backup files. For each of
the created backup files, Veeam Plug-in also creates separate metadata files. The backup and metadata files
help Veeam Plug-ins to store and manage backup data while ensuring that the data is protected, accessible, and
can be quickly restored when needed. All backup files created for backup jobs reside in a dedicated job folder in
the backup repository. For details on backup files, see Veeam Plug-in Backup Files.
To store backup files, you can add backup repositories to your Veeam Backup & Replication infrastructure. For
details on all supported backup repositories, see Veeam Backup Repositories.
All backup files created by the backup job reside in a dedicated job folder in the backup repository.
• A .VAB file stores a compressed copy of an Oracle database. Veeam Plug -in creates .VAB files for full,
incremental and log backups.
• A .VASM file stores metadata that contain information about the backup. A .VASM file is created for each
.VAB backup file with the same name as the backup file. The .VASM files are used by Veeam Backup &
Replication to get data about Veeam Plug-in backups.
• A .VACM file stores metadata about the backup job. A .VACM file is created for each backup job. The
.VACM file is used by Veeam Backup & Replication to get data about Veeam Plug -in backup job.
In the initial backup session, Veeam Plug-in writes backup data about each backed-up database in a separate,
newly created backup file. During subsequent backup sessions, Veeam Plug -in can continue writing backup data
in the existing backup file or create a new file. Veeam Plug -in creates a new file only if the previous backup file
was created more than 24 hours ago.
NOTE
Keep in mind that if you use the scale-out backup repository as a backup target, Veeam Plug -in can create
a backup file for the backed-up database on each repository extent.
• Veeam Plug-in can write data to the created backup file for 24 hours.
After one of the limits is reached, Veeam Plug-in closes the backup file and cannot add new data to this
file. Keep in mind that Veeam Plug-in must close the backup file to allow Veeam Backup & Replication to
perform the following operations:
Before you start performing operations on backup repositories within the Veeam Backup & Replication
infrastructure, consider that you need to set the access permissions for each repository. For details, see Access
and Encryption Settings on Repositories.
• Windows Server
• Linux Server
• NFS Share
• Infinidat InfiniGuard
• HPE StoreOnce
If you plan to use HPE StoreOnce as a backup repository for Veeam Plug -in backups, the total number of
stored files (data and metadata) must not exceed 3,000,000 per Catalyst store. If necessary, multiple
Catalyst stores may be created on the same StoreOnce system.
• Quantum DXi
• ExaGrid
Make sure the repository is configured as described in the ExaGrid section in the Veeam Backup &
Replication User Guide.
Make sure that the performance extents of the scale-out backup repository contain repositories supported
by Veeam Plug-in for SAP on Oracle. For example, you cannot use object storage repositories as
performance extents to keep backups created with Veeam Plug -ins.
To configure the warning settings, add the following parameter in the veeam_config.xml file:
Keep in mind that you must add the parameter to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in
the first detected line. Other parameters will be ignored.
• The plug-in configuration wizard will not show repositories where the E ncrypt backups stored in this
rep ository option is enabled. To learn how to disable the encryption option, see Access and Encryption
Settings on Repositories.
If you want to use the same backup target with the repository-based encryption and Veeam Plug-ins,
create a second repository in the subfolder for Veeam Plug -in backups.
• Veeam Plug-ins do not support backup operations targeted directly to object storage repositories.
To learn more about object storage repositories, see the Object Storage Repositories section in the Veeam
Backup & Replication User Guide.
• Veeam Plug-ins do not support backup operations to object storage added as a performance extent of a
scale-out backup repository.
• You cannot rename a scale-out backup repository with Veeam Plug-in backups stored on this repository.
• For Veeam Plug-in backups and backup copies, the Performance policy of a scale-out repository functions
differently:
a. Veeam Backup & Replication checks if there are extents without warning on free space insufficiency.
If there is no extents without the warning, Veeam Backup & Replication uses an extent with the
largest amount of free space that has a free task slot.
b. For the extents without the warning, Veeam Backup & Replication checks if there are incremental
extents with free task slots.
If there are no incremental extents with free task slots, Veeam Backup & Replication uses a full extent
with the least amount of used task slots.
If several extents has the same least amount of used tasks, Veeam Backup & Replication uses an
extent with the largest amount of free space.
To learn more about file placement policies of scale-out repositories, see Backup File Placement section in
the Veeam Backup & Replication guide.
• If a scale-out repository is configured in the Data locality policy, each time BR*Tools starts a new channel
for transferring backup files, Veeam Plug-in checks the free space in the extents and selects a scale-out
backup repository extent that has the largest amount of free space.
If there are two extents with only one task slot on each extent, the backup is performed using two para llel
streams (one stream per extent).
• If you want to add a backup repository which contains Veeam Plug -in backups as an extent to a scale-out
backup repository, you must do the following:
a. Select Veeam Plug-in backup files that reside in this backup repository and remove them from
configuration.
To learn more, see the Removing Backups from Configuration section in the Veeam Backup &
Replication User Guide.
To learn more, see the Disabling and Deleting Jobs section in the Veeam Backup & Replication User
Guide.
To learn more, see the Extending Scale-Out Repositories section in the Veeam Backup & Replication
User Guide.
To learn more, see the Rescanning Scale-Out Repositories section in the Veeam Backup & Replication
User Guide.
NOTE
[For imports to the scale-out backup repository] Before importing your backup, consider that
the names of all backup files (.VAB, .VASM, .VACM) and paths to these files contain only the
following allowed characters:
• a-zA-Z0-9
• _-.+=@^
If your backup was initially created on a standalone backup server, the default name of the
backup metadata file (.VACM) contains forbidden characters. Before importing, you must delete
forbidden characters from the file name or replace them with the allowed characters.
e. On the Veeam Plug-in server, set the scale-out repository as the target for backups using the
following command:
SapBackintConfigTool --set-repositories
SapBackintConfigTool --map-backup
Capacity Tier
You can configure Veeam Backup & Replication to transfer Veeam Plug -in backup files to a capacity tier. Both
policies (Move policy, Copy policy) are supported for Veeam Plug -in backups with the following limitations:
• For Veeam Plug-in backup files, capacity tier does not verify whether data that is being moved is unique
and has not been offloaded earlier. Thus, it is highly recommended to check the pricing plans of your
cloud storage provider to avoid additional costs for offloading and downloading backup data.
• To offload Veeam Plug-in backup files to the capacity tier, Veeam Backup & Replication splits data into 1
MB objects and compresses the resulting objects. The default object size will be a compressed 1 MB block,
resulting in objects of around 512 KB in size.
• Veeam Backup & Replication offloads Veeam Plug-in for SAP on Oracle backup files to the capacity tier
with the Copy and Move policies in different ways. With the Copy policy, Veeam Backup & Replication
checks backup files every 1 hour and runs an offload job only if new backup files exist. With the Move
policy, Veeam Backup & Replication checks backup files every 4 hours and runs an offload job, even if
there are no new files.
IMP ORTANT
With both the Copy and Move policies, Veeam Backup & Replication copies and moves to the
capacity tier only non-active backup files created more than 24 hours ago, which match the capacity
tier configuration parameters. To learn more about the capacity tier configuration, see Add Capacity
Tier in the Veeam Backup & Replication User Guide.
• Veeam Plug-in supports encryption of offloaded data to the capacity tier. The E ncrypt data uploaded to
ob ject storage option in the Ca pacity Tier settings of the scale-out backup repository ensures that the
entire collection of blocks along with the metadata will be encrypted while being offloaded. To learn more
about capacity tier encryption, see the Encryption for Capacity Tier section in the Veeam Backup &
Replication User Guide.
• Capacity tier does not track dependencies of full and incremental Veeam Plug-in backup files. Thus,
consider the following:
o [For the Move policy] When backup files are transferred to the capacity tier, Veeam Backup &
Replication takes into account only the creation time of backup files. Make sure that the operational
restore window is not longer than the whole backup chain cycle period. Otherwise, you may
encounter the scenario when full backup files are transferred to the capacity tier and their increment
backup files still remain in the performance tier.
• In case a disaster strikes the scale-out repository and you have a Veeam Plug-in backup file on the capacity
tier, you must re-create the scale-out repository before you restore from this backup file. You must
connect the capacity tier with the Veeam Plug-in backup file to another backup server with Veeam Backup
& Replication and a scale-out repository. After that, you can import the backup files to Veeam Backup &
Replication and then perform data recovery operations.
Hardened Repository
You can configure Veeam Backup & Replication to transfer Veeam Plug -in backup files to a hardened repository.
The hardened repository helps to protect Veeam Plug -in backup files from loss as a result of malware activity or
unplanned actions. Backup files in the hardened repository become immutable for the time period specified in
the backup repository settings. During this period, backup files stored in the repository cannot be modified or
deleted.
For Veeam Plug-in for SAP on Oracle backups, immutability works according to the following rules:
• Immutability is applied to backup (VAB) files and backup metadata (VASM) files. Backup job metadata
(VACM) files are not immutable.
• Backup files become immutable for the configured time period (minimum 7 days, maximum 9999 days).
• Backup files become immutable after 24 hours have passed since each file was created. The immutability
service runs in the background at every hour. This service detects and sets immutability flags for any
backup file that can no longer be reused.
TIP
Contact Veeam Customer Support to change the default 24 hour lifespan of a backup file. To do that,
you can submit a support case on the Veeam Customer Support Portal.
• The immutability period is not extended for the active backup chain.
You can use the SAP BR*Tools to restore databases. All restore operations are performed on the SAP BR*Tools
side. For details on how to use specific restore tools, see Database Recovery.
Depending on the available type of Veeam Plug -in backups that will be the source for the restored databases,
you can perform the following restore operations:
You can also restore Oracle databases from a Veeam Plug -in backup to another server. For details, see
Restore to Another Server (System Copy).
Restore Oracle databases from backup copies created for Veeam Plug -in for SAP on Oracle backups. The
procedure of database restore from a backup copy is the same as database restore to another server. For
more information, see Restore from Backup Copy.
Depending on the available Veeam Plug-in backup files, you can also perform the following restore operations:
Restore Oracle databases from hardened repositories by creating new backup job metadata files (.VACM)
with data from available backup metadata files (.VASM). For details, see Restore from Hardened
Repository.
In This Section
• System Requirements
• Permissions
• Ports
• Licensing
NOTE
The following system requirements apply to Veeam Plug -in for SAP on Oracle operating in the standalone
mode.
For more information on system requirements for Veeam Plug-in managed by Veeam Backup & Replication,
see System Requirements for Managed Veeam Plug-ins.
Sp ecification Requirement
OS Veeam Plug-in for SAP on Oracle is supported for the following distributions:
BR*Tools Veeam Plug-in for SAP on Oracle supports BR*Tools version 7.20, Patch 42 or later.
Ora cle Database Veeam Plug-in for SAP on Oracle supports the following Oracle Database versions:
• 11gR2
• 12c
• 18c
• 19c: Standard and Enterprise Edition
Note:
Oracle Express Edition (XE) and Oracle Real Application Cluster (RAC) environment are
not supported.
Veeam Backup & Veeam Backup & Replication supports two latest versions of Veeam Plug -ins. For
Rep lication example, Veeam Backup & Replication 12.3 supports Veeam Plug -in 12.3 and 12.2.
Keep in mind that if you use an earlier Veeam Plug-in build than the one that is
included in the installation ISO file of your Veeam Backup & Replication version, it may
not have all the features and bug fixes introduced in your Veeam Backup & Replication
version. To learn more about the Veeam Plug-in builds included in Veeam Backup &
Replication installation ISO files, see this Veeam KB article.
Network Veeam Plug-in should be able to establish a direct IP connection to the Veeam Backup
& Replication server. Thus, Veeam Plug-in cannot work with the Veeam Backup &
Replication server that is located behind the NAT gateway.
Installing and updaing The account used for installing and updating Veeam Plug -in must have root
Veeam Plug-in privileges.
Performing backup The account used to start BR*Tools backup and restore operations must have
and restore operations permissions described in the Starting BR*Tools section in the SAP Database Guide:
in Veeam Plug-in Oracle.
* For NFS share, SMB share repositories, and Dell Data Domain, HPE StoreOnce deduplication storage appliances, Veeam
Backup & Replication uses an auxiliary backup infrastructure component — gateway server. For details, see the Gateway
Server section in the Veeam Backup & Replication User Guide.
** This range of ports applies to newly added backup infrastructure components. If you upgrade to Veeam Backup &
Replication 10.0 from earlier versions of the product, the range of ports from 2500 to 5000 applies to the already added
components.
Backup
Veeam Default range of ports used as data
repository
Backup & 2500 to transmission channels. For every TCP
server or TCP
Replication 3300** connection that a backup process uses,
gateway
server one port from this range is assigned.
server*
Linux server
used as a
Port used as a control channel from the
backup
TCP 22 Veeam Plug-in server to the target Linux
repository or
host.
gateway
server
Veeam
Backup &
Replication Microsoft Ports used as a management channel from
TCP 135,
server Windows the Veeam Plug-in server to the
137 to 139,
server used UDP Repository/Gateway server. Also, the ports
445
as a backup are used to deploy Veeam components.
repository or
gateway 6160, Default ports used by the Veeam Installer
server TCP
6162 Service and Veeam Data Mover Service
(specified in
the SMB SMB server SMB/Netbios name resolution for the SMB
TCP 135, protocol (needed in some cases). For
share
repository UDP 137 to 139 details, see the Used Ports section in the
settings) Veeam Backup & Replication User Guide.
Gateway
server
or For more
Gateway Main port used by NFS. To change the
information,
server port, you can use the nfs set server-
see this Dell TCP 2049
port command. Note that the command
KB article.
requires SE mode.
HP E StoreOnce
E x aGrid
Veeam
Backup & Default command port used for
ExaGrid TCP 22
Replication communication with ExaGrid.
server
Veeam
Backup & Default command port used for
Quantum DXi TCP 22
Replication communication with Quantum DXi.
server
Veeam
Fujitsu Default command port used for
Backup &
ETERNUS TCP 22 communication with Fujitsu ETERNUS
Replication
CS800 CS800.
server
Infinidat InfiniGuard
Veeam
Backup & Infinidat Default command port used for
TCP 22
Replication InfiniGuard communication with Infinidat InfiniGuard.
server
For detailed list of ports used by Veeam Backup & Replication server and backup repositories, see the Used Ports
section in the Veeam Backup & Replication User Guide.
This guide provides information only on specifics of Veeam licenses for Veeam Plug-ins. For terminology and
general information about Veeam Licensing, see Veeam Licensing Policy.
Licensed Objects
An SAP on Oracle server is assumed protected if it has been processed by a Veeam Plug-in backup job in the last
31 days.
If you are using any instance-based (Veeam Universal Licensing) license on your Veeam Backup & Replication,
you don't need to install any additional licenses. A protected SAP on Oracle server consumes one instance unit
from the license. SAP on Oracle servers processed by backup copy jobs are not regarded as protected VMs, these
types of jobs provide an additional protection level for VMs that are already protected with Veeam Plug -in
backup jobs.
A machine protected by both Veeam Plug-in and Veeam Backup & Replication will consume a license only once.
For example, you have an SAP on Oracle server that you back up using Veeam Plug-in. You also back up this
server using image-level backup functionality of Veeam Backup & Replication. In this case, only one license will
be consumed.
NOTE
[For Perpetual per-socket licenses] If you are using a legacy perpetual per-socket license, a license is
required for each hypervisor CPU socket occupied by protected SAP on Oracle servers.
A socket is consumed from the license only if the hypervisor where protected servers reside is added to the
Veeam Backup & Replication infrastructure. If the hypervisor is not added to the Veeam Backup &
Replication infrastructure, an instance unit will be consumed from the license. To learn how to add a
hypervisor to the Veeam Backup & Replication infrastructure, see the Virtualization Servers and Hosts
section in the Veeam Backup & Replication User Guide.
You can use Veeam Plug-ins with all license packages ( Veeam Backup Essentials, Veeam Backup &
Replication, Veeam Availability Suite ).
Note that if you use the Rental license type, functionality of Veeam Plug-ins is supported only for the
Enterprise Plus edition of Veeam Backup & Replication.
To assign a custom name, update the Veeam configuration XML file as follows:
2. Add the customServerName parameter entry to the <PluginParameters /> line in the Veeam
configuration XML file:
After adding this parameter, Veeam Plug-in will use the specified custom name of the server to name the
backup job and backup folder.
For example:
After adding this parameter, Veeam Plug-in will use the fully qualified domain name (FQDN) of the server to
name the backup job and backup folder.
Keep in mind that you must add the parameters to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in the
first detected line. Other parameters will be ignored.
IMP ORTANT
For security reasons, it is recommended to use separate repositories for different customers and limit the
Veeam Repository Authentication to the specific customer.
<IgnoreVBRNetworkRules=true />
To learn more about traffic encryption, see the Enabling Traffic Encryption section in the Veeam Backup &
Replication User Guide.
If this user will be later changed manually, the new user must have at least the Veeam Backup Operator and
Veeam Restore Operator rights within the Veeam Backup & Replication user management. To learn how to
assign Veeam Backup & Replication roles, see the Users and Roles section of the Veeam Backup & Replication
User Guide.
The following hardware resources are recommended based on tests on Skylake processors:
• SAP on Oracle server: 1 CPU core and a minimum of 200 MB of RAM per currently used channel. Note that
resource consumption on the SAP on Oracle server depends on hardware and Oracle settings.
• Ba ckup repository server: 1 CPU core and 1 GB of RAM per 5 currently used channels.
These resources are recommended only if you use a dedicated backup repository for Veeam Plug -in
backups. If you use the same backup repository for Veeam Plug -in backups and VM backups created by
Veeam Backup & Replication or Veeam Agents, consider adding the hardware resources based on usual
load on your backup repository. For details on hardware requirements for a backup repository, see the
System Requirements section of the Veeam Backup & Replication User Guide.
It is recommended to contact your Veeam system engineer to optimize the channel settings and resource
allocation.
It is recommended to use a separate backup repository for Veeam Plug -in backups.
• Veeam Backup & Replication server: during manual metadata operations such as import of backup files,
the Veeam Backup & Replication server needs additional 15 GB of RAM per 1 million files located in the
same backup job folder.
Scheduling
You can schedule backup processes using Cron.
Also, you can schedule and run existing SAP BR*Tools backup scripts within image-level or file-level backup job
of Veeam Backup & Replication or Veeam Agent. For details, see the Pre-Freeze and Post-Thaw Scripts section
of the Veeam Backup & Replication User Guide.
In This Section
• Installing Veeam Plug-in for SAP on Oracle
This guide gives instructions on how to deploy Veeam Plug -in assuming that you have already deployed a
Veeam Backup & Replication server and configured a backup repository. If you need instructions on how to
deploy Veeam Backup & Replication, see the Veeam Backup & Replication User Guide for your platform.
You can install Veeam Plug-in using the .RPM package or extract the plug-in files from the .TAR.GZ archive.
Depending on the type of package suitable for your OS, perform steps in one of the following guides:
IMP ORTANT
• Veeam Plug-in for SAP on Oracle must be installed on the Oracle Database server.
• The /opt/veeam directory must be writable.
• The NOEXEC mount option must be disabled for the /var and /tmp directories.
• To install the Veeam Plug-in, use the sudo command or a user with root privileges.
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image from the Veeam Backup & Replication: Download page.
rpm -i VeeamPluginforSAPOracle-12.3.0.310-1.x86_64.rpm
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image from the Veeam Backup & Replication: Download page.
mkdir /opt/veeam
5. Unpack the plug-in files from the archive to the /opt/veeam directory:
• Consider supported types of backup repositories and limitations for Veeam Plug -in backups in Veeam
Backup Repositories.
• To store backups in a backup repository, the specified account must have access permissions on the target
backup repository.
2. In the inventory pane, click the Ba ckup Repositories node or the Sca le-out Repositories node.
3. In the working area, select the necessary backup repository and click Set Access Permissions on the ribbon
or right-click the backup repository and select Access permissions.
4. In the Access Permissions window, on the Sta ndalone applications tab specify to whom you want to grant
access permissions on this backup repository:
o Allow to everyone — select this option if you want to grant repository access to any user. This option
is equal to granting access rights to the Everyone group in Microsoft Windows (anonymous users are
excluded). For security reasons, the option is not recommended for production environments.
o Allow to the following accounts or groups only — select this option if you want only specific users to
be able to store backups in this repository. Click Ad d to add the necessary users and groups to the list.
5. Veeam Plug-ins cannot send backups or backup copies to a backup repository where encryption is
enabled. Thus, make sure that the E ncrypt standalone application backups stored in this repository check
box is not selected.
• To perform this procedure, your OS user account must have root privileges.
• After a user is added to the group, the user must log out, then log in to the Linux OS again to activate t he
group permissions.
IMP ORTANT
The user that configures the plug-in must be added to the group. As a rule, this user is ora<dbsid>
or root, but the root user account has access to all files in the system and does not need to be
added to the group.
where:
o <userName> — the name of the account that will be granted access to the configuration file.
3. Change the ownership of the configuration file to enable users from the dedicated group to access the
configuration file. To do this, run the following command:
Veeam Plug-in uses the Sa pOracleBackintConfigTool wizard to configure the integration settings. The wizard
searches for all SAP on Oracle systems deployed on the server and creates the veeam_initSID.sap file for
each system. Then, this file is used as an initialization profile for brbackup, brrestore and brarchive tools.
Depending on the version of Oracle Database, Veeam Plug -in stores the configuration file in one of the
following directories:
IMP ORTANT
Veeam Plug-in may not be able to detect SAP instances during the configuration if the Oracle Database and
SAP central instance are running on different hosts. If you work with Veeam Plug-in in the managed mode,
this configuration is not supported. If you work with Veeam Plug -in in the standalone operation mode, you
can do the following:
1. Complete all the steps of the Veeam Plug-in configuration wizard described in the Veeam Plug-in
Configuration section. As a result, Veeam Plug-in will create a new veeam_initSID.sap
initialization profile and save it in the /tmp/ directory.
2. Manually copy all lines from the new initialization profile to the default initialization profile. You can
also specify the path to the veeam_initSID.sap file in each BRBACKUP, BRRESTORE and
BRARCHIVE command.
Note that this approach applies only for Veeam Plug-in in the standalone operation mode. To learn more
about operation modes, see Standalone and Managed Operations Modes.
NOTE
The configuration of Veeam Plug-in must be performed by a user with database administrator rights on the
Oracle Database server.
1. Log in to the Oracle Database server as a user with database administrator rights and run the following
command to launch the Veeam Plug-in configuration tool. You do not need root privileges if you have
configured group access as described in the Permissions section.
SapOracleBackintConfigTool --wizard
./SapOracleBackintConfigTool --wizard
2. Specify the DNS name or IP address of the Veeam Backup & Replication server that you want to use.
3. Specify the port which will be used to communicate with the Veeam Backup & Replication server. Default
port: 10006.
4. Specify credentials to authenticate against the Veeam Backup & Replication server.
IMP ORTANT
• You can work with backups created by Veeam Plug-in only with the account used for creating
the backups. If you want to use another account, assign the Veeam Backup Administrator role
or Veeam Backup Operator and Veeam Restore Operator roles to the account.
To learn how to assign Veeam Backup & Replication roles, see the Users and Roles section in
the Veeam Backup & Replication User Guide.
• The account must have access permissions on the required backup repository. To learn how to
configure access permissions and encryption settings on repositories, see Access and
Encryption Settings on Repositories.
In the wizard dialog, you will see a list of available repositories. Enter the number of the target repository
from the list.
• The account used to connect to the Veeam Backup & Replication server must have access to
the target backup repositories.
• Encryption must be disabled on the target backup repositories.
Otherwise, backup repositories will not be listed as available. To learn how to configure access and
encryption settings on repositories, see Access and Encryption Settings on Repositories.
6. Specify the number of parallel data streams for each backup repository.
Note that this parallelism setting applies only to backup and restore of Oracle datafiles. If you want to
configure parallel channels for backup and restore of redo logs, see Configuring Parallelism for Redo Logs.
IMP ORTANT
When you work with the command-line tool, use one configuration parameter per command. The tool does
not support commands with multiple parameters.
P a rameter Description
--wizard Starts the wizard to configure the plug-in settings. The wizard
edits the Veeam Plug-in configuration file
(veeam_config.xml) or creates a new one if the configuration
file was removed from the
/opt/veeam/VeeamPluginforSAPOracle directory on the
machine where Veeam Plug-in is installed.
--set-host <hostname> Specifies the IP address or hostname of the Veeam Backup &
Replication server.
--set-port <port_number> Specifies a port number that will be used to communicate with
the Veeam Backup & Replication server.
--set-backup-for-restore [For System Copy] Specifies the backup that will be used for
restore operations. You can use this parameter if you want to
restore a database to another server or to restore a database
from a backup copy.
--p romote-backup-copy-to-primary Maps the imported backup copy to a regular Veeam Plug -in
backup chain.
--set-parallelism <number_of_channels> Define the number of parallel channels that must be used to
transfer Oracle datafiles during the backup and restore
operations.
--show-preferred-networks Shows the list of preferred networks set for Veeam Plug -in data
traffic to the remote backup repository.
--a dd-preferred-network Adds a network to the list of preferred networks for Veeam
< network_IP_address> <position_in_list> Plug-in data traffic to the remote backup repository.
Example
The following example shows how to specify credentials that will be used to log in to the Veeam Backup &
Replication server.
NOTE
• By default, if there are no specified preferred networks for Veeam Plug -in data traffic, Veeam Plug-
in will connect to preferred networks specified in Veeam Backup & Replication. To learn more about
setting preferred networks in Veeam Backup & Replication, see the Specifying Preferred Networks
section in the Veeam Backup & Replication User Guide.
• Veeam Plug-in does not save information about failed network connections. If backup or restore
operations fail, Veeam Plug-in tries to connect to the following network from the preferred
networks list to finish the started operations. Regardless of the first unsuccessful connection,
Veeam Plug-in will try to perform the next backup operations first on the failed network.
• Veeam Plug-in network preferences take priority over Veeam Backup & Replication network
preferences. Only if the preferred networks for Veeam Plug -in data traffic are not available for any
reason, Veeam Plug-in will try to connect to the Veeam Backup & Replication preferred networks.
To specify networks for data transfer, you must create a list of preferred networks. When Veeam Plug -in needs
to transfer data, it uses networks from this list. If a connection over any of the preferred networks cannot be
established for any reason, Veeam Plug-in will automatically fail over to the following network from the
preferred networks list.
To create and manage the list of preferred networks that Veeam Plug -in will use, you can perform the following
operations:
where:
o <network_IP_address> can be either the IP address of a single network or a network mask that
contains a range of network IP addresses. Specify one of the available options to add as preferred
networks for Veeam Plug-in data traffic.
For example:
SapOracleBackintConfigTool --show-preferred-networks
The following example shows what the output of the Sa pOracleBackintConfigTool command with the --show-
preferred-networks parameter can look like:
SapOracleBackintConfigTool --show-preferred-networks
Preferred networks:
1. 172.24.29.156
2. 172.24.26.189
where <network_IP_address> can be either the IP address of a single network or a network mask that
contains a range of network IP addresses. Specify one of the available options to remove from the
preferred networks list.
For example:
If you throttle performance, Veeam Backup & Replication starts Veeam Plug -in backup operation processes with
low priority and nice value of 19. The nice values are in ascending order of priority ranging from -20 (the highest
priority) to 19 (the lowest priority). Keep in mind that Veeam Plug-ins manage the priority of backup operation
processes only if the system running on the target computer is busy with other tasks.
NOTE
• By default, Veeam Plug-in does not throttle performance.
• Performance throttling does not apply to restore operations.
1. Log into the machine with a user with root or instance owner privileges.
2. Start the Veeam Plug-in configuration wizard with the following parameter:
SapOracleBackintConfigTool --set-throttling
All backup activities will be throttled if the system is busy. Backup perf
ormance may be affected. Proceed? (y/N): y
where:
o the LogsParallelism parameter defines the number of parallel channels for backup and restore of
redo logs
o the Parallelism parameter configures the parallelism for backup and restore of Oracle datafiles.
This setting is configured in the Veeam Plug-in configuration wizard
Keep in mind that you must add parameters to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in
the first detected line. Other parameters will be ignored.
• If backup files are not imported according to instructions given in this section, Veeam Plug-in backup and
restore operations may fail.
• The repository from which you plan to import backups must be added to the Veeam Backup & Replication
infrastructure. Otherwise you will not be able to access backup files.
• [For imports to the scale-out backup repository] Before importing your backup, consider that the names
of all backup files (.VAB, .VASM, .VACM) and paths to these files contain only the following allowed
characters:
o a-zA-Z0-9
o _-.+=@^
If your backup was initially created on a standalone backup server, the default name of the backup
metadata file (.VACM) contains forbidden characters. Before importing, you must delete forbidden
characters from the file name or replace them with the allowed characters.
1. Move the folder with the backup file to the required backup repository or create a new backup repository
with this folder as a subfolder.
TIP
Each Veeam Plug-in backup file (.VAB) has its own metadata file (.VASM). Make sure you import
backup files and all related metadata files. Also, you must import the backup job metadata file
(.VACM) which is stored in the same folder.
2. Use the Veeam Backup & Replication console to log in to Veeam Backup & Replication.
4. In the inventory pane of the Ba ckup Infrastructure view, select the Ba ckup Repositories node.
During the rescan operation, Veeam Backup & Replication gathers information about backups that are
currently available in the backup repository and up dates the list of backups in the configuration database.
After the rescan operation, backups that were not in this configuration database will be shown on the
Home view in the Ba ckups > Disk (Imported) node.
6. On the SAP on Oracle server, change the target backup repository in the Veeam Plug-in settings:
NOTE
Before you re-map your backup to the repository, make sure that there is not an existing backup job
on your machine with Veeam Plug-in that is targeted at the same repository. If there is such a job,
delete this job from the Veeam Backup & Replication console.
If you want to upgrade Veeam Plug-in, note that Veeam Backup & Replication must be the same or later than
the version of Veeam Plug-in. If you want to use the latest functionality, you must upgrade both Veeam Backup
& Replication and Veeam Plug-in to the latest version. After the upgrade, you don't need to re-run the Veeam
Plug-in configuration wizard, the plug-in configuration files will be preserved.
IMP ORTANT
• You must upgrade Veeam Backup & Replication before you upgrade Veeam Plug -ins. To learn how to
upgrade Veeam Backup & Replication, see the Upgrading to Veeam Backup & Replication 12.3 section
in the Veeam Backup & Replication User Guide.
• Veeam Backup & Replication supports two latest versions of Veeam Plug -ins. For example, Veeam
Backup & Replication 12.1 supports Veeam Plug-in 12.1 and 12.
Keep in mind that if you use an earlier Veeam Plug-in build than the one that is included in the
installation ISO file of your Veeam Backup & Replication version, it may not have all the features and
bug fixes introduced in your Veeam Backup & Replication version. To learn more ab out the Veeam
Plug-in builds included in Veeam Backup & Replication installation ISO files, see this Veeam KB
article.
• Operations in the terminal of the Linux machine require root privileges .
2. Open the mounted disk image and go to the Plugins\SAP on Oracle\x64 directory.
3. Select the Veeam Plug-in installation file and upload it to the SAP HANA server.
The upgrade procedure depends on the type of package that you use:
2. Run the following command. Note that the operation requires root privileges.
TIP
To find out which version of Veeam Plug-in is installed on your server, you can use the following
command: rpm -qa | grep VeeamPlugin
2. In the terminal, open the folder that contains the VeeamPluginforSAPOracle.TAR.GZ archive.
3. Unpack the plug-in files from the archive to the /opt/veeam directory. Old Veeam Plug-in files will be
replaced by new files.
rpm -e VeeamPluginforSAPOracle
Keep in mind that examples in this section are provided only for demonstrating purposes. For details on full
backup functionality of SAP BR*Tools, see this SAP article.
In This Section
• Considerations and Limitations
NOTE
This guide provides examples for SAP BR*Tools commands. Apart from BR*Tools scripts, you can perform
backup operations using BRTOOLS interactive wizard and BR*Tools Studio. For details, see this SAP article.
• You can make incremental backups only with the rman_util parameter. For details, see this SAP article.
To learn how to perform an incremental backup, see Incremental Backup.
• Automatic Storage Management (Oracle ASM) is supported only with the rman_util parameter. If you
want to back up Oracle ASM instances, see SAP on Oracle Backup Using RMAN_UTIL.
• You cannot back up Oracle RAC databases using the BRBACKUP tool.
• Backups created by Veeam Plug-ins cannot be used as a source for file to tape or backup to tape jobs.
For details on how the backup is performed, see How Veeam Plug-in for SAP on Oracle Works.
To back up Oracle databases, you can use the interactive wizard of BRTOOLS or you can directly run the backup
command using BRBACKUP. When you back up the database using the BRBACKUP tool, you must specify the
path to the initialization profile file ($Oracle_HOME/dbs/veeam_initSID.sap) as the argument for the -p
(-profile) parameter.
NOTE
You can make incremental backups only with the rman_util parameter. For details, see this SAP article.
To learn how to perform an incremental backup, see Incremental Backup.
Examples
The following examples are only for demonstration purposes. To see the description of all BRBACKUP
parameters, see the Backing Up the Database with BR*Tools for Oracle DBA Guide.
• Full Backup
Full Backup
If you want to create a full backup Oracle databases, you can use the BRBACKUP tool. When Veeam Plug -in for
SAP on Oracle is configured, the plug-in transfers database backup files to a backup repository connected to
Veeam Backup & Replication.
2. Specify util_file as the argument for the -d (-device) parameter. This option defines that a file-by-
file backup will be performed using Veeam Plug-in.
3. Specify offline_force as the argument for the -t (-type) parameter. With this option, BRBACKUP
shuts down the database and performs an offline backup.
4. Specify the argument for the -m (-mode) parameter. With the all argument, BRBACKUP backs up files in
all tablespaces, but not the control files and online redo log files. For the full list of arguments for the -
mode parameter, see this SAP article.
3. Specify online_cons as the argument for the -t (-type) parameter. With this option, BRBACKUP
backs up the database in the online state. Also, BRBACKUP keeps the database open during the backup. If
offline redo log files are generated during the backup, BRBACKUP backs up them to the same backup file.
4. Specify the argument for the -m (-mode) parameter. With the all argument, BRBACKUP backs up files in
all tablespaces, but not the control files and online redo log files. For the full list of arguments for the -
mode parameter, see this SAP article.
5. Specify credentials that will be used to connect to the database as the argument for the -u (-user)
parameter. For details, see this SAP article.
IMP ORTANT
When you use BRBACKUP, you must specify the full directory path to the Veeam Plug-in initialization
profile file (-p $Oracle_HOME/dbs/veeam_initSID.sap). If the profile file is in the default directory,
you can specify only the file name.
NOTE
For redo log backup operations, it is recommended to set 4 or less parallel channels. For details on
configuring parallel channels, see Configuring Parallelism for Redo Logs.
3. Specify util_file as the argument for the -d (-device) parameter. This option defines that a file-by-
file backup will be performed using Veeam Plug-in.
4. Specify credentials that will be used to connect to the database as the argument for the -u (-user)
parameter. For details, see this SAP article.
For full description of the rman_util parameter, see RMAN Backup with an External Backup Library.
In the Veeam Backup & Replication console, the rman_util backup operation will create two backup jobs:
Veeam Plug-in for Oracle RMAN backup job for database file backups and another Veeam Plug -in for SAP on
Oracle backup job that backups up BR*Tools control data files. Note that if you want to create a backup copy job
for SAP on Oracle database, make sure that you have added both jobs to the backup copy job.
Prerequisites
IMP ORTANT
• Before you back up the Oracle database with the rman_util parameter, you must install and
configure Veeam Plug-in for Oracle RMAN on the SAP on Oracle server.
• See Limitations and Considerations.
When you perform the backup using the RMAN_UTIL, RMAN_STAGE or RMAN_DISK parameter, by default,
BR*Tools creates one backup set for each log or datafile. This means that every backup piece will contain only
one file. This results in a large amount of backup files and significantly slows down backup and restore
processes. To avoid this problem, do the following:
1. In the SAP on Oracle server, open the /oracle/ODB/sapprof/veeam_initSID.sap file using a text
editor.
rman_filesperset = 10
rman_filesperset_arch = 100
For example: set the rman_filesperset value to 10 for datafiles and the rman_filesperset_arch
value to 100 for logs.
Also, you must add the SBT_LIBRARY directory to the rman_parms setting in the veeam_initSID.sap file:
1. In the SAP on Oracle server, open the /oracle/ODB/sapprof/veeam_initSID.sap file using a text
editor.
rman_parms = 'SBT_LIBRARY=/opt/veeam/VeeamPluginforOracleRMAN/libOracleRMA
NPlugin.so'
a. Veeam Plug-in compresses database backup files or redo logs and sends them to the target backup
repository through one or multiple channels.
b. Veeam Plug-in for Oracle RMAN connects to Veeam Backup & Replication and creates a backup job
object that shows the job progress and logs.
a. Control file, BR*Tools logs are compressed and sent to a backup repository.
b. Veeam Plug-in for SAP on Oracle connects to Veeam Backup & Replication and creates a backup job
object that shows the job progress and logs.
Full Backup
To back up an SAP on Oracle database using RMAN, you must use the brbackup tool with the rman_util
parameter and with the defined directory for SBT library.
1. Specify the path to the initialization profile file (veeam_initSID.sap) as the argument for the -p (-
profile) parameter.
2. Specify online_cons as the argument for the -t (-type) parameter. With this option, BRBACKUP
backs up the database in the online state. Also, BRBACKUP keeps the database open during the backup. If
offline redo log files are generated during the backup, BRBACKUP backs up them to the same backup file.
3. Specify rman_util as the argument for the -d (-device) parameter. This option defines that the backup
will be performed using Oracle RMAN.
4. Specify full as the argument for the -m (-mode) parameter. With this option, BRBACKUP performs
backup of files in all tablespaces, control files and redo log files.
For the fill list of BRBACKUP parameters, see the Command Options for BRBACKUP section in the SAP Database
Guide: Oracle.
Incremental Backup
You can perform an incremental backup by using the BRBACKUP command with the rman_util parameter. An
incremental backup contains the changed data from the last full back up. Incremental backups use less media
and resources than full backups.
2. Specify online_cons as the argument for the -t (-type) parameter. With this option, BRBACKUP
backs up the database in the online state. Also, BRBACKUP keeps the database open during the backup. If
offline redo log files are generated during the backup, BRBACKUP backs up them to the same backup file.
3. Specify rman_util as the argument for the -d (-device) parameter. This option defines that the backup
will be performed using Oracle RMAN.
5. Specify credentials that will be used to connect to the database as the argument for the -u (-user)
parameter. For details, see this SAP article.
To see all brbackup command options, see the Command Options for BRBACKUP section in the SAP Database
Guide: Oracle.
If you want to configure or manage an application backup policy for Veeam Plug -in operating in the
managed mode, see Working with Application Policies.
After you start a backup process with the BRBACKUP tool, Veeam Backup & Replication creates a backup job
object. You can use this job to view the statistics on the backup process, generate backup job reports or you can
also disable the backup job.
You cannot launch or edit SAP on Oracle backup job objects in the Veeam Backup & Replication console. You can
manage backup operations only on the SAP on Oracle side using BR*Tools.
Consider that Veeam Backup & Replication generates the backup job name based on names of the SAP on Oracle
server and selected repository.
NOTE
Due to specifics of the SAP on Oracle backup process, the progress bar of a running SAP on Oracle backup
job is not available.
2. In the Home view, expand the Job s node and click Ba ckup.
3. In the list of jobs, select the BR*Tools backup job to see details of the current backup process or the last
backup job session.
3. In the working area, select the necessary job and click Rep ort on the ribbon. You can also right-click the
job and select Rep ort.
Keep in mind that examples provided in this section are for demonstration purposes only. To see the full restore
functionality of SAP BR*Tools, see the BR*Tools for Oracle DBA Guide.
To learn how to recover Oracle databases from backups created by Veeam Plug -in for SAP on Oracle, see the
following subsections:
By default, BRRESTORE uses the initSID.sap initialization profile. Thus, you must specify the -p
$Oracle_HOME/dbs/veeam_initSID.sap parameter in the restore commands.
1. Depending on which backup you want to restore from, use the util_file or rman_util option as the
argument for the -d (-device) parameter. If the backup was created by Backint, use util_file. If the
backup was created by RMAN, use rman_util.
3. Specify last as the argument for the -b (-backup) parameter. With this option, BRRESTORE uses the
last successful database backup for the restore.
4. Specify full as the argument for the -m (-mode) parameter. With this option, BRRESTORE performs
restore of files in all tablespaces, control files and redo log files.
1. Depending on which backup you want to restore from, use the util_file or rman_util option as the
argument for the -d (-device) parameter. If the backup was created by Backint, use util_file. If the
backup was created by RMAN, use rman_util.
3. Specify the log sequence number interval as the argument for the -a (-archive) parameter. This option
defines which log files must be restored.
• Using credentials of the account under which the backup was created. This option is intended for backups
created using backup tools on the SAP on Oracle server.
• Using a security certificate. This option is intended for backups created using an application backup policy
configured in Veeam Backup & Replication.
• Using a recovery token. This option is intended for backups created using an application backup policy
configured in Veeam Backup & Replication. To use this option, a backup administrator must create a
recovery token for the backup in Veeam Backup & Replication.
You can select the authentication method explicitly or choose to use the same method that was s pecified during
the Veeam Plug-in configuration process.
• For restore to another server, you can use either backups or backup copies of Oracle databases.
• If you perform restore from a backup that was imported to Veeam Backup & Replication, Veeam Plug-in
will automatically create the backup job in Veeam Backup & Replication.
• During the restore process, backup operations are not disabled on the SAP on Oracle server.
2. Veeam Plug-in will prompt you to select an authentication method to access the backup. To access the
backup using the authentication method that was specified during the Veeam Plug -in configuration
process, type 1:
o For the user account with a security certificate, Veeam Plug -in displays backups created under this
user account.
o For the user account with credentials, if the account has the Veeam Restore Operator role assigned in
Veeam Backup & Replication, Veeam Plug-in displays all backups that reside in the backup repository.
Otherwise, Veeam Plug-in displays backups created under the specified user account.
o For the user account with a recovery token, Veeam Plug -in displays backups for which the recovery
token was generated.
2. Veeam Plug-in will prompt you to select an authentication method to access the backup. To access the
backup using credentials of the account under which the backup was created, type 2:
3. Veeam Plug-in will prompt you to provide credentials of the user account that under which the backup
was created. Enter a user name and password of the account:
Enter username:
Enter password for <username>:
2. Veeam Plug-in will prompt you to select an authentication method to access the backup. To access the
backup using a recovery token, type 3:
3. Veeam Plug-in will display the fingerprint of the Veeam Backup & Replication server and prompt you to
provide a recovery token:
1. Run a Veeam Plug-in backup job to create a new Veeam Plug-in backup in a Veeam backup repository. The
backup will consist of the .VAB, .VASM and .VACM files.
2. In the backup repository folder, replace the .VAB and .VASM files created at the step 1 with the .VAB and
.VASM files from the hardened repository.
3. In the Veeam backup console, run the backup repair operation. Veeam Backup & Replication will generate
a new .VACM file using information from the .VASM files. For details, see Repairing Backup.
Once the backup job metadata file is re-created, you can use Veeam Plug-in to restore your data.
Repairing Backup
If you want to restore data from an immutable backup that resides in a hardened repository, you can use the
Rep air operation. During this operation, Veeam Backup & Replication will generate a new backup job metadata
(.VACM) file using information from the backup metadata (.VASM) files.
IMP ORTANT
This operation is intended only for a situation where the backup job metadata file has been lost as a result
of malware activity or unplanned actions. Re-creation of the backup job metadata file for other purposes is
not supported.
Before you start the repair operation, you must disable the backup job that created the backup. Otherwise,
Veeam Backup & Replication will display a message notifying that the job must be disabled.
To repair a backup:
1. In the Veeam Backup & Replication console, open the Home view.
Also, you can manually delete backups from a backup repository using the Veeam Backup & Replication console.
For details, see Deleting Backups Manually Using Veeam Backup & Replication Console.
SapOracleBackintConfigTool --set-force-delete
2. Enter the number of days after which Veeam Plug-in will delete backup files on all configured backup
repositories.
Garbage collector automatically deletes backup files older than the specif
ied number of days.
Make sure the number of days value exceeds your retention policy.
To disable this functionality, set the number of days to 0.
Enter the number of days to delete backups after, between 7 and 999 [0]:
IMP ORTANT
A value for the numb er of days setting must be at least 1 backup generation period longer than the
retention period for your Oracle Database backups. Otherwise, Veeam Plug -in will delete earliest backups
created within the retention period.
NOTE
If you remove backups from a backup repository manually, the backup catalog will not be updated.
1. In the Veeam Backup & Replication console, open the Home view.
3. In the working area, right-click the backup job object name and select Delete from disk.
When you remove a backup from the configuration, backup files (.VAB, .VASM) remain on the backup repository.
You can import backup files later and restore from them.
4. Press and hold the [Ctrl] key, right-click the backup and select Remove from configuration.
To build a successful data protection and disaster recovery plan, it is recommended that you follow the 3 -2-1
rule:
• 3: You must have at least three copies of your data: the original production data and two backups.
• 2: You must use at least two different types of media to store the copies of your data, for example, local
disk and cloud.
• 1: You must keep at least one backup offsite, for exa mple, in the cloud or in a remote site.
Thus, you must have at least two backups and they must be in different locations. If a disaster takes out your
production data and local backup, you can still recover from your offsite backup.
In This Section
• Creating Backup Copy Job
Veeam Backup & Replication fully automates the backup copy process and lets you specify retention settings to
maintain the desired number of restore points, as well as full backups for archival purposes. Backup copy is a
job-driven process. When enabled, the backup copy job for Veeam Plug -in backups runs continuously. For more
details on how it works, see the Backup Copy section in the Veeam Backup & Replication User Guide.
To copy backups to a secondary location, you must configure a backup copy job. The backup copy job defines
how, where and when to copy backups. One job can be used to process backups of one or more machines.
You can configure a job and start it immediately or save the job to start it later.
Before creating a job, check prerequisites. Then use the New Backup Copy Job wizard to configure a backup
copy job.
• Backup infrastructure components that will take part in the backup copy process must be added to the
backup infrastructure and properly configured. These include source and target backup repositories
between which backups must be copied.
• The target backup repository must have enough free space to store copied backups. To receive alerts
about low space on the backup repository, configure global notification settings. For more information,
see Specifying Other Notification Settings.
1. In the Veeam Backup & Replication console, open the Home view.
2. In the Description field, enter a description for the job. The default description contains information about
the user who created the job, date and time when the job was created.
1. Click the Ad d button and select from which entity you want to process the machines.
o From jobs: You can select Veeam Plug-in backup jobs. When a backup copy job runs, Veeam Backup &
Replication will search for backup files created by selected jobs.
o From repositories: You can select repositories where Veeam Plug-in backups are stored. When a
backup copy job runs, Veeam Backup & Replication will search for backup files created by Veeam
Plug-in in selected repositories.
2. Use the Remove button if you want to remove selected jobs or repositories from processing.
3. If you have added jobs from a repository and want to exclude from processing some of the backup jobs on
the selected repository, click E x clusions and select the jobs that you want to exclude.
1. From the Ba ckup repository list, select a backup repository in the target site where copied backups must
be stored. When you select a target backup repository, Veeam Backup & Replication automatically checks
how much free space is available on it. Make sure that you have enough free space to store copied
backups.
IMP ORTANT
For Veeam Plug-in backup copy jobs, you cannot select the following repositories as a backup copy
target:
2. If the target repository contains a Veeam Plug-in or MongoDB backup that was excluded from the backup
copy job, and if you don't want to transfer duplicate data, you can use the mapping feature.
After you configure mapping, if some of backup files (.VAB) of the source backup are missing in the target
backup copy, these files are uploaded to the target backup copy.
NOTE
b. Point the backup copy job to the backup in the target backup repository. Backups in the target backup
repository can be easily identified by backup job names. To facilitate search, you can use the search
field at the bottom of the window.
IMP ORTANT
• Used account must have access to Veeam backup repositories that you plan to use.
• Encryption must be disabled on the repository.
Otherwise, the repositories will not be listed as available. To learn how to configure access
permissions and encryption settings on repositories, see Access Permissions in the Veeam Backup &
Replication User Guide.
• Storage settings
• Notification settings
Storage Settings
At the Storage tab, define compression and deduplication settings.
By default, Veeam Backup & Replication performs deduplication before storing copied data on the target backup
repository. Deduplication provides a smaller size of the resulting backup file but may reduce the job
performance.
1. You can disable data deduplication. To do this, clear the E na ble inline data deduplication check box.
2. From the Compression level list, choose a compression level to be used: Auto, None, Dedupe-friendly,
Op timal, High or E x treme. The recommended level of compression for backup copy jobs is Auto. In this
case, Veeam Backup & Replication uses compression settings of the copied backup files. For more
information, see Compression and Deduplication.
If the backup copy is not created within the specified time p eriod, the backup copy job will finish with the
Warning status. The countdown starts from the moment when the required backup is finished and ready to be
copied.
Notification Settings
At the Notifications tab, to specify notification settings for the backup copy job:
3. Select the Send SNMP notifications for this job check box if you want to receive SNMP traps when the job
completes successfully. SNMP traps will be sent if you specify global SNMP settings in Veeam Backup &
Replication and configure software on recipient's machine to receive SNMP traps. For more information,
see Specifying SNMP Settings.
4. Select the Send email notifications to the following recipients check box if you want to receive
notifications by email in case of job failure or success. In the field below, specify a recipient email address.
You can enter several addresses separated by a semicolon.
5. Veeam Backup & Replication sends a consolidated email notification once for the specified backup copy
interval. Even if the synchronization process is started several times within the interval, for example, due
to job retries, only one email notification will be sent.
6. Email notifications will be sent if you configure global email notification settings in Veeam Backup &
Replication. For more information, see Configuring Global Email Notification Settings.
8. You can choose to use global notification settings or specify custom notification settings.
o To receive a typical notification for the job, select Use global notification settings. In this case, Veeam
Backup & Replication will apply to the job global email notification settings specified for the backup
server. For more information, see Configuring Global Email Notification Settings.
o To configure a custom notification for a job, select Use custom notification settings specified below.
You can specify the following notification settings:
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName%, %JobResult%, %VmCount% (number of
machines in the job) and %Issues% (number of machines in the job that have been processed
with the W a rning or Fa iled status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive email
notification if data processing within the backup copy interval completes successfully, fails or
completes with a warning.
3. Use the E na ble and Disable options to mark the selected area as allowed or prohibited for the backup copy
job.
2. Select the E na ble the job when I click Finish check box if you want to start the job right after you finish
working with the wizard.
If you have imported backups created by a backup copy job from another repository, you can convert them into
regular backup files. When you convert backup copy files to regular backup files, Veeam Plug -in creates a
backup job and adds attaches the converted backup files to it. You can use this backup job to continue the
backup chain and use converted backup files as a restore point.
You can convert imported Veeam Plug-in backups into regular Veeam Plug-in backup files in the following
cases:
• If you have deleted a backup copy job which created the backup copy.
• If you have excluded a backup job from a backup copy job that used multiple backup jobs as a source.
• If you have imported a Veeam Plug-in backup copy from another repository.
NOTE
If you want to restore from a backup copy, you don't need to convert the backup copy to backup. For
details, see Restore from Backup Copy.
SapOracleBackintConfigTool --promote-backup-copy-to-primary
Backup copies available for promotion to primary backup:
1. Backup Copy Job 1\saprhel01-localdomain SAP backint backup (Default Backup R
epository)
Select backup: 1
Promotion of backup copy to a primary backup will reconfigure the plug-in to us
e a different repository. Continue? (y/N): y
IMP ORTANT
[For servers with the customServerName option] To avoid failure of conversion of backup copies, the
server name must be the same as the name used in the backup copy.
When you submit a support case, we recommend that you attach log files related to Veeam Plug -in operations.
• SapOracleBackint.log
• SapBackintOracleManager.log
• Agent.Source.log
BRTools Logs
The Detail and Summary logs of BRTools are stored in the /oracle/SID/sapbackup and
/oracle/SID/saparch directories.
• BRBACKUP Logs
• BRRESTORE Logs
• BRARCHIVE Logs
• BRRECOVER Logs
Database administrators can use Veeam Plug-in for Microsoft SQL Server to create native application-level
backups of Microsoft SQL Server data. Compared to image-level backups created by Veeam Backup &
Replication, Veeam Plug-in offers more flexible scenarios for database backup. In particular, Veeam Plug -in
users can back up and restore individual Microsoft SQL Server databases, as well as configure independent
backup schedule for full, differential and log backups using the SQL Agent Job functionality of Microsoft SQL
Server.
Integrating Microsoft SQL Server and Veeam Backup & Replication enables Veeam Plug -in to use native
Microsoft SQL Server backup features while using Veeam Backup & Replication backup management and storage
capabilities. You can perform full, differential and transaction log backup operations using the Microsoft SQL
Server Management Studio. You can use Microsoft SQL Server Management Studio to initiate backup operations
and manage stored backups. Use the Veeam Backup & Replication console only to view backup operation
processes and create backup job reports. For details, see Data Backup.
In case of malware activity or unplanned actions, you can perform restore operations based on the backup data
transferred by Veeam Plug-in to the Veeam Backup & Replication backup repositories. You can restore entire
databases from a full backup or to a specific point in time, based on transaction logs. Veeam Plug -in for
Microsoft SQL Server supports restoring databases to the original Microsoft SQL Server machine or another
server. For details, see Data Restore.
1. When the backup process is started for the first time, Veeam Plug -in connects to the Veeam Backup &
Replication server and creates the backup job.
2. At the backup process start (upon schedule or manually), the MSSQLRecoveryManager service of Veeam
Plug-in instructs Microsoft SQL Server to back up a database.
3. The MSSQLRecoveryManager service starts the source Veeam Data Mover on the Microsoft SQL Server
machine, and Veeam Backup Manager in Veeam Backup & Replication starts the target Veeam Data Mov er
on the Veeam backup repository.
4. Microsoft SQL Server starts the database backup process targeted at a VDI Device — a virtual device that
impersonates itself as a backup storage. For each backed -up database, a separate VDI Device is created.
The number of VDI Devices also depends on the number of parallel data streams that you specify when
configuring backup settings. For more information, see Parallel Database Processing.
5. The source Veeam Data Mover reads the backup data from VDI Devices and transfers it to the target
Veeam Data Mover.
6. The target Veeam Data Mover writes the backup data to the backup repository.
With the configured Veeam Plug-in, you can back up Microsoft SQL Server databases, as well as configure
backup schedules for full, differential and log backups using built-in tools of Microsoft SQL Server. You can also
perform independent copy-only full backups and copy-only log backups to not affect the database backup
chain. For details on backup operations, see About Microsoft SQL Server Backup.
You can use the following tools to perform backup operations for Microsoft SQL Server databases:
When you use the Ba ck Up Database wizard, you can specify the backup settings for Veeam Plug -in
backups of Microsoft SQL Server databases. You can also use Microsoft SQL Server Management Studio or
a third-party scheduling tool to define the schedule for database backup. For details, see Configuring
Backup Settings.
When you use the MSSQLRecoveryManager.exe tool, you can specify backup parameters to configure,
perform and schedule all types of backups in the command -line interface. You can also use the backup
parameters to modify Veeam Plug-in for Microsoft SQL Server commands used in custom scripts. For
details, see Performing Backup with Command-Line Interface.
After Veeam Plug-in for Microsoft SQL Server starts the backup process, Veeam Backup & Replication creates
the backup job. You can use this job to monitor backup processes and generate backup job reports. You cannot
start or edit Microsoft SQL Server backup jobs in the Veeam Backup & Replication console. You can manage
backup operations on the Microsoft SQL Server machine only. For details, see Managing Backup Job in Veeam
Backup & Replication.
To store backups, you can add and configure backup repositories to your Veeam Backup & Replication
infrastructure. For details on supported backup repositories, see Veeam Backup Repositories.
Before you start performing operations on backup repositories within the Veeam Backup & Replication
infrastructure, consider that you need to set the access permissions for each repository. For details, see Access
and Encryption Settings on Backup Repositories.
• Windows Server
• Linux Server
• NFS Share
• HPE StoreOnce
If you plan to use HPE StoreOnce as a backup repository for Veeam Plug-in backups, the total number of
stored files (data and metadata) must not exceed 3,000,000 per Catalyst store. If necessary, multiple
Catalyst stores may be created on the same StoreOnce system.
• Quantum DXi
• ExaGrid
Make sure the repository is configured as described in the ExaGrid section in the Veeam Backup &
Replication User Guide.
• Hardened Repository
Make sure that the performance extents of the scale-out backup repository contain repositories supported
by Veeam Plug-in for Microsoft SQL Server. For example, you cannot use object storage repositories as
performance extents to keep backups created with Veeam Plug -ins.
To configure the warning settings, add the following parameter in the veeam_config.xml file:
Keep in mind that you must add the parameter to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in
the first detected line. Other parameters will be ignored.
• The plug-in configuration wizard will not show repositories where the E ncrypt standalone application
b a ckups stored in this repository option is enabled. To learn how to disable the encryption option, see
Access and Encryption Settings on Backup Repositories.
If you want to use the same backup target with the repository-based encryption and Veeam Plug-ins,
create a second repository in the subfolder for Veeam Plug -in backups.
Alternatively, you can use transparent data encryption (TDE) provided by Microsoft. Using TDE, you can
encrypt database data with an encryption key, back up encrypted data with Veeam Plug -in, then restore
data and decrypt using the same encryption key. To learn more about TDE encryption, see this Microsoft
article.
• Veeam extract utility cannot extract Veeam Plug-in backup files. By design of Microsoft SQL Server, these
files cannot be imported “as files” as they contain additional metad ata bound to the used SBT device.
• Veeam Plug-ins do not support backup operations targeted directly to object storage repositories.
To learn more about object storage repositories, see the Object Storage Repositories section in the Veeam
Backup & Replication User Guide.
• Veeam Plug-ins do not support backup operations to object storage added as a performance extent of a
scale-out backup repository.
• You cannot rename a scale-out backup repository with Veeam Plug-in backups stored on this repository.
• If you want to add a backup repository as an extent to a scale-out backup repository and Veeam Plug-in
backups are present on this backup repository, you must do the following:
a. In the Veeam Backup & Replication console, select Veeam Plug -in backup files that reside in this
backup repository and remove them from configuration. For details, see Removing Backups from
Configuration. Note that this action does not delete the backups from the repository.
b. In the Veeam Backup & Replication console, delete the Veeam Plug-in backup job. For details, see
Deleting Jobs.
c. Add the repository as an extent to the scale-out repository. For details, see Extending Scale-Out
Repositories.
d. Rescan the scale-out repository. For details, see Rescanning Scale-Out Repositories.
NOTE
[For imports to the scale-out backup repository] Before importing your backup, consider that
the names of all backup files (.VAB, .VASM, .VACM) and paths to these files contain only the
following allowed characters:
• a-zA-Z0-9
• _-.+=@^
If your backup was initially created on a standalone backup server, the default name of the
backup metadata file (.VACM) contains forbidden characters. Before importing, you must delete
forbidden characters from the file name or replace them with the allowed characters.
e. On the Veeam Plug-in server, launch the Configure Plug-in wizard and set the scale-out repository as
the target for backups:
MSSQLConfigTool --set-repository
i. From the Ba ckup repository drop-down list, select the scale-out repository.
ii. Click Ma p backups to map the imported backups stored in the backup repository.
NOTE
• For Veeam Plug-in backups and backup copies, the Performance policy of a scale-out repository functions
differently:
a. Veeam Backup & Replication checks if there are extents without warning on fr ee space insufficiency. If
all extents have the warning, Veeam Backup & Replication uses an extent with the largest amount of
free space that has a free task slot.
b. If there are extents without the warning, Veeam Backup & Replication checks if there are incremental
extents with free task slots. If there are no incremental extents with free task slots, Veeam Backup &
Replication uses a full extent with the least amount of used task slots.
c. If there are incremental extents with free task slots, Veeam Back up & Replication sends backup files
to an incremental extent with the least amount of used task slots. If the amount of used tasks is the
same, an extent with the largest amount of free space.
To learn more about file placement policies of scale-out repositories, see Backup File Placement section in
the Veeam Backup & Replication guide.
• If a scale-out repository is configured in the Data locality policy, repository extents will be selected
according to the largest amount of free space for each Microsoft SQL Server connection. If the selected
extent does not have free task slots, Veeam Backup & Replication uses the extent with the next largest
amount of free space. If there are two extents with only one slot on each extent, the backup will be
launched on two streams (one on each extent).
• For Veeam Plug-in backup files, capacity tier does not verify whether data that is being moved is unique
and has not been offloaded earlier. Thus, it is highly recommended to check the pricing plans of your
cloud storage provider to avoid additional costs for offloading and downloading backup data .
• To offload Veeam Plug-in backup files to the capacity tier, Veeam Backup & Replication splits data into 1
MB objects and compresses the resulting objects. The default object size will be a compressed 1 MB block,
resulting in objects of around 512 KB in size.
• [For the Move policy] For Veeam Plug-in for Microsoft SQL Server backups, capacity tier tracks
dependencies of full and differential backup files. Thus, Veeam Backup & Replication tracks inactive
backup chains and moves them to the capacity tier. No limitations apply to the operational restore
window.
• Veeam Backup & Replication offloads Veeam Plug-in for Microsoft SQL Server backup files to the capacity
tier with the Copy and Move policies in different ways. With the Copy policy, Veeam Backup & Replication
checks backup files every 1 hour and runs an offload job only if new backup files exist. With the Move
policy, Veeam Backup & Replication checks backup files every 4 hours and runs an offload job, even if
there are no new files.
IMP ORTANT
With both the Copy and Move policies, Veeam Backup & Replication copies and moves to the
capacity tier only non-active backup files created more than 24 hours ago, which match the capacity
tier configuration parameters. For details, see Backup Chain. To learn more about the capacity tier
configuration, see Add Capacity Tier in the Veeam Backup & Replication User Guide.
• Veeam Plug-in supports encryption of offloaded data to the capacity tier. The E ncrypt data uploaded to
ob ject storage option in the Ca pacity Tier settings of the scale-out backup repository ensures that the
entire collection of blocks along with the metadata will be encrypted while being offloaded. To learn more
about capacity tier encryption, see the Encryption for Capacity Tier section in the Veeam Backup &
Replication User Guide.
• In case a disaster strikes the scale-out repository and you have a Veeam Plug-in backup file on the capacity
tier, you must re-create the scale-out repository before you restore from this backup file. You must
connect the capacity tier with the Veeam Plug-in backup file to another backup server with Veeam Backup
& Replication and a scale-out repository. After that, you can import the backup files to Veeam Backup &
Replication and then perform data recovery operations.
• If you use a capacity tier that has been created in Veeam Backup & Replication version 10, you cannot
transfer Veeam Plug-in backup files to a capacity tier. However, if you want to transfer them manually, do
the following:
a. If the backup files are created by Veeam Plug-in version 10, upgrade the metadata of backup files as
described in the Upgrading Backup Files section.
For Veeam Plug-in for Microsoft SQL Server backups, immutability works according to the following rules:
• Immutability is applied to backup (.VAB) files and backup metadata (.VASM) files. Backup job metadata
(.VACM) files are not immutable.
• Backup files become immutable for the configured time period (minimum 7 days, maximum 9999 days).
• Backup files become immutable after 24 hours have passed since each file was created. The immutability
service runs in the background at every hour. This service detects and sets immutability flags for any
backup file that can no longer be reused.
TIP
Contact Veeam Customer Support to change the default 24 hour lifespan of a backup file. To do that,
you can submit a support case on the Veeam Customer Support Portal.
• The immutability period is automatically extended for backup files that contain restore points of the active
chain.
1. Run a Veeam Plug-in backup job to create a new Veeam Plug-in backup in a Veeam backup repository. The
backup will consist of the .VAB, .VASM and .VACM files.
2. In the backup repository folder, replace the .VAB and .VASM files created at the step 1 with the .VAB and
.VASM files from the hardened repository.
3. In the Veeam backup console, run the backup repair operation. Veeam Backup & Replication will generate
a new .VACM file using information from the .VASM files. For details, see Repairing Backup.
Once the backup job metadata file is re-created, you can use Veeam Plug-in to restore your data.
Veeam Plug-in supports restore of entire databases to the original Microsoft SQL Server machine or to another
server. You can specify a point in time to which you want to restore the database. This restore operation is based
on backed up transaction logs. If there are no available backed up transaction logs, Veeam Plug-in restores the
database to the time when the restore point was created. For details, see Performing Restore.
You can use the following tools to perform restore operations for Microsoft SQL Server databases:
Use the Restore Database wizard to restore Microsoft SQL Server databases based on Veeam Plug -in
backups. For details, see Restore with Restore Database Wizard.
Use the MSSQLRecoveryManager.exe command-line tool to restore Microsoft SQL Server databases
based on Veeam Plug-in backups. For details, see Restore with Command-Line Interface.
Sp ecification Requirement
Note:
Server Core installations of Microsoft Windows Server OSes are not supported.
Microsoft SQL The following Microsoft SQL Server versions are supported:
Server Database
• Microsoft SQL Server 2022
• Microsoft SQL Server 2019
• Microsoft SQL Server 2017
• Microsoft SQL Server 2016
• Microsoft SQL Server 2014 SP3
Notes:
• To connect to the Microsoft SQL Server, Veeam Plug-in requires Microsoft ODBC
Driver for SQL Server versions 17 or 18. Other driver versions are not supported
but can be present in the same system.
For details, see Specifying the Version of Microsoft ODBC Driver for SQL Server.
Microsoft SQL Veeam Plug-in Toolbar requires Microsoft SQL Server Management Studio 20.x.
Server
Ma nagement Note:
Stud io
Remote connections from Microsoft SQL Server Management Studio are not
supported.
Veeam Backup & Veeam Backup & Replication supports two latest versions of Veeam Plug -ins. For
Rep lication example, Veeam Backup & Replication 12.3 supports Veeam Plug -in 12.3 and 12.2.
Keep in mind that if you use an earlier Veeam Plug-in build than the one that is
included in the installation ISO file of your Veeam Backup & Replication version, it may
not have all the features and bug fixes introduced in your Veeam Backup & Replication
version. To learn more about the Veeam Plug-in builds included in Veeam Backup &
Replication installation ISO files, see this Veeam KB article.
Network Veeam Plug-in should be able to establish a direct IP connection to the Veeam Backup
& Replication server. Thus, Veeam Plug-in cannot work with the Veeam Backup &
Replication server that is located behind the NAT gateway.
Installing and The account used for installing and updating Veeam Plug -in must be a member of
updating Veeam Plug- the local Administrators group. Local administrator permissions are required to
in install and manage Veeam Plug-in Toolbar in Microsoft SQL Server Management
Studio.
Performing backup To be able to connect to a Microsoft SQL Server instance, the account used for
and restore operations starting Microsoft SQL Server backup and restore processes must meet the
in Veeam Plug-in following conditions:
Connecting to Veeam The account that is used to authenticate against Veeam Backup & Replication must
Backup & Replication, have access permissions on required Veeam backup repository servers. To learn how
managing backups to configure permissions on repositories, see Access and Encryption Settings on
Backup Repositories.
Veeam Plug-in for Microsoft SQL Server uses Windows authentication methods of
the Veeam Backup & Replication server to establish a connection to this server and
to the backup target. It is recommended to create one user for each standalone
Microsoft SQL Server or failover cluster with Veeam Plug -in.
To work with backups created by Veeam Plug-in, you can use only the same account
that was used for creating the backup. If you want to use another account, assign
the Veeam Backup Administrator role or Veeam Backup Operator and Veeam
Restore Operator roles to the account. To learn how to assign Veeam Backup &
Replication roles, see the Users and Roles section in the Veeam Backup &
Replication User Guide.
* For NFS share, SMB share repositories, and Dell Data Domain, HPE StoreOnce deduplication storage appliances, V eeam
Backup & Replication uses an auxiliary backup infrastructure component — gateway server. For details, see the Gateway
Server section in the Veeam Backup & Replication User Guide.
** This range of ports applies to newly added backup infrastructure components. If you upgrade to Veeam Backup &
Replication 10.0 from earlier versions of the product, the range of ports from 2500 to 5 000 applies to the already added
components.
Backup
Veeam Default range of ports used as data
repository
Backup & 2500 to transmission channels. For every TCP
server or TCP
Replication 3300** connection that a backup process uses,
gateway
server one port from this range is assigned.
server*
Linux server
used as a
Port used as a control channel from the
backup
TCP 22 Veeam Plug-in server to the target Linux
repository or
host.
gateway
server
Veeam
Backup &
Replication Microsoft Ports used as a management channel from
TCP 135,
server Windows the Veeam Plug-in server to the
137 to 139,
server used UDP Repository/Gateway server. Also, the ports
445
as a backup are used to deploy Veeam components.
repository or
gateway 6160, Default ports used by the Veeam Installer
server TCP
6162 Service and Veeam Data Mover Service
(specified in
the SMB SMB server SMB/Netbios name resolution for SMB
share TCP 135, protocol (needed in some cases). For
repository UDP 137 to 139 details, see the Used Ports section in the
settings) Veeam Backup & Replication User Guide.
Gateway
server
HP E StoreOnce
E x aGrid
Veeam
Backup & Default command port used for
ExaGrid TCP 22
Replication communication with ExaGrid.
server
Qua ntum
DXi
Veeam
Backup & Default command port used for
Quantum DXi TCP 22
Replication communication with Quantum DXi.
server
* For NFS share, SMB share repositories, and Dell Data Domain, HPE StoreOnce deduplication storage appliances, Veeam
Backup & Replication uses an auxiliary backup infrastructure component — gateway server. For details, see the Gateway
Server section in the Veeam Backup & Replication User Guide.
For detailed list of ports used by Veeam Backup & Replication server and backup repositories, se e the Used Ports
section in the Veeam Backup & Replication User Guide.
This guide provides information only on specifics of Veeam licenses for Veeam Plug-ins. For terminology and
general information about Veeam Licensing, see Veeam Licensing Policy.
Licensed Objects
A Microsoft SQL Server machine with Veeam Plug-in is assumed protected if it has been processed by a Veeam
Plug-in backup job in the last 31 days.
If you use any instance-based (Veeam Universal Licensing) license in Veeam Backup & Replication, you do not
need to install any additional licenses. A protected server with Veeam Plug -in consumes one instance unit from
the license. Servers processed by backup copy jobs are not regarded as protected machines, these types of jobs
provide an additional protection level for machines that are already protected with Veeam Plug -in backup jobs.
A machine protected by both Veeam Plug-in and Veeam Backup & Replication will consume a license only once.
For example, you have Microsoft SQL Server that you back up using Veeam Plug-in. You also back up this server
using image-level backup functionality of Veeam Backup & Replication. In this case, only one license will be
consumed.
NOTE
[For Perpetual per-socket licenses] If you are using a legacy perpetual per-socket license, a license is
required for each hypervisor CPU socket occupied by protected servers.
A socket is consumed from the license only if the hypervisor where protected servers reside is added to the
Veeam Backup & Replication infrastructure. If the hypervisor is not added to the Veeam Backup &
Replication infrastructure, an instance unit will be consumed from the license. To learn how to add a
hypervisor to the Veeam Backup & Replication infrastructure, see the Virtualization Servers and Hosts
section in the Veeam Backup & Replication User Guide.
IMP ORTANT
The license is required for all cluster nodes, even if Veeam Plug -in is installed only on one of the nodes.
You can use Veeam Plug-ins with all license packages ( Veeam Backup Essentials, Veeam Backup &
Replication, Veeam Availability Suite).
Note that if you use the Rental license type, functionality of Veeam Plug-ins is supported only for the
Enterprise Plus edition of Veeam Backup & Replication.
Functionality of Veeam Plug-ins is supported only for the Enterprise Plus edition of Veeam Backup &
Replication.
• For the standalone server, Veeam Plug-in generates names based on the server hostname.
• For the Microsoft SQL Server failover cluster, Veeam Plug -in generates names based on the Microsoft SQL
server network name.
• For the Always On availability group, Veeam Plug-in generates names based on the group hostname.
You can set Veeam Plug-in to use a custom name instead of the default name. This may be helpful, for example,
if you have servers with the same hostname in multiple environments.
To assign a custom name, update the Veeam configuration XML file as follows:
2. Add the customServerName parameter entry in the Veeam configuration XML file: to the
<PluginParameters /> line in the Veeam configuration XML file:
After adding this parameter, Veeam Plug-in will use the specified custom name of the server to name the
backup job and backup folder.
For example:
After adding this parameter, Veeam Plug-in will use the fully qualified domain name (FQDN) of the server to
name the backup job and backup folder.
Keep in mind that you must add the parameters to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in the
first detected line. Other parameters will be ignored.
IMP ORTANT
For security reasons, it is recommended to use separate repositories for different customers and limit the
Veeam Repository Authentication to the specific customer.
%PROGRAMFILES%\Veeam\VeeamPluginforMSSQL\veeam_config.xml
<IgnoreVBRNetworkRules=true />
To learn more about traffic encryption, see the Enabling Traffic Encryption section in the Veeam Backup &
Replication User Guide.
Veeam Plug-in for Microsoft SQL Server transfers backup data from the machine with protected Microsoft SQL
Server to Veeam backup repository using data streams. By default, Veeam Plug-in uses one data stream per
backup operation. You can configure Veeam Plug-in to use additional data streams that will process backup data
in parallel. This may be helpful if you want to reduce time spent on your ba ckup operations.
If you want to use additional data streams, configure the Concurrent backup streams setting at the Ba ckup
Op tions step of the Ba ck Up Database wizard. The Concurrent backup streams setting defines the maximum
allowed number of data streams being used for each database. For details, see Specify Backup Options.
Besides resource recommendations, Veeam Plug-in may limit the number of data streams assigned to a
certain database. For details, see Data Stream Distribution on Microsoft SQL Server.
• Ba ckup repository server. 1 CPU core and 1 GB of RAM per 5 parallel backup streams.
These resources are recommended only if you use a dedicated backup repository for Veeam Plug -in
backups. If you use the same backup repository for Veeam Plug -in backups and VM backups created by
Veeam Backup & Replication or Veeam Agents, consider adding the mentioned above hardware resources
based on usual load on your backup repository. For details on hardware requirements for a backup
repository, see the System Requirements section of the Veeam Backup & Replication User Guide.
• Veeam Backup & Replication server: during manual metadata operations such as import of backup files,
the Veeam Backup & Replication server needs additional 15 GB of RAM per 1 million files located in the
same backup job folder.
• Number of CPU cores on Microsoft SQL Server: Veeam Plug-in can assign no more than 2 data streams per
1 CPU core.
• Amount of RAM on Microsoft SQL Server: Veeam Plug-in can assign no more than 5 data streams per 1 GB
RAM.
• Number of available task slots in the backup repository: each parallel data stream uses 1 task slot of the
backup repository. To learn how to edit the number of concurrent tasks allowed for the backup repository,
see the Limitation of Concurrent Tasks section in Veeam Backup & Replication User Guide.
Example:
You want to back up 2 databases. Using the Concurrent backup streams setting, you set a maximum allowed
number of data streams for each database as 5. Thus, you need 10 data streams to back up 2 databases with
parallel data streams.
Your Microsoft SQL Server has 4 CPU cores and 4 GB RAM. Your backup repository has 10 available task slots. In
this example, the number of data streams is limited by the CPU of your Microsoft SQL Server: 8 data streams in
total.
As a result, Veeam Plug-in will split there data streams between 2 databases and process these databases in
parallel: Veeam Plug-in will process the first database using 5 parallel streams and the second database using 3
parallel streams. Keep in mind, if number of available data streams is enough for 1 database only, Veeam Plug -in
will process databases one by one.
1. Deploy Veeam Plug-in on the machine that runs Microsoft SQL Server. For more information, see Installing
Veeam Plug-in for Microsoft SQL Server.
2. Configure connection between Veeam Plug-in and the backup repository managed by the Veeam Backup &
Replication server. For more information, see Configuring Veeam Plug-in for Microsoft SQL Server.
3. Define what data you want to back up and configure backup settings. For more information, see
Performing Backup.
4. In case of a disaster, you can restore data from a backup. For more information, see Performing Restore.
To be able to use Veeam Plug-in for Microsoft SQL Server, you must complete the following steps:
NOTE
When you launch Veeam Plug-in installation, the installation wizard also installs Microsoft .NET Framework
4.5.2 if it does not detect this component on the machine. In some cases, installation of .NET Framework
requires a reboot of the machine. This can happen, for example, if you have an earlier version of .NET
Framework installed on the machine, and during the installation process it is used by third -party software.
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image at the Download Veeam Products page.
5. At the License Agreement step of the wizard, follow the links to view license agreements and click I
Accept.
7. Wait for the installation process to complete and click Finish to exit the wizard.
where <path_to_exe> is a path to the Veeam Plug-in for Microsoft SQL Server installation file.
P a rameter Description
Veeam Plug-in for Microsoft SQL Server uses the following codes to report about the installation results:
• 1000 — Veeam Plug-in for Microsoft SQL Server has been successfully installed.
• 1001 — prerequisite components required for Veeam Plug-in for Microsoft SQL Server have been installed
on the machine. Veeam Plug-in for Microsoft SQL Server has not been installed. The machine needs to be
rebooted.
• 1002 — Veeam Plug-in for Microsoft SQL Server installation has failed.
• 1101 — Veeam Plug-in for Microsoft SQL Server has been installed. The machine needs to be rebooted.
• Consider supported types of backup repositories and limitations for Veeam Plug -in for Microsoft SQL
Server backups in Veeam Backup Repositories.
• To store backups in a backup repository, the specified account must have access permissions on the target
backup repository.
2. In the inventory pane, click the Ba ckup Repositories node or the Sca le-out Repositories node.
3. In the working area, select the necessary backup repository and click Set Access Permissions on the ribbon
or right-click the backup repository and select Access permissions.
4. In the Access Permissions window, on the Sta ndalone applications tab specify to whom you want to grant
access permissions on this backup repository:
o Allow to everyone — select this option if you want to grant repository access to any user. This option
is equal to granting access rights to the Everyone group in Microsoft Windows (anonymous users are
excluded). For security reasons, the option is not recommended for production environments.
o Allow to the following accounts or groups only — select this option if you want only specific users to
be able to store backups in this repository. Click Ad d to add the necessary users and groups to the list.
6. Click OK.
• To perform this procedure, the OS user account must have local administrator privileges.
• After a user is added to the group, they must log out, then log in to the system again to activate the group
permissions.
where:
where:
o <userName> — the name of the account that will be granted access to the configuration file.
where:
o newACL — the name of the new access control list. You can give any name to this temporary variable.
4. Assign ownership of the new ACL to the previously created user group by running the following command:
$newACL.SetOwner([System.Security.Principal.NTAccount]"groupName") #sets o
wner for the ACL
where:
5. Apply the ACL to the plug-in configuration file using this command:
where:
o <configFilePAth> — the path to the plug-in configuration file. The default path is
%PROGRAMFILES%\Veeam\Plugins\Microsoft SQL\veeam_config.xml.
IMP ORTANT
Before you configure Veeam Plug-in, you must allow access to Veeam backup repositories that you plan to
use. Also, the encryption on the backup repository must be disabled. To learn how to configure access and
encryption on backup repositories, see Access and Encryption Settings on Backup Repositories.
To configure connection settings, use the Configure P lug-in wizard. The wizard configuresVeeam Plug-in
settings and saves the settings to the Veeam Plug-in configuration file (veeam_config.xml). The file is
located in the %PROGRAMFILES%\Veeam\Plugins\Microsoft SQL folder on the machine where Veeam
Plug-in is installed.
TIP
You can also configure Veeam Plug-in for Microsoft SQL Server using the MSSQLConfigTool.exe tool. To
learn more, see Configuring Veeam Plug-in with Command-Line Interface.
1. On the Microsoft SQL Server machine, launch the Configure Plug-in wizard. To do this, do either of the
following:
o From the Microsoft Windows Sta rt menu, select All P rograms > Veeam > Configure P lug-in or use the
Microsoft Windows search to find the Configure Plug-in option on your machine.
o In Microsoft SQL Server Management Studio, click the Configure Plug-in button on the toolbar.
IMP ORTANT
You must run the Configure Plug-in wizard with elevated privileges (run as Administrator).
2. At the Ba ckup Server step of the wizard, specify settings to connect to the Veeam Backup & Replication
server:
a. In the Veeam backup server field, specify a DNS name of the Veeam Backup & Replication server.
b. In the P ort field, specify the port number over which Veeam Plug-in for Microsoft SQL Server will
communicate with Veeam Backup & Replication. By default, Veeam Plug -in for Microsoft SQL Server
uses port 10006.
a. From the Ba ckup repository drop-down list, select the required repository.
You can click Refresh to update the list of backup repositories. This may be helpful, for example, after
you configure access to a backup repository and want to select this repository without the need to re -
run the Configure Plug-in wizard.
b. You can map Veeam Plug-in for Microsoft SQL Server backup jobs to backups stored in the backup
repository. Backup job mapping can be helpful if you moved backup files to a new backup repository
and want to point backup jobs to existing backups in this new backup repository. You can also use
backup job mapping if the configuration database got corrupted and you need to reconfigure backup
jobs.
To map Veeam Plug-in for Microsoft SQL Server backup jobs to backups in the backup repository, click
the Ma p backups link and select one or more backups in the Select Backups window.
You can map Veeam Plug-in for Microsoft SQL Server backup jobs to multiple backups in the backup
repository. This may be helpful, for example, if you want to continue a backup chain for databases
that operate as part of a failover cluster or availability group.
IMP ORTANT
You can work with backups created by Veeam Plug-in only under the account that was used for
creating these backups. If you want to use another account, assign the Veeam Backup Administrator
role or Veeam Backup Operator and Veeam Restore Operator roles to the account.
To learn how to assign Veeam Backup & Replication roles, see the Users and Roles section in the
Veeam Backup & Replication User Guide.
2. Run the MSSQLConfigTool.exe command with the required parameters. For more information, see
Configuration Parameters.
For example, to specify credentials that will be used to connect to the Veeam Backup & Replication server,
use the following command:
IMP ORTANT
When you work with the command-line tool, use one configuration parameter per command. The
tool does not support commands with multiple parameters.
P a rameter Description
--help Shows the list of parameters for the plug-in configuration tool.
Specifies the port over which to connect to the Veeam Backup &
--set-port
Replication server.
Shows the list of preferred networks set for Veeam Plug -in data
traffic to the remote backup repository.
NOTE
• By default, if there are no specified preferred networks for Veeam Plug -in data traffic, Veeam Plug-
in will connect to preferred networks specified in Veeam Backup & Replication. To learn more about
setting preferred networks in Veeam Backup & Replication, see the Specifying Preferred Networks
section in the Veeam Backup & Replication User Guide.
• Veeam Plug-in does not save information about failed network connections. If backup or restore
operations fail, Veeam Plug-in tries to connect to the following network from the preferred
networks list to finish the started operations. Regardless of the first unsuccessful connection,
Veeam Plug-in will try to perform the next backup operations first on the failed network.
• Veeam Plug-in network preferences take priority over Veeam Backup & Replication network
preferences. Only if the preferred networks for Veeam Plug -in data traffic are not available for any
reason, Veeam Plug-in will try to connect to the Veeam Backup & Replication preferred networks.
To specify networks for data transfer, you must create a list of preferred networks. When Veeam Plug -in needs
to transfer data, it uses networks from this list. If a connection over any of the preferred networks cannot be
established for any reason, Veeam Plug-in will automatically fail over to the following network from the
preferred networks list.
To create and manage the list of preferred networks that Veeam Plug -in will use, you can perform the following
operations:
where:
o <network_IP_address> can be either the IP address of a single network or a network mask that
contains a range of network IP addresses. Specify one of the available options to add as preferred
networks for Veeam Plug-in data traffic.
For example:
MSSQLConfigTool.exe --show-preferred-networks
The following example shows what the output of the MSSQLConfigTool command with the --show-
preferred-networks parameter can look like:
MSSQLConfigTool.exe --show-preferred-networks
Preferred networks:
1. 172.24.29.156
2. 172.24.26.189
where <network_IP_address> can be either the IP address of a single network or a network mask that
contains a range of network IP addresses. Specify one of the available options to remove from the
preferred networks list.
For example:
If you throttle performance, Veeam Plug-in uses the OS process priority system in the background to lower the
priority of backup operation processes. Keep in mind that Veeam Plug -ins manage the priority of backup
operation processes only if the system running on the target computer is busy with other tasks. To learn more
about the process priority setting, see this Microsoft article.
NOTE
• By default, Veeam Plug-in does not throttle performance.
• Performance throttling does not apply to restore operations.
1. Log into the machine with a user with root or instance owner privileges.
2. Start the Veeam Plug-in configuration wizard with the following parameter:
MSSQLConfigTool.exe --set-throttling
All backup activities will be throttled if the system is busy. Backup perf
ormance may be affected. Proceed? (y/N): y
If you want to upgrade Veeam Plug-in, note that Veeam Backup & Replication must be the same or later than
the version of Veeam Plug-in. If you want to use the latest functionality, you must upgrade both Veeam Backup
& Replication and Veeam Plug-in to the latest version. After the upgrade, you don't need to re-run the Veeam
Plug-in configuration wizard, the plug-in configuration files will be preserved.
Before you upgrade Veeam Plug-in, check System Requirements. Make sure Microsoft SQL Server Management
Studio requirements are met.
For instructions on how to upgrade Veeam Plug-in for Microsoft SQL Server, see:
5. At the License Agreement step of the wizard, follow the links to view license agreements and click I
Accept.
7. Wait for the upgrade process to complete and click Finish to exit the wizard.
IMP ORTANT
The password included in the configuration file is encrypted. Thus, after you import the configuration file,
you must set the credentials manually in the Veeam Plug -in configuration wizard or using the
MSSQLConfigTool.exe command-line tool.
2. Copy the veeam_config.xml file to the server where you want to configure the plug-in.
3. Install Veeam Plug-in on the new server and place the copied XML file in the
%PROGRAMFILES%\Veeam\Plugins\Microsoft SQL\ folder.
4. Set new credentials to connect to the Veeam Backup & Replication server using the following command:
• If backup files are not imported according to instructions given in this section, Veeam Plug -in backup and
restore operations may fail.
• The repository from which you plan to import backups must be added to the Veeam Backup & Replication
infrastructure. Otherwise you will not be able to access backup files.
• [For imports to the scale-out backup repository] Before importing your backup, consider that the names
of all backup files (.VAB, .VASM, .VACM) and paths to these files contain only the following allowed
characters:
o a-zA-Z0-9
o _-.+=@^
If your backup was initially created on a standalone backup server, the default name of the backup
metadata file (.VACM) contains forbidden characters. Before importing, you must delete forbidden
characters from the file name or replace them with the allowed characters.
1. Move the folder with the backup file to the required backup repository or create a new backup repository
with this folder as a subfolder.
TIP
Each Veeam Plug-in backup file (.VAB) has its own metadata file (.VASM). Make sure you import
backup files and all related metadata files. You must also import the backup job metadata file
(.VACM) which is stored in the same folder.
2. In the Veeam Backup & Replication console, open the Ba ckup Infrastructure view.
3. In the inventory pane of the Ba ckup Infrastructure view, select the Ba ckup Repositories node.
During the rescan operation, Veeam Backup & Replication gathers information about backups that are
currently available in the backup repository and updates the list of backups in the configuration database.
After the rescan operation, backups that were not in this configuration database will be shown on the
Home view in the Ba ckups > Disk (Imported) node.
5. On the Microsoft SQL Server machine, set the new backup repository as a target in the Veeam Plug -in
settings and map Veeam Plug-in to backups in the repository. For more information, see Configuring
Veeam Plug-in for Microsoft SQL Server.
NOTE
Before you re-map your backup to the repository, make sure that there is not an existing backup job
on your machine with Veeam Plug-in that is targeted at the same repository. If there is such a job,
delete this job from the Veeam Backup & Replication console.
To set a specific driver version, update the Veeam configuration XML file as follows:
1. On the Microsoft SQL Server machine, open the Veeam Plug -in configuration file (veeam_config.xml) in
the %PROGRAMFILES%\Veeam\Plugins\Microsoft SQL folder.
2. Add the following parameter to the <PluginParameters /> line in the Veeam configuration XML file:
For example:
The following example shows the use of several parameters in a single <PluginParameters /> line.
Keep in mind that you must add all plug-in parameters to the existing line in the veeam_config.xml
file. If you create a new line with the same name as the existing line, Veeam Plug -in will consider
parameters only in the first detected line. Other parameters will be ignored.
1. On the Microsoft SQL Server machine with Veeam Plug-in, open the Control Panel and click P rograms and
Fea tures.
2. In the list of programs, select Veea m Plug-in for Microsoft SQL and click Uninstall.
Veeam Plug-in backs up Microsoft SQL Server databases according to backup settings that you specify. You can
specify what databases to back up, the type of database backups you want to create, retention policy for
database backups and processing settings for backed -up data. In addition, you can use Microsoft SQL Server
Management Studio or a third-party scheduling tool to define schedule for database backup.
NOTE
Backups created by Veeam Plug-ins cannot be used as a source for file to tape or backup to tape jobs.
• Full backup
• Differential backup
• Log backup
For more information about Microsoft SQL Server backup types, see Microsoft Documentation.
To create backups of a specific type, you must configure backup settings for Veeam Plug -in and run the backup
process. You can run the backup process manually, immediately after you configure backup settings, or you can
define schedule according to which Veeam Plug-in will back up Microsoft SQL Server data automatically. For
more information, see Backup Settings and Backup Schedule.
Backup Settings
Veeam Plug-in backs up Microsoft SQL Server databases according to backup settings that you specify. You can
specify what databases to back up, what type of backups you want to create, retention policy for database
backups and processing settings for backed-up data.
To specify backup settings, Veeam Plug-in offers the Ba ck Up Database wizard. Alternatively, you can use the
MSSQLRecoveryManager.exe command-line tool to specify backup settings and start the backup process. For
more information, see Configuring Backup Settings and Performing Backup with Command-Line Interface.
In addition, you can use Microsoft SQL Server Management Studio or a third -party scheduling tool to define
schedule for database backup.
If you want to perform backups of different types periodically, you must configure backup settings and specify
schedule for each backup type. For example, you can specify settings for full backup, settings for differential
backup and settings for log backup, save each of these settings as a separate SQL Agent job, and create
schedule for these SQL Agent jobs in Microsoft SQL Server Management Studio.
Backup Schedule
Veeam Plug-in for Microsoft SQL Server does not offer its own backup schedule mechanisms. Instead, Veeam
Plug-in allows database administrators to use tools of their choice to configure flexible schedule for database
backup. For example, you can use native Microsoft SQL Server schedule settings to configure flexible schedule
for full, differential or log backups, or use an external scheduling tool.
Veeam Plug-in for Microsoft SQL Server offers two scenarios for backup scheduling:
• Scenario 1. You can configure backup schedule in Microsoft SQL Server. To do this, you must save Veeam
Plug-in backup settings as an SQL Agent job. For more information, see Saving Backup Settings as SQL
Agent Job.
After that, you will be able to configure job schedule in the properties of the SQL Agent job in Microsoft
SQL Server Management Studio.
After that, you will be able to use the resulting command in a custom backup script or with a scheduling
tool of your choice.
Backup Chain
A sequence of backups created with Veeam Plug-in for a Microsoft SQL Server database makes up a backup
chain. The backup chain can be described at two levels: physical level and logical level.
• At the physical level, the backup chain is a sequence of backup files created by Veeam Plug -in in the
backup repository. In contrast to image-level backups created with Veeam Backup & Replication for which
a separate backup file is created during each backup session, backup files created with Veeam Plug -in
contain data backed up within multiple backup sessions. Thus, instead of a chain of full and incremental
backup files, Veeam Plug-in creates its own set of backup files in the backup repository.
• At the logical level, the backup chain consists of a full backup of a Microsoft SQL Server database and its
dependent differential backups and log backups. Backups in the backup chain form a set of restore points.
Restore points correspond to the time when the backup was performed and let you recover the database
to the necessary state.
To create a backup chain, Veeam Plug-in implements the forward incremental backup method.
Full backup, its dependent differential backups and log backups of a Microsoft SQL Server database reside
in the same backup file. Depending on what backup settings you specify, the backup chain can also span
multiple backup files. This mechanism differs from the one for image-level backups created with Veeam
Backup & Replication where one restore point generally corresponds to one backup file.
The logical sequence of backups is hidden from the user — the user cannot get information about available
restore points from a sequence of backup files in the backup repository. The user can view and select
restore points when restoring a database. For more information, see Performing Restore.
For information about types of backup files that Veeam Plug-in creates and rules for creating the backup chain,
see Backup Files and How Backup Chain Works.
Backup Files
Veeam Plug-in for Microsoft SQL Server creates and maintains the following types of backup files:
• .VAB — backup files that store a copy of Microsoft SQL Server data.
• .VASM — backup metadata files that store information about the backup. A .VASM file is created for each
.VAB file. The .VASM files are used by Veeam Backup & Replication to get information about Veeam Plug-
in backups.
• .VACM — backup metadata files that store information about the backup job. Veeam Plug -in creates one
.VACM file for the backup job.
1. During the first backup session, Veeam Plug-in for Microsoft SQL Server creates a new .VAB file in the
backup repository and writes to this file data of the full backup. This backup becomes a starting point in
the backup chain.
Veeam Plug-in writes data of each backed-up database to a separate backup file. For examp le, if you back
up 2 databases, Veeam Plug-in will create 2 .VAB files in the backup repository.
2. During subsequent backup sessions, Veeam Plug-in for Microsoft SQL Server writes the backup data either
to the same .VAB file or to a new .VAB file. A new .VAB file is created if one of the following cases:
o If the previous backup file created for the database is older than 24 hours.
NOTE
If the backup is targeted at a scale-out backup repository, Veeam Plug-in selects an extent where to
write the backup data according to the placement policy specified for the scale -out backup
repository ( Data locality or Performance). After that, Veeam Plug-in applies the same algorithm to
choose whether to write the backup data to an existing backup file or new backup file.
Retention Policy
Veeam Plug-in allows you to configure retention policy for Microsoft SQL Server backups. The retention policy
helps maintain the life cycle of restore points and make sure that backup files do not consume the entire space
on the backup repository.
Veeam Plug-in for Microsoft SQL Server applies the retention policy at the database level and retains restore
points for a number of days defined in the backup settings. After each full backup or differential backup session,
Veeam Plug-in checks the time when restore points for the backed-up database were created and removes
outdated restore points from the backup chain.
Veeam Plug-in does not remove outdated restore points immediately. Instead, Veea m Plug-in applies the
retention policy to the inactive part of the backup chain — that is, the previous full backup and its dependent
differential and log backups. Only after the last incremental backup in the chain becomes outdated, Veeam
Plug-in will remove the inactive backup chain.
In contrast to the retention policy for image-level backups in Veeam Backup & Replication, the retention policy
for backups created with Veeam Plug-in for Microsoft SQL Server is optional. This allows you to easier configure
retention policy for different types of Microsoft SQL Server backups.
For example, you want to configure backup settings to create full, differential, log and copy-only full backups
for the same database. In this case, you can enable retention policy in the backup settings for full backups only.
Differential, log and copy-only full backups that depend on the full backup will be processed according to the
retention policy specified for the full backup.
Alternatively, if you enable retention policy for multiple types of backups of the same database, you must
specify the same number of days to keep restore points in the backup chain for each backup type supported by
Veeam Plug-in. For the list of supported backups, see About Microsoft SQL Server Backup. Otherwise, Veeam
Plug-in will keep restore points according to the lowest number. For example, you set Veeam Plug-in to keep
full backups for 7 days and copy-only full backups for 30 days. In this case, Veeam Plug -in will remove inactive
backup chains whose restore points are older than 7 days during the next full backup session.
If you do not specify the retention policy for any type of Microsoft SQL Server backup, Veeam Plug -in will not
remove outdated restore points, and backup files fill remain in the backup repository.
You can also manually delete Veeam Plug-in backups from a backup repository using the Veeam Backup &
Replication console. For details, see: Deleting Backup.
1. Install and configure Veeam Plug-in for Microsoft SQL Server on each node of the cluster. For more
information, see Installing Veeam Plug-in for Microsoft SQL Server and Configuring Veeam Plug-in for
Microsoft SQL Server.
On the passive node, the Microsoft SQL Server instance that operates as part of the cluster is not
displayed in the Veeam Plug-in UI.
3. Save backup settings as an SQL Agent job in Microsoft SQL Server Management Studio. For more
information, see Saving Backup Settings as SQL Agent Job.
Veeam Plug-in for Microsoft SQL Server will start the backup job on the active cluster node.
To restore a database that operates as part of a failover cluster, you must start the restore process on the active
cluster node. On the passive node, the backed-up Microsoft SQL Server instance is not displayed in the Veeam
Plug-in UI.
1. Install and configure Veeam Plug-in for Microsoft SQL Server on each node of the cluster that runs Always
On Availability Groups. For more information, see Installing Veeam Plug-in for Microsoft SQL Server and
Configuring Veeam Plug-in for Microsoft SQL Server.
2. Configure backup settings in Veeam Plug-in on each node and save backup settings as SQL Agent jobs in
Microsoft SQL Server Management Studio. For more information, see Configuring Backup Settings and
Saving Backup Settings as SQL Agent Job.
3. In Microsoft SQL Server Management Studio on each node, configure the same schedule settings for SQL
Agent jobs so that database backup will start at the same time on each node.
Veeam Plug-in for Microsoft SQL Server performs backup of Always On Availability Groups in the following way:
1. When the SQL Agent job starts, Veeam Plug-in checks backup preferences specified in the properties of
the Always On availability group.
2. If the node on which the SQL Agent job is running is the preferred node for backup, Veeam Plug -in
performs backup. Otherwise, the backup process stops.
• Veeam Plug-in does not check backup preferences of the Always On availability group if you start the
backup process manually from the Veeam Plug-in UI.
• On secondary replicas, only full copy-only backup and log backup are supported. Differential backup is not
supported.
• Veeam Plug-in does not add a restored database to an Always On availability group. You must perform
this operation manually after the restore process is completed. For details, see Restore of Always On
Availability Groups.
1. Restore the database on the primary replica. During the restore process, Veeam Plug -in will remove the
original database from the availability group and delete it from Microsoft SQL Server.
• From the Microsoft Windows Sta rt menu, select All P rograms > Veeam > Back Up Database or use the
Microsoft Windows search to find the Ba ck Up Database option on your machine.
• In Microsoft SQL Server Management Studio, click the Ba ck Up Database button on the toolbar.
1. From the Instance drop-down list, select the Microsoft SQL Server instance whose databases you want to
back up.
2. In the Da tabases section, select check boxes next to the necessary databases. Alternatively, if you want to
back up all databases of the selected instance, select the check box next to the Da tabase Name column
name.
To quickly find the necessary databases, you can type the name of the database in the search field and
click the search icon.
To refresh the list of databases, click Refresh. When you refresh the list of databases, Veeam Plug -in will
clear check boxes next to the selected databases.
3. In the Ba ckup set name field, specify the name for the backup set. This will help you identify databases in
case you need to restore a database from the backup.
4. In the Description field, specify description for the backup set. The name and description of the backup set
will be displayed in the Restore Database wizard during restore.
5. In the Ba ckup type section, select the type of backup you want to create. You can select from the
following native Microsoft SQL Server backup types:
o Full — select this option if you want to create a backup that will contain a full copy of the Microsoft
SQL Server database.
o Differential — select this option if you want to create a backup that will contain changes since the
previous backup was created.
o Log — select this option if you want to create a backup of Microsoft SQL Server transaction logs.
6. If you selected the Full or Log option and want to create a copy-only full backup or copy-only log backup,
select the Cop y-only backup check box. For example, you may want to create copy-only log backups if you
use a separate solution to process Microsoft SQL Server transaction logs.
Keep in mind that differential backups cannot use the copy-only full backup as a starting point. To learn
more, see this Microsoft article.
At this step of the wizard, you can also export backup settings to a custom script. You will be able to use
this script with a third-party scheduling tool. For details, see Exporting Backup Settings to Custom Script.
1. [Optional] To specify data retention settings, in the Retention section, do the following:
b. In the Delete backups older than <N> days field, specify the number of days for which you want to
keep backups in the backup repository. By default, Veeam Plug -in keeps backup files for 7 days.
2. [Optional] To specify settings for data processing during the backup process, in the Da tabase processing
section, do the following:
a. In the Concurrent backup streams field, specify the number of data streams over which you want to
back up Microsoft SQL Server data. For each data stream, a separate VDI Device is started on the
Microsoft SQL Server machine. For details about the logic behind concurrent backup streams and
limitations, see Data Streams and Resource Consumption.
b. If you want to apply Veeam Backup & Replication mechanisms of data compression to the backup,
select the Use compression check box. To Veeam Plug-in for Microsoft SQL Server backups, the
Optimal (ZSTD) compression level is applied.
NOTE
Veeam Backup & Replication does not support data compression for databases encrypted with
transparent data encryption (TDE).
You can start the backup process if you want to create a backup immediately or if you want to check that
backup process with the specified settings performs successfully.
If you want Veeam Plug-in to perform backup with the specified settings regularly, you can also perform
one of the following operations:
o If you want to save backup settings as an SQL Agent job to be able to specify schedule for the backup
job in Microsoft SQL Server Management Studio, click Sa ve as a SQL Agent Job. For details, see Saving
Backup Settings as SQL Agent Job.
If you do not want to start the backup process immediately, click Close to exit the wizard.
TIP
At this step of the wizard, you can also save backup settings as an SQL Agent job. You will be able to
specify schedule for the backup job in Microsoft SQL Server Management Studio. For details, see Saving
Backup Settings as SQL Agent Job.
1. At the Ba ckup Options step of the Ba ck Up Database wizard, click Sa ve as a SQL Agent Job.
2. In the Create SQL Agent Job window, specify the name for the SQL Agent job and click Create.
The SQL Agent job will become available in the Job s node in Microsoft SQL Server Management Studio, and you
will be able to specify schedule in the job properties. During the SQL Agent job conf iguration, Veeam Plug-in for
Microsoft SQL Server creates a step that runs the MSSQLRecoveryManager.exe command with the specific
parameters.
TIP
Exit Codes
The MSSQLRecoveryManager.exe command can return the following exit codes:
• -1 — the service returns this code when the backup or restore process fails with an error.
Make sure that you specify 0 in the P rocess exit code of a successful command field when you configure
the SQL Agent job properties using Microsoft SQL Server Management Studio.
1. At the Da tabases, Ba ckup Options or Action Log step of the Ba ck Up Database wizard, click Script.
2. In the CLI Script window, review the command to back up Microsoft SQL Server data and click Cop y to
Clipboard.
You will be able to use the command in a custom script with an external scheduling tool.
TIP
You can modify parameters of the command used to back up Microsoft SQL Server data if necessary. For
information about available backup parameters, see Performing Backup with Command-Line Interface.
Exit Codes
The MSSQLRecoveryManager.exe command can return the following exit codes:
• -1 — the service returns this code when the backup or restore process fails with an error.
• 0 — the service returns this code when the backup or restore process is successful.
2. Run the MSSQLRecoveryManager.exe command with the required parameters. For more information,
see Backup Parameters.
The following example shows a command to perform full backup of Microsoft SQL Server databases:
TIP
You can also use the available backup parameters to modify Veeam Plug -in for Microsoft SQL Server
commands used in custom scripts. For information, see Exporting Backup Settings to Custom Script.
Exit Codes
The MSSQLRecoveryManager.exe command can return the following exit codes:
• -1 — the service returns this code when the backup or restore process fails with an error.
• 0 — the service returns this code when the backup or restore process is successful.
Backup Parameters
You can specify the following parameters for backup of Microsoft SQL Server databases with the
MSSQLRecoveryManager.exe command:
Command Description
--instance Specifies the name of the Microsoft SQL Server instance whose
databases you want to back up.
where:
--ed Specifies the name of the database that must be excluded from
the backup.
--cop y_only Defines the copy-only backup mode. You can use this parameter
to create copy-only full backups or copy-only log backups of
Microsoft SQL Server databases.
--p a rallelism Specifies the number of parallel data streams over which you
want to back up Microsoft SQL Server data. For each backup
stream, a separate VDI Device is started on the Microsoft SQL
Server machine.
You cannot start or edit Microsoft SQL Server backup jobs in the Veeam Backup & Replication console. You c an
manage backup operations on the Microsoft SQL Server machine only.
• Veeam Backup & Replication creates one backup job for a standalone Microsoft SQL Server, Microsoft SQL
Server failover cluster or Always On availability group. All backup sessions for different databases that
reside on this server, cluster or availability group run within this backup job.
• Veeam Backup & Replication generates names for Microsoft SQL Server backup jobs according to the
following rules:
o For standalone Microsoft SQL Server, Veeam Backup & Replication generates the backup job name
based on the names of the Microsoft SQL Server machine and backup repository where Veeam Plug -in
creates Microsoft SQL Server backups.
o For Microsoft SQL Server that operates as part of a failover cluster or availability group, Veeam
Backup & Replication generates the backup job name based on the name of the cluster or name of the
availability group.
2. In the Home view, expand the Job s node in the inventory pane and click Ap p lications Plug-ins.
3. In the working area, select the Microsoft SQL Server backup job to see details of the cur rent backup
process or the last backup job session.
Veeam Backup & Replication does not display the progress bar for a running Veeam Plug -in for Microsoft
SQL Server backup job. Statistics for backup jobs of this type becomes available after the back up job
session is completed.
2. In the Home view, expand the Job s node in the inventory pane and click Ap p lications Plug-ins.
2. In the Home view, expand the Job s node in the inventory pane and click Ap p lications Plug-ins.
• In the working area, backups created by Microsoft SQL Server are listed under the Microsoft SQL node.
• In the list of Microsoft SQL Server backups, Veeam Backup & Replication displays one backup for a
standalone Microsoft SQL Server, Microsoft SQL Server failover cluster or Always On availability group.
This backup contains all restore points created for different databases that reside on this server, cluster or
availability group.
• Veeam Backup & Replication generates names for Microsoft SQL Server backups according to the
following rules:
o For standalone Microsoft SQL Server, Veeam Backup & Replication generates the backup name based
on name of the Microsoft SQL Server machine.
o For Microsoft SQL Server that operates as part of a failover cluster or availability group, Veeam
Backup & Replication generates the backup name based on the name of the cluster or name of the
availability group.
You can use the Veeam Backup & Replication console to perform the following operations with Veeam Plug-in
for Microsoft SQL Server backups:
• Repair a backup
Deleting Backup
You can use the Veeam Backup & Replication console to delete backups created with Veeam Plug -in for
Microsoft SQL Server from a Veeam backup repository.
1. In the Veeam Backup & Replication console, open the Home view.
When you remove a backup from configuration, backup files (.VAB, .VASM, .VACM) remain in the backup
repository. You can import the backup later and restore data from it.
Repairing Backup
If you want to restore data from an immutable backup that resides in a hardened repository, you can use the
Rep air operation. During this operation, Veeam Backup & Replication will generate a new backup job metadata
(.VACM) file using information from the backup metadata (.VASM) files.
IMP ORTANT
This operation is intended only for a situation where the backup job metadata file has been lost as a result
of malware activity or unplanned actions. Re-creation of the backup job metadata file for other purposes is
not supported.
For more information about data restore from the hardened repository, see Hardened Repository.
Before you start the repair operation, you must perform the preparation steps. To learn more, see Preparing
Backup Created with Standalone Veeam Plug-in.
To repair a backup:
1. In the Veeam Backup & Replication console, open the Home view.
You can restore a database to the same or different Microsoft SQL Server instance. If you have backup of
Microsoft SQL Server transaction logs, you can specify a point in time to which you want to restore the
database. Otherwise, Veeam Plug-in will restore the database to the time when the restore point was created.
IMP ORTANT
It is recommended to create a full backup immediately after you restore a database. All subsequent log or
differential backups of the restored database will be based on this full backup. This action helps prevent
potential data loss.
• The backup job that created the backup must be present in Veeam Backup & Replication.
• To restore to another server under another user account, the account must have the Restore operator or
Backup administrator role on the Veeam backup server.
• To restore to another server, you must perform the restore operation on the target server, where you
want to place the new database backup.
To restore Microsoft SQL Server databases, you can use the Restore Database wizard or the
MSSQLRecoveryManager.exe command-line tool.
If you want to restore databases from a Veeam Plug-in backup on another server, launch the wizard on the
target server, where you want to place the new database backup.
• From the Microsoft Windows Sta rt menu, select All P rograms > Veeam > Restore Database or use the
Microsoft Windows search to find the Restore Database option on your machine.
• In Microsoft SQL Server Management Studio, click the Restore Database button on the toolbar.
1. From the SQL Server Name drop-down list, select the name of the machine that runs Microsoft SQL
Server.
2. From the Instance drop-down list, select the Microsoft SQL Server instance whose database you want to
restore.
3. From the Da tabases drop-down list, select the database that you want to restore.
4. From the Select backup drop-down list, select the name of the backup that contains the selected
database. If only one backup in the backup repository contains the selected database, Veeam Plug -in will
automatically select and display this backup.
5. From the Select restore p oint list, select the name of the restore point from which you want to recover
data.
• Select Restore to the point in time when the selected backup was taken if you want to restore the
database to the point in time when the restore point that you selected at the Source step was created.
• Select Restore to any point in time if you want to restore the database to a specific point in time between
the selected restore point and a previous restore point. This option is available if you restore data from a
backup that contains Microsoft SQL Server transaction logs.
Use the slider control to choose the point in time you need.
1. From the Instance drop-down list, select the Microsoft SQL Server instance where you want to restore the
database.
2. In the Da tabase field, specify the name for the restored database or select the name of the target
database from the drop-down list. Keep in mind that if you restore a database from the backup to a
database that exists in the Microsoft SQL Server instance, the target database will be overwritten.
o RE COVERY
o NORE COVERY
Skips the undo phase so that uncommitted or incomplete transactions are held open.
This allows further restore stages to carry on from the restore point. When applying this option, the
database will be in the norecovery state and inaccessible to users.
o STANDBY
The database will be in the standby state and therefore available for read operations. You can also
provide a standby file with uncommitted transactions.
By default, Veeam Plug-in selects the same file locations as for the original database. To specify custom
file locations, do the following:
b. In the Browse For Folder window, browse to the folder where you want to create the restored
database files or click Ma k e New Folder to create a new folder, and click OK.
If you want to restore databases from a Veeam Plug-in backup on another server, launch the wizard on the
target server, where you want to place the new database backup.
2. Run the MSSQLRecoveryManager.exe command with the required parameters. For more information,
see Configuration Parameters.
For example, to restore a Microsoft SQL Server database, use the following command:
Exit Codes
The MSSQLRecoveryManager.exe command can return the following exit codes:
• -1 — the service returns this code when the backup or restore process fails with an error.
• 0 — the service returns this code when the backup or restore process is successful.
Restore Parameters
You can specify the following parameters for database restore with the MSSQLRecoveryManager.exe
command:
Command Description
--src_server Specifies the name of the original server that contained the
backed-up database.
--src_instance Specifies the name of the original Microsoft SQL Server instance
that contained the backed-up database.
--src_cluster Specifies the name of the original Microsoft SQL Server cluster
that contained the backed-up database.
--src_database Specifies the name of the database that you want to restore.
--src_backup Specifies the name of the Veeam Backup & Replication job that
created the backup of the database you want to restore.
--p oint_in_time Specifies the point in time to which you want to restore the
database.
--d st_instance Specifies the name of the target Microsoft SQL Server instance.
where:
• <hostname> — name of the host
• <instance_name> — name of the Microsoft SQL Server
instance
• <cluster_name> — name of the cluster
If you restore the database with its original name to the original
location, the original database will be overwritten.
--f Specifies the rules for database file mapping. Provide mapping
rules in the following format: --
f="'<DisplayName>'::'<TargetFileLocation>'".
For example: --
f="'DB'::'D:\SQLServer\Data\DB.mdf'".
To build a successful data protection and disaster recovery plan, it is recommended that you follow the 3 -2-1
rule:
• 3: You must have at least three copies of your data: the original production data and two backups.
• 2: You must use at least two different types of media to store the copies of your data, for example, local
disk and cloud.
• 1: You must keep at least one backup offsite, for example, in the cloud or in a remote site.
Thus, you must have at least two backups and they must be in different locations. If a disaster takes out your
production data and local backup, you can still recover from your offsite backup.
To help you adopt the 3-2-1 rule, Veeam Backup & Replication offers the backup copy functionality that allows
you to create several instances of the same backup in different locations, whether onsite or offsite. Backup
copies have the same format as those created by backup jobs and you can recover your data from them when
you need it.
Veeam Backup & Replication fully automates the backup copy process and lets you specify retention settings to
maintain the desired number of restore points, as well as full backups for archival purposes. Backup copy is a
job-driven process. When enabled, the backup copy job for Veeam Plug -in backups runs continuously.
You can configure a job and start it immediately or save the job to start it later.
Before creating a job, check prerequisites. Then use the New Backup Copy Job wizard to configure a backup
copy job.
• Backup infrastructure components that will take part in the backup copy process must be added to the
backup infrastructure and properly configured. These include source and target backup repositories
between which backups must be copied.
• The target backup repository must have enough free space to store copied backups. To receive alerts
about low space on the backup repository, configure global notification settings. For more information,
see Specifying Other Notification Settings.
• For Veeam Plug-in backup copy jobs, you cannot select the following repositories as a backup copy target:
1. In the Veeam Backup & Replication console, open the Home view.
2. In the Description field, enter a description for the job. The default description contains information about
the user who created the job, date and time when the job was created.
1. Click the Ad d button and select from which entity you want to process the machines.
o From jobs: You can select Veeam Plug-in backup jobs. When a backup copy job runs, Veeam Backup &
Replication will search for backup files created by selected jobs.
o From repositories: You can select repositories where Veeam Plug-in backups are stored. When a
backup copy job runs, Veeam Backup & Replication will search for backup files created by Veeam
Plug-in in selected repositories.
2. Use the Remove button if you want to remove selected jobs or repositories from processing.
3. If you have added jobs from a repository and want to exclude from processing some of the backup jobs on
the selected repository, click E x clusions and select the jobs that you want to exclude.
1. From the Ba ckup repository list, select a backup repository in the target site where copied backups must
be stored. When you select a target backup repository, Veeam Backup & Replication automatically checks
how much free space is available on it. Make sure that you have enough free space to store copied
backups.
IMP ORTANT
For Veeam Plug-in backup copy jobs, you cannot select the following repositories as a backup copy
target:
2. If the target repository contains a Veeam Plug-in backup that was excluded from the backup copy job, and
if you don't want to transfer duplicate data, you can use the mapping feature.
After you configure mapping, if some of backup files (.VAB) of the source backup are missing in the target
backup copy, these files are uploaded to the target backup copy.
NOTE
b. Point the backup copy job to the backup in the target backup repository. Backups in the target backup
repository can be easily identified by backup job names. To facilitate search, you can use the search
field at the bottom of the window.
IMP ORTANT
• Used account must have access to Veeam backup repositories that you plan to use.
• Encryption must be disabled on the repository.
Otherwise, the repositories will not be listed as available. To learn how to configure access
permissions and encryption settings on repositories, see Access and Encryption Settings on
Repositories.
• RPO
• Notifications
By default, Veeam Backup & Replication performs deduplication before storing copied data on the target backup
repository. Deduplication provides a smaller size of the resulting backup file but may reduce the job
performance.
1. You can disable data deduplication. To do this, clear the E na ble inline data deduplication check box.
2. From the Compression level list, choose a compression level to be used: Auto, None, Dedupe-friendly,
Op timal, High or E x treme. The recommended level of compression for backup copy jobs is Auto. In this
case, Veeam Backup & Replication uses compression settings of the copied backup files. For more
information, see Compression and Deduplication.
Veeam Backup & Replication does not support data compression for databases encrypted with transparent
data encryption (TDE).
RPO Monitor
At the RP O Monitor tab, specify RPO warning settings.
Enable the W a rn me if backup is not copied within check box and specify the time period in minutes, hours, or
d a ys.
Notifications
At the Notifications tab, to specify notification settings for the backup copy job:
3. Select the Send SNMP notifications for this job check box if you want to receive SNMP traps when the job
completes successfully. SNMP traps will be sent if you specify global SNMP settings in Veeam Backup &
Replication and configure software on recipient's machine to receive SNMP traps. For more inform ation,
see Specifying SNMP Settings.
4. Select the Send email notifications to the following recipients check box if you want to receive
notifications by email in case of job failure or success. In the field below, specify a recipient email address.
You can enter several addresses separated by a semicolon.
5. Veeam Backup & Replication sends a consolidated email notification once for the specified backup copy
interval. Even if the synchronization process is started several times within the interval, for example, due
to job retries, only one email notification will be sent.
6. Email notifications will be sent if you configure global email notification settings in Veeam Backup &
Replication. For more information, see Configuring Global Email Notification Settings.
7. At the Send at field, specify the time when you want to receive notifications. Note that you will receive a
notification on the job status once a day.
o To receive a typical notification for the job, select Use global notification settings. In this case, Veeam
Backup & Replication will apply to the job global email notification settings specified for the backup
server. For more information, see Configuring Global Email Notification Settings.
o To configure a custom notification for a job, select Use custom notification settings specified below.
You can specify the following notification settings:
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName%, %JobResult%, %VmCount% (number of
machines in the job) and %Issues% (number of machines in the job that have been processed
with the W a rning or Fa iled status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive email
notification if data processing within the backup copy interval completes successfully, fails or
completes with a warning.
3. Use the E na ble and Disable options to mark the selected area as allowed or prohibited for the backup copy
job.
2. Select the E na ble the job when I click Finish check box if you want to start the job right after you finish
working with the wizard.
You can convert and unbind Veeam Plug-in backups into regular Veeam Plug-in backup files in the following
cases:
• If you have deleted a backup copy job which created the backup copy.
• If you have excluded a backup job from a backup copy job that used multiple backup jobs as a source.
NOTE
If you want to restore from a backup copy, you do not need to convert the backup copy to the backup.
Procedure
To convert a backup copy to a primary backup, do the following:
MSSQLConfigTool.exe --promote-backup-copy-to-primary
2. Veeam Plug-in will display the list of available backup copies. Type the necessary backup copy number
and press [E nter]. Then follow instructions in the command prompt.
When you submit a support case, we recommend that you attach logs files related to Veeam Plug -in operations.
TIP
Besides Veeam Plug-in logs, Customer Support may need additional information from the computer
with Veeam Plug-in. For example, Microsoft Windows event logs or SQL Server error logs. You can
run a special PowerShell script to collect all the required information. To learn more, see this Veeam
KB article.
Database administrators can use Veeam Plug-in for IBM Db2 to create native application-level backups of IBM
Db2 server data. Compared to image-level backups created by Veeam Backup & Replication or Veeam Agent,
Veeam Plug-in offers more flexible scenarios for database backup. In particular, Veeam Plug -in users can back
up and restore individual IBM Db2 databases, as well as configure indepe ndent backup schedule for full,
incremental and log backups using built-in tools of IBM Db2 servers.
With the configured Veeam Plug-in, you can perform full, incremental or log backups for IBM Db2 databases.
Use Veeam Plug-in to back up databases in the following cases:
• If you want the database administrator to fully control the backup and recovery processes.
You can use the Veeam Backup & Replication console to initiate and manage the Veeam Plug -in backup
operations. For details, see Data Backup.
TIP
If you want to protect the server itself, you can use the image-level backup functionality of Veeam Backup
& Replication, Veeam Agent for Linux or Veeam Agent for IBM AIX.
In case of malware activity or unplanned actions, you can perform restore operations based on the backup data
transferred by Veeam Plug-in to the Veeam Backup & Replication backup repositories. You can restore entire
databases from a full backup or to a specific point in time. Veeam Plug-in for IBM Db2 supports restoring
databases to the original IBM Db2 machine or another server. For details, see Data Restore.
Veeam Plug-in compresses database backups and transfers them to a backup repository connected to the
Veeam Backup & Replication infrastructure. After you install and configure Veeam Plug -in on the IBM Db2
server, you can perform all backup and restore operations with scripts and with IBM Db2 tools, such as native
IBM Db2 Call Level Interface (CLI).
When Veeam Plug-in is configured, IBM Db2 tools perform a database backup in the following way:
1. When you start a database backup, IBM Db2 loads the configuration provided by Veeam Plug -in. This
configuration is stored in the Veeam Plug-in configuration file (veeam_config.xml) that is located in the
/opt/veeam/VeeamPluginforDB2 directory on the machine where Veeam Plug-in is installed.
2. Veeam Plug-in connects to the backup server specified in the configuration file and creates a backup job.
In the Veeam Backup & Replication console, Veeam backup administrators can use the back up job to
monitor IBM Db2 backups. Keep in mind that all backup jobs that you run on your machine with Veeam
Plug-in are displayed as 1 backup job in the Veeam Backup & Replication console.
3. Veeam Plug-in starts Veeam Data Mover services on the IBM Db2 server and on a backup repository.
For each backup operation, Veeam Plug-in automatically creates and stores database backup files. For each of
the created backup files, Veeam Plug-in also creates separate metadata files. The metadata files help Veeam
Plug-in to store and manage backup data while ensuring that the data is protected, accessible, and can be
quickly restored when needed. All backup files created for backup jobs reside in a dedicated job folder in the
backup repository. For details, see Backup Files.
To store backups, you can add and configure backup repositories to your Veeam Backup & Replication
infrastructure. For details on supported backup repositories, see Veeam Backup Repositories.
Backup Types
Veeam Plug-in uses native IBM Db2 mechanisms to create application-level backups of IBM Db2 data. You can
use Veeam Plug-in to create backups of the following types.
• Full backup
• Incremental backup
• Log backup
To create backups of a specific type, you must configure Veeam Plug -in and run the backup process. You can run
the backup process manually, immediately after you configure Veeam Plug -in. Alternatively, using third-party
schedulers, you can define schedule according to which Veeam Plug -in will back up IBM Db2 data automatically.
For details about IBM Db2 database backup, see Performing Backup.
Backup Files
For every backup job within Veeam Backup & Replication, Veeam Plug -in creates and stores database backup
files, and separate metadata files for each of the backup files. The backup files provide a consistent and
integrated way for Veeam Plug-ins to store and manage backup data, while ensuring that the data is protected,
accessible and can be quickly restored when needed.
All backup files created by the backup job reside in a dedicated job folder in the backup repository.
Backup Files
Veeam Plug-in stores backup files in the following formats:
• A .VAB file stores a compressed copy of an IBM Db2 database. Veeam Plug -in creates .VAB files for full,
incremental and log backups. Veeam Plug-in uses the system ID, database name and hostname to
generate the name of the .VAB file.
• A .VASM file stores metadata that contain information about the backup. A .VASM file is created for each
.VAB backup file with the same name as the backup file. The .VASM files are used by Veeam Backup &
Replication to get data about Veeam Plug-in backups.
• A .VACM file stores metadata that contain information about the backup job. A .VACM file is created for
each backup job. The .VACM file is used by Veeam Backup & Replication to get data about Veeam Plug -in
backup job.
• Veeam Plug-in created the previous backup file more than 24 hours ago.
If you use the scale-out backup repository as a backup target, Veeam Plug-in can create a backup file for the
backed-up database on each repository extent.
• Veeam Plug-in can write data to the created backup file for 24 hours.
After one of the limits is archived, Veeam Plug-in closes the backup file and cannot add new data to this
file. Keep in mind that Veeam Plug-in must close the backup file to allow Veeam Backup & Replication to
perform the following operations:
Before you start performing operations on backup repositories within the Veeam Backup & Replication
infrastructure, consider that you need to set the access permissions for each repository. For details, see Access
and Encryption Settings on Backup Repositories.
• Windows Server
• Linux Server
• NFS Share
• Infinidat InfiniGuard
If you plan to use HPE StoreOnce as a backup repository for Veeam Plug -in backups, the total number of
stored files (data and metadata) must not exceed 3,000,000 per Catalyst store. If necessary, multiple
Catalyst stores may be created on the same StoreOnce system.
• Quantum DXi
• ExaGrid
Make sure the repository is configured as described in the ExaGrid section in the Veeam Backup &
Replication User Guide.
• Hardened Repository
Make sure that the performance extents of the scale-out backup repository contain repositories supported
by Veeam Plug-in for IBM Db2. For example, you cannot use object storage repositories as performance
extents to keep backups created with Veeam Plug-ins.
• For Veeam Plug-in backups, the warning which indicates that free space on a storage device has reached a
specified threshold is set in the veeam_config.xml file. The warning settings in the Veeam Backup &
Replication console does not affect this setting.
Keep in mind that you must add the parameter to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in
the first detected line. Other parameters will be ignored.
• The Veeam Plug-in configuration wizard will not show repositories where the E ncrypt backups stored in
this repository option is enabled. To learn how to disable the encryption option, see Access and
Encryption Settings on Backup Repositories.
• Make sure that Veeam backup repositories have enough free space to store database b ackups and
transaction log backups. If required, you can use a scale-out backup repository.
• Veeam extract utility cannot extract backup files created by Veeam Plug -in.
• Veeam Plug-ins do not support backup operations targeted directly to object storage repositories.
To learn more about object storage repositories, see the Object Storage Repositories section in the Veeam
Backup & Replication User Guide.
• Veeam Plug-ins do not support backup operations to object storage added as a performance extent of a
scale-out backup repository.
• You cannot rename a scale-out backup repository with Veeam Plug-in backups stored on this repository.
• For Veeam Plug-in backups and backup copies, the Performance policy of a scale-out repository functions
differently:
a. Veeam Backup & Replication checks if there are extents without warning on free space insufficiency.
If there is no extents without the warning, Veeam Backup & Replication uses an extent with the
largest amount of free space that has a free task slot.
b. For the extents without the warning, Veeam Backup & Replication checks if there are incremental
extents with free task slots.
If there are no incremental extents with free task slots, Veeam Backup & Replication uses a full extent
with the least amount of used task slots.
c. For incremental extents with free task slots, Veeam Backup & Replication sends backup files to an
incremental extent with the least amount of used task slots.
If several extents has the same least amount of used tasks, Veeam Backup & Replication uses an
extent with the largest amount of free space.
To learn more about file placement policies of scale-out repositories, see Backup File Placement section in
the Veeam Backup & Replication guide.
• For a scale-out repository configured in the Data Locality policy, the repository extents are selected
according to the largest amount of free space for each connection. If the selected extent does not have
free task slots, Veeam Backup & Replication uses the extent with the next largest amount of free space.
If there are two extents with only one task slot on each extent, the backup is performed using two parallel
streams (one stream per extent).
• If you want to add a backup repository which contains Veeam Plug -in backups as an extent to a scale-out
backup repository, you must do the following:
a. Select Veeam Plug-in backup files that reside in this backup repository and remove them from
configuration.
To learn more, see the Removing Backups from Configuration section in the Veeam Backup &
Replication User Guide.
To learn more, see the Disabling and Deleting Jobs section in the Veeam Backup & Replication User
Guide.
To learn more, see the Extending Scale-Out Repositories section in the Veeam Backup & Replication
User Guide.
To learn more, see the Rescanning Scale-Out Repositories section in the Veeam Backup & Replication
User Guide.
[For imports to the scale-out backup repository] Before importing your backup, consider that
the names of all backup files (.VAB, .VASM, .VACM) and paths to these files contain only the
following allowed characters:
• a-zA-Z0-9
• _-.+=@^
If your backup was initially created on a standalone backup server, the default name of the
backup metadata file (.VACM) contains forbidden characters. Before importing, you must delete
forbidden characters from the file name or replace them with the allowed characters.
e. Set the scale-out repository as the target for backups using the following command:
DB2ConfigTool --set-repository
DB2ConfigTool --map-backup
Capacity Tier
You can configure Veeam Backup & Replication to transfer Veeam Plug -in backup files to a capacity tier. Both
policies (Move policy, Copy policy) are supported for Veeam Plug -in backups with the following limitations:
• Capacity tier does not verify whether data that is being moved is unique and has not been offloaded
earlier. Thus, it is highly recommended to check the pricing plans of your cloud storage provider to avoid
additional costs for offloading and downloading backup data.
• To offload backup files to the capacity tier, Veeam Backup & Replication splits data into 1 MB objects and
compresses the resulting objects. The default object size will be a compressed 1 MB block, resulting in
objects of around 512 KB in size.
• Veeam Backup & Replication offloads Veeam Plug-in for IBM Db2 backup files to the capacity tier with the
Copy and Move policies in different ways. With the Copy policy, Veeam Backup & Replication checks
backup files every 1 hour and runs an offload job only if new backup files exist. With the Move policy,
Veeam Backup & Replication checks backup files every 4 hours and runs an offload job, even if there are
no new files.
IMP ORTANT
With both the Copy and Move policies, Veeam Backup & Replication copies and moves to the
capacity tier only non-active backup files created more than 24 hours ago, which match the capacity
tier configuration parameters. To learn more about the capacity tier configuration, see Add Capacity
Tier in the Veeam Backup & Replication User Guide.
• Capacity tier does not track dependencies of full and incremental backup files. Thus, consider the
following:
o [For the Move policy] When backup files are transferred to the capacity tier, Veeam Backup &
Replication takes into account only the creation time of backup files. Make sure that the operational
restore window is not longer than the whole backup chain cycle period. Otherwise, you may
encounter the scenario when full backup files are transferred to the capacity tier and their increment
backup files still remain in the performance tier.
o The capacity tier immutability expiration date does not have the additional block generation period.
The immutability expiration date is based only on the number of days specified in the settings of the
object storage backup repository.
• In case a disaster strikes the scale-out repository and you have a Veeam Plug-in backup file on the capacity
tier, you must re-create the scale-out repository before you restore from this backup file. You must
connect the capacity tier with the Veeam Plug-in backup file to another backup server with Veeam Backup
& Replication and a scale-out repository. After that, you can import the backup files to Veeam Backup &
Replication and then perform data recovery operations.
Hardened Repository
You can configure Veeam Backup & Replication to transfer Veeam Plug -in backup files to a hardened repository.
The hardened repository helps to protect Veeam Plug -in backup files from loss as a result of malware activity or
unplanned actions. Backup files in the hardened repository become immutable for the time period specified in
the backup repository settings. During this period, backup files stored in the repository cannot be modified or
deleted.
For Veeam Plug-in backups, immutability works according to the following rules:
• Immutability is applied to backup .VAB files and backup metadata .VASM files. Backup job metadata
.VACM file are not immutable.
• Backup files become immutable for the configured time period (7 to 9999 days).
• Backup files become immutable after 24 hours have passed since each file was created. The immutability
service runs in the background at every hour. This service detects and sets immutability flags for any
backup file that can no longer be reused.
TIP
Contact Veeam Customer Support to change the default 24 hour lifespan of a backup file. To do that,
you can submit a support case on the Veeam Customer Support Portal.
• The immutability period is not extended for the active backup chain.
Depending on the available type of Veeam Plug -in backups that will be the source for the restored databases,
you can perform the following restore operations:
Restore IBM Db2 databases from a Veeam Plug-in backup to the original server by using the db2
restore command. For details, see Restore to Original Server.
You can also restore IBM Db2 databases from a Veeam Plug -in backup to another server. For details, see
Restore to Another Server.
Depending on the location of Veeam Plug-in backups that will be the source for the restored databases, you can
also perform the following restore operations:
Restore IBM Db2 databases from Veeam Plug-in backups stored on supported types of repositories. For
details, see Veeam Backup Repositories.
Veeam Plug-in supports data backup and restore for the following types of clusters:
• Failover clusters
To back up data with Veeam Plug-in, clustered databases must be managed with the following cluster
management software:
Backup of Cluster
To back up databases that operate as part of a failover cluster, do the following:
1. Install and configure Veeam Plug-in for IBM Db2 on each node of the cluster. For more information, see
Installing Veeam Plug-in for IBM Db2 and Configuring Plug-in.
2. Perform the backup on the active cluster node. For more information, see Performing Backup.
Veeam Plug-in will start the backup job on the primary cluster node.
In case of clustered database, Veeam Plug-in can store data from several cluster nodes in the same backup file
on the backup repository. To do this, Veeam Plug-in needs the name of the cluster. Depending on the cluster
management software that you use, Veeam Plug-in gets the cluster name in one of the following names:
• In case of IBM PowerH and IBM TSA, Veeam Plug-in gets the cluster name automatically.
• In case of Pacemaker, you must set the cluster name in the veeam_config.xml file. You must set the name
with the customServerName parameter. The parameter value must be the same as the name of your
cluster.
For example, if your cluster has the name db2 and the domain for the environment is customer1.local, you
have to set the following entry:
Keep in mind that you must add the parameter to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug -in will consider parameters only in
the first detected line. Other parameters will be ignored.
Restore of Cluster
To restore a database that operates as part of a failover cluster, y ou must start the restore process on the
primary cluster node.
In This Section
• System Requirements
• Permissions
• Ports
• Licensing
• Environment Planning
Sp ecification Requirement
IBM Db2 Veeam Plug-in supports the following configurations of IBM Db2:
• Versions: 10.5, 11.1, 11.5
• Editions: Standard, Advanced
• Environments: standalone servers, high availability disaster recovery (HADR), failover
clusters
In case of HADR and failover clusters, Veeam Plug-in supports the following cluster
management software: TSA, Pacemaker for Linux OSes, PowerHA for IBM AIX.
For additional information about supported Linux versions that are listed for supported
configurations of IBM Db2, see this IBM article.
Veeam
Ba ckup & Veeam Backup & Replication supports two latest versions of Veeam Plug -ins. For example,
Rep lication Veeam Backup & Replication 12.3 supports Veeam Plug -in 12.3 and 12.2.
Keep in mind that if you use an earlier Veeam Plug -in build than the one that is included in
the installation ISO file of your Veeam Backup & Replication version, it may not have all the
features and bug fixes introduced in your Veeam Backup & Replication version. To learn more
about the Veeam Plug-in builds included in Veeam Backup & Replication installation ISO files,
see this Veeam KB article.
Network Veeam Plug-in should be able to establish a direct IP connection to the Veeam Backup &
Replication server. Thus, Veeam Plug-in cannot work with the Veeam Backup & Replication
server that is located behind the NAT gateway.
NOTE
The following system requirements apply to Veeam Plug-in for IBM Db2 for Linux on Power
operating in the standalone mode. The managed operation mode is not supported. For
details on operation modes, see Standalone and Managed Operations Modes.
Sp ecification Requirement
IBM Db2 Veeam Plug-in supports the following configurations of IBM Db2:
• Versions: 10.5, 11.1, 11.5
• Editions: Standard, Advanced
• Environments: standalone servers, high availability disaster recovery (HADR), failover
clusters
In case of HADR and failover clusters, Veeam Plug-in supports the following cluster
management software: TSA, Pacemaker for Linux OSes, PowerHA for IBM AIX.
For additional information about supported Linux versions that are listed for supported
configurations of IBM Db2, see this IBM article.
Veeam Veeam Backup & Replication supports two latest versions of Veeam Plug -ins: 12.3 and 12.2.
Ba ckup &
Rep lication To learn more about the Veeam Plug-in builds included in Veeam Backup & Replication
installation ISO files, see this Veeam KB article.
Network Veeam Plug-in should be able to establish a direct IP connection to the Veeam Backup &
Replication server. Thus, Veeam Plug-in cannot work with the Veeam Backup & Replication
server that is located behind the NAT gateway.
Sp ecification Requirement
IBM Db2 Veeam Plug-in supports the following configurations of IBM Db2:
• Versions: 10.5, 11.1, 11.5
• Editions: Standard, Advanced
• Environments: standalone servers, high availability disaster recovery (HADR), failover
clusters
In case of HADR and failover clusters, Veeam Plug-in supports the following cluster
management software: TSA, Pacemaker for Linux OSes, PowerHA for IBM AIX.
For additional information about supported IBM AIX versions that are listed for supported
configurations of IBM Db2, see this IBM article.
Veeam Veeam Backup & Replication supports two latest versions of Veeam Plug -ins. For example,
Ba ckup & Veeam Backup & Replication 12.3 supports Veeam Plug -in 12.3 and 12.2.
Rep lication
Keep in mind that if you use an earlier Veeam Plug -in build than the one that is included in
the installation ISO file of your Veeam Backup & Replication version, it may not have all the
features and bug fixes introduced in your Veeam Backup & Replication version. To learn more
about the Veeam Plug-in builds included in Veeam Backup & Replication installation ISO files,
see this Veeam KB article.
Network Veeam Plug-in should be able to establish a direct IP connection to the Veeam Backup &
Replication server. Thus, Veeam Plug-in cannot work with the Veeam Backup & Replication
server that is located behind the NAT gateway.
Installing and The account used for installing and updating Veeam Plug -in must have root
updating Veeam Plug- privileges.
in
• You can work with backups created by Veeam Plug-in only with the account
used for creating the backups. If you want to use another account, see
required permissions in Configuring Plug-in.
* For NFS share, SMB share repositories, and Dell Data Domain, HPE StoreOnce deduplication storage appliances, Veeam
Backup & Replication uses an auxiliary backup infrastructure component — gateway server. For details, see the Gateway
Server section in the Veeam Backup & Replication User Guide.
** This range of ports applies to newly added backup infrastructure components. If you upgrade to Veeam Backup &
Replication 10.0 from earlier versions of the product, the range of ports from 2500 to 5000 applies to the already added
components.
Backup
Veeam Default range of ports used as data
repository
Backup & 2500 to transmission channels. For every TCP
server or TCP
Replication 3300** connection that a backup process uses,
gateway
server one port from this range is assigned.
server*
Linux server
used as a
Port used as a control channel from the
backup
TCP 22 Veeam Plug-in server to the target Linux
repository or
host.
gateway
server
Veeam
Backup &
Replication Microsoft Ports used as a management channel from
TCP 135,
server Windows the Veeam Plug-in server to the
137 to 139,
server used UDP Repository/Gateway server. Also, the ports
445
as a backup are used to deploy Veeam components.
repository or
gateway 6160, Default ports used by the Veeam Installer
server TCP
6162 Service and Veeam Data Mover Service
(specified in
the SMB SMB server SMB/Netbios name resolution for the SMB
share TCP 135, protocol (needed in some cases). For
repository UDP 137 to 139 details, see the Used Ports section in the
settings) Veeam Backup & Replication User Guide.
Gateway
server
HP E StoreOnce
E x aGrid
Veeam
Backup & Default command port used for
ExaGrid TCP 22
Replication communication with ExaGrid.
server
Veeam
Backup & Default command port used for
Quantum DXi TCP 22
Replication communication with Quantum DXi.
server
Veeam
Fujitsu Default command port used for
Backup &
ETERNUS TCP 22 communication with Fujitsu ETERNUS
Replication
CS800 CS800.
server
Infinidat InfiniGuard
Veeam
Backup & Infinidat Default command port used for
TCP 22
Replication InfiniGuard communication with Infinidat InfiniGuard.
server
For detailed list of ports used by Veeam Backup & Replication server and backup repositories, see the Used Ports
section in the Veeam Backup & Replication User Guide.
This guide provides information only on specifics of Veeam licenses for Veeam Plug-ins. For terminology and
general information about Veeam Licensing, see Veeam Licensing Policy.
Licensed Objects
A machine with Veeam Plug-in is assumed protected if it has been processed by a Veeam Plug-in backup job in
the last 31 days.
If you use any instance-based (Veeam Universal Licensing) license in Veeam Backup & Replication, you do not
need to install any additional licenses. A protected server with Veeam Plug -in consumes one instance unit from
the license. Servers processed by backup copy jobs are not regarded as protected machines, these types of jobs
provide an additional protection level for machines that are already protected with Veeam Plug -in backup jobs.
A machine protected by both Veeam Plug-in and Veeam Backup & Replication will consume a license only once.
For example, you have IBM Db2 server that you back up using Veeam Plug -in. You also back up this server using
image-level backup functionality of Veeam Backup & Replication. In this case, only one license will be
consumed.
NOTE
[For Perpetual per-socket licenses] If you are using a legacy perpetual per-socket license, a license is
required for each hypervisor CPU socket occupied by protected servers.
A socket is consumed from the license only if the hypervisor where protected servers reside is added to the
Veeam Backup & Replication infrastructure. If the hypervisor is not added to the Veeam Backup &
Replication infrastructure, an instance unit will be consumed from the license. To learn how to add a
hypervisor to the Veeam Backup & Replication infrastructure, see the Virtualization Servers and Hosts
section in the Veeam Backup & Replication User Guide.
IMP ORTANT
If you have a clustered database, each node of the cluster will consume one License Unit. The License Units
are consumed for all cluster nodes, even if Veeam Plug-in is installed only on one of the nodes.
You can use Veeam Plug-ins with all license packages ( Veeam Backup Essentials, Veeam Backup &
Replication, Veeam Availability Suite ).
Note that if you use the Rental license type, functionality of Veeam Plug-ins is supported only for the
Enterprise Plus edition of Veeam Backup & Replication.
Functionality of Veeam Plug-ins is supported only for the Enterprise Plus edition of Veeam Backup &
Replication.
To assign a custom name, update the Veeam configuration XML file as follows:
2. Add the customServerName parameter entry to the <PluginParameters /> line in the Veeam
configuration XML file:
After adding this parameter, Veeam Plug-in will use the specified custom name of the server to name the
backup job and backup folder.
For example:
After adding this parameter, Veeam Plug-in will use the fully qualified domain name (FQDN) of the server to
name the backup job and backup folder.
Keep in mind that you must add the parameters to the existing line in the veeam_config.xml file. If you
create a new line with the same name as the existing line, Veeam Plug-in will consider parameters only in the
first detected line. Other parameters will be ignored.
IMP ORTANT
For security reasons, it is recommended to use separate repositories for different customers and limit the
Veeam Repository Authentication to the specific customer.
<IgnoreVBRNetworkRules=true />
To learn more about traffic encryption, see the Enabling Traffic Encryption section in the Veeam Backup &
Replication User Guide.
1. Deploy Veeam Plug-in on the machine that runs IBM Db2. For more information, see Installing Veeam
Plug-in for IBM Db2.
2. Configure connection between Veeam Plug-in and the backup repository managed by the Veeam Backup &
Replication server. For more information, see Configuring Plug-in.
3. Define what data you want to back up and configure backup settings. For more information, see
Performing Backup.
4. In case of a disaster, you can restore data from a backup. For more information, see Performing Restore.
To be able to use Veeam Plug-in for IBM Db2, you must complete the following steps:
IMP ORTANT
You can install Veeam Plug-in using the .RPM package, the .DEB package or extract the plug-in files from the
.TAR.GZ archive. Installation steps depend on the type of installation file suitable for your OS:
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image at the Download Veeam Products page.
Once Veeam Plug-in is installed, you must configure the plug-in settings. For details, see Configuring Plug-in.
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image at the Download Veeam Products page.
3. Upload the VeeamPluginforDB2_12.3.0.310-1_amd64 package to the Linux machine with IBM Db2.
Once Veeam Plug-in is installed, you must configure the plug-in settings. For details, see Configuring Plug-in.
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image at the Download Veeam Products page.
3. Upload the VeeamPluginforDB2.tar.gz archive to the Linux machine with IBM Db2.
mkdir /opt/veeam
TIP
The /opt/veeam directory is a default directory for the Veeam Plug-in installation. This directory is
used in relevant command examples in this guide.
5. Unpack Veeam Plug-in files from the archive to the /opt/veeam directory with the following command:
Once Veeam Plug-in is installed, you must configure the plug-in settings. For details, see Configuring Plug-in.
IMP ORTANT
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image from the Veeam Backup & Replication: Download page.
2. Open the mounted disk image and go to the /Plugins/IBM Db2/Linux/ppc64le directory.
rpm -i VeeamPluginforDB2-12.3.0.310-1.ppc64le.rpm
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image at the Download Veeam Products page.
Once Veeam Plug-in is installed, you must configure the plug-in settings. For details, see Configuring Plug-in.
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image from the Veeam Backup & Replication: Download page.
2. Open the mounted disk image and go to the /Plugins/IBM Db2/Linux/ppc64le directory.
3. Upload the VeeamPluginforDB2.tar.gz file to the Linux machine with IBM Db2.
mkdir /opt/veeam
5. In the terminal, open the folder that contains the VeeamPluginforSAPHANA.TAR.GZ archive.
6. Unpack the plug-in files from the archive to the /opt/veeam directory.
IMP ORTANT
If you deploy Veeam backup infrastructure for the first time, you can download the Veeam Backup &
Replication installation disk image at the Download Veeam Products page.
rpm -i VeeamPluginforDB2-12.3.0.310-1.aix6.1.ppc.rpm
Once Veeam Plug-in is installed, you must configure the plug-in settings. For details, see Configuring Plug-in.
• Consider supported types of backup repositories and limitations for IBM Db2 backups in Veeam Backup
Repositories.
• To store backups in a backup repository, the specified account must have access permissions on the target
backup repository.
2. In the inventory pane, click the Ba ckup Repositories node or the Sca le-out Repositories node.
3. In the working area, select the necessary backup repository and click Set Access Permissions on the ribbon
or right-click the backup repository and select Access permissions.
4. In the Access Permissions window, on the Sta ndalone applications tab specify to whom you want to grant
access permissions on this backup repository:
o Allow to everyone — select this option if you want to grant repository access to any user. This option
is equal to granting access rights to the Everyone group in Microsoft Windows (anonymous users are
excluded). For security reasons, the option is not recommend ed for production environments.
o Allow to the following accounts or groups only — select this option if you want only specific users to
be able to store backups in this repository. Click Ad d to add the necessary users and groups to the list.
6. Click OK.
• To perform this procedure, your OS user account must have root privileges.
• After a user is added to the group, the user must log out, then log in to the Linux OS again to activate the
group permissions.
where:
o <userName> — the name of the account that will be granted access to the configuration file.
3. Change the ownership of the configuration file to enable users from the dedicated group to access the
configuration file. To do this, run the following command:
4. Limit the permissions for the configuration file to allow the read-write access only to the members of the
group. To do this, use the following command:
To configure Veeam Plug-in, do the following on the machine with IBM Db2:
1. Log into the machine with a user with root or instance owner privileges.
2. To launch the Veeam Plug-in configuration tool, run the following command:
/opt/veeam/VeeamPluginforDB2/DB2ConfigTool --wizard
TIP
You do not need root privileges to launch the Veeam Plug -in configuration tool if you have
configured group access as described in the Permissions section.
If you have extracted files form the .TAR.GZ archive, go to the /opt/veeam/VeeamPluginforDB2
folder and run the following command:
DB2ConfigTool --wizard
3. Specify the fully qualified domain name (FQDN) or IP address of your Veeam Backup & Replication server.
4. Specify the port which will be used to communicate with the backup server. Default port: 10006.
5. Specify credentials to authenticate against the Veeam Backup & Replication server.
• You can work with backups created by Veeam Plug-in only with the account used for creating
the backups. If you want to use another account, assign the Veeam Backup Administrator role
or Veeam Backup Operator and Veeam Restore Operator roles to the account.
To learn how to assign Veeam Backup & Replication roles, see the Users and Roles section of
the Veeam Backup & Replication Guide.
• The account must have access permissions on the required backup repository. To learn how to
configure access permissions and encryption settings on repositories, see Access and
Encryption Settings on Backup Repositories.
6. Select the backup repository where you want to store backups. In the terminal dialog, enter the number of
the repository from the list of available repositories.
IMP ORTANT
• The used account must have access to Veeam backup repositories that you plan to use.
• Encryption must be disabled on the repository.
Otherwise, the repositories will not be listed as available. To learn how to configure access and
encryption settings on repositories, see Access and Encryption Settings on Backup Repositories.
7. Confirm if you want Veeam Plug-in to use built-in compression functionality of Veeam Backup &
Replication.
8. Confirm if you want Veeam Plug-in to switch the database to archive logging with the logarchmeth1
configuration parameter.
If you confirm, Veeam Plug-in backs up archive logs as specified with the logarchmeth1 parameter. For
details, see this IBM article. Keep in mind that you must set Veeam Plug-in to use the logarchmeth1
parameter to back up IBM Db2 databases online. Otherwise, you can back up databases only offline.
Save configuration?
1. Apply configuration
2. Export configuration into a file for manual setup
3. Cancel without saving
Enter: 1
Alternatively, you can export configurations of Veeam Plug-in and IBM Db2 as an .XML and an .TXT files.
Later, you can use these files for the manual Veeam Plug -in and IBM Db2 configuration.
If you confirmed to use the logarchmeth1 parameter and the Veeam Plug-in configuration is completed
successfully, the database switches to the BACKUP PENDING state. Thus, before you can activate the database,
you need to perform a full offline backup. To learn more, see Performing Full Backup.
• Configuration file
• Configuration tool
Configuration File
The DB2ConfigTool configures IBM Db2 settings and saves the settings to the Veeam Plug -in configuration file
(veeam_config.xml). The file is located in the /opt/veeam/VeeamPluginforDB2 directory on the machine
where Veeam Plug-in is installed.
<Config>
<CAVerificationParameters />
<AdditionalCertificatePaths />
<ProxyConfig />
<VBRConnectionParams vbrHostName="172.24.182.188" vbrPort="10006" vbrUser="V
" vbrDomain="" vbrPassword="4SdkECGybVLU+7GMk886ZQ==" />
<Certificate />
<BackupForRestoreParams />
<AgentParams />
<RepositoryParams>
<Repository repositoryName="Default Backup Repository" repositoryID="887
88f9e-d8f5-4eb4-bc4f-9b3f5403bcec" />
</RepositoryParams>
<PluginParameters />
</Config>
IMP ORTANT
When you work with the command-line tool, use one configuration parameter per command. The tool does
not support commands with multiple parameters.
P a rameter Description
[For System Copy] Specifies the backup that will be used for
restore operations. You can use this parameter if you want to
restore a database to another server or to restore a database
from a backup copy.
Shows the list of preferred networks set for Veeam Plug -in data
traffic to the remote backup repository.
NOTE
• By default, if there are no specified preferred networks for Veeam Plug -in data traffic, Veeam Plug-
in will connect to preferred networks specified in Veeam Backup & Replication. To learn more about
setting preferred networks in Veeam Backup & Replication, see the Specifying Preferred Networks
section in the Veeam Backup & Replication User Guide.
• Veeam Plug-in does not save information about failed network connections. If backup or restore
operations fail, Veeam Plug-in tries to connect to the following network from the preferred
networks list to finish the started operations. Regardless of the first unsuccessful connection,
Veeam Plug-in will try to perform the next backup operations first on the failed network.
• Veeam Plug-in network preferences take priority over Veeam Backup & Replication network
preferences. Only if the preferred networks for Veeam Plug -in data traffic are not available for any
reason, Veeam Plug-in will try to connect to the Veeam Backup & Replication preferred networks.
To specify networks for data transfer, you must create a list of preferred networks. When Veeam Plug -in needs
to transfer data, it uses networks from this list. If a connection over any of the preferred networks cannot be
established for any reason, Veeam Plug-in will automatically fail over to the following network from the
preferred networks list.
To create and manage the list of preferred networks that Veeam Plug -in will use, you can perform the following
operations:
where:
o <network_IP_address> can be either the IP address of a single network or a network mask that
contains a range of network IP addresses. Specify one of the available options to add as preferred
networks for Veeam Plug-in data traffic.
For example:
DB2ConfigTool --show-preferred-networks
The following example shows what the output of the DB2ConfigTool command with the --show-preferred-
networks parameter can look like:
DB2ConfigTool --show-preferred-networks
Preferred networks:
1. 172.24.29.156
2. 172.24.26.189
where <network_IP_address> can be either the IP address of a single network or a network mask that
contains a range of network IP addresses. Specify one of the available options to remove from the
preferred networks list.
For example:
If you throttle performance, Veeam Backup & Replication starts Veeam Plug -in backup operation processes with
low priority and nice value of 19. The nice values are in ascending order of priority ranging from -20 (the highest
priority) to 19 (the lowest priority). Keep in mind that Veeam Plug-ins manage the priority of backup operation
processes only if the system running on the target computer is busy with other tasks.
NOTE
• By default, Veeam Plug-in does not throttle performance.
• Performance throttling does not apply to restore operations.
1. Log into the machine with a user with root or instance owner privileges.
2. Start the Veeam Plug-in configuration wizard with the following parameter:
/opt/veeam/VeeamPluginforDB2/DB2ConfigTool --set-throttling
All backup activities will be throttled if the system is busy. Backup perf
ormance may be affected. Proceed? (y/N): y
If you want to upgrade Veeam Plug-in, note that Veeam Backup & Replication must be the same or later than
the version of Veeam Plug-in. If you want to use the latest functionality, you must upgrade both Veeam Backup
& Replication and Veeam Plug-in to the latest version. After the upgrade, you don't need to re-run the Veeam
Plug-in configuration wizard, the plug-in configuration files will be preserved.
IMP ORTANT
• You must upgrade Veeam Backup & Replication before you upgrade Veeam Plug -ins. To learn how to
upgrade Veeam Backup & Replication, see the Upgrading to Veeam Backup & Replication 12.3 section
in the Veeam Backup & Replication User Guide.
• Veeam Backup & Replication supports two latest versions of Veeam Plug -ins. For example, Veeam
Backup & Replication 12.3 supports Veeam Plug-in 12.3 and 12.2.
Keep in mind that if you use an earlier Veeam Plug-in build than the one that is included in the
installation ISO file of your Veeam Backup & Replication version, it may not have all the features and
bug fixes introduced in your Veeam Backup & Replication version. To learn more about the Veeam
Plug-in builds included in Veeam Backup & Replication installation ISO files, see this Veeam KB
article.
• Operations in the terminal of the machine with the database require root privileges .
2. Open the mounted disk image and go one of the Plugins\IBM Db2 folder.
3. Select the Veeam Plug-in installation file suitable for your OS and upload it to the machine with IBM Db2.
The upgrade procedure depends on the type of package and OS that you use:
rpm -U VeeamPluginforDB2-12.3.0.310-1.x86_64.rpm
TIP
To find out which version of Veeam Plug-in is installed on your server, you can use the following command:
rpm -qa | grep VeeamPlugin
2. To upgrade Veeam Plug-in, run the following command. Note that the operation requires root privileges.
2. Unpack the plug-in files from the archive to the /opt/veeam directory. Old Veeam Plug-in files will be
replaced by new files.
2. To upgrade Veeam Plug-in, run the following command. Note that the operation requires root privileges.
rpm -U VeeamPluginforDB2-12.3.0.310-1.aix6.1.ppc.rpm
IMP ORTANT
The password included in the configuration file is encrypted. Thus, after you import the configuration file,
you must set the credentials manually in the Veeam Plug -in configuration wizard or using DB2ConfigTool.
2. Copy the veeam_config.xml file to the server where you want to configure the plug -in.
3. Install Veeam Plug-in on the new server and place the copied XML file in the
/opt/veeam/VeeamPluginforDB2 directory.
4. Set new credentials to connect to the Veeam Backup & Replication server using the following command:
• If backup files are not imported according to instructions given in this section, Veeam Plug -in backup and
restore operations may fail.
• The repository from which you plan to import backups must be added to the Veeam Backup & Replication
infrastructure. Otherwise you will not be able to access backup files.
• [For backups of scale-out clusters and servers with the customServerName option] To avoid mapping
failure, the cluster name must be the same as the name used before importing backups.
• [For imports to the scale-out backup repository] Before importing your backup, consider that the names
of all backup files (.VAB, .VASM, .VACM) and paths to these files contain only the following allowed
characters:
o a-zA-Z0-9
o _-.+=@^
If your backup was initially created on a standalone backup server, the default name of the backup
metadata file (.VACM) contains forbidden characters. Before importing, you must delete forbidden
characters from the file name or replace them with the allowed characters.
1. Copy the backup file folder to a backup repository or add a new backup repository with this folder as a
subfolder.
IMP ORTANT
Make sure that you import backup files and all related metadata files.
Keep in mind that each Veeam Plug-in backup file (.VAB) has its own metadata file (.VASM). Also,
you must import the backup job metadata file (.VACM) that is stored in the same folder.
4. In the inventory pane of the Ba ckup Infrastructure view, select the Ba ckup Repositories node.
During the rescan operation, Veeam Backup & Replication gathers information about backups that are
currently available in the backup repository and up dates the list of backups in the configuration database.
After the rescan operation, backups that were not in this configuration database will be shown on the
Home view in the Ba ckups > Disk (Imported) node.
6. On the IBM Db2 server, set the new repository as a target in the Veeam Plug-in settings:
DB2ConfigTool --set-repositories
Available backup repositories:
1. serv55.tech.local
2. serv07_repo
Enter repository number: 1
7. Start the Veeam Plug-in configuration wizard with the following parameter:
NOTE
Before you re-map your backup to the repository, make sure that there is not an existing backup job
on your machine with Veeam Plug-in that is targeted at the same repository. If there is such a job,
delete this job from the Veeam Backup & Replication console.
DB2ConfigTool --map-backup
rpm -e VeeamPluginforDB2
For SLES
zypper rm VeeamPluginforDB2
For Ubuntu
rpm -e VeeamPluginforDB2
Veeam Plug-in backs up IBM Db2 databases according to backup settings that you specify. You can specify what
databases to back up, the type of database backups you want to create, and processing set tings for backed-up
data.
• If you reconfigured the logarchmeth1 parameter, IBM Db2 switches the database into the
BACKUP_PENDING state. To resolve this, you must perform a full offline backup of database. After offline
backup is created, you can delete the backup file and back up database online.
• If you plan to back up databases with the HADR replication, make sure that HADR is set up and initialized
for all databases you want to protect. For details, see this IBM article.
• Backups created by Veeam Plug-ins cannot be used as a source for file to tape or backup to tape jobs.
If you do not set the trackmod parameter and create a full backup, you will not be able to create incremental
backups for this full backup.
If you do not set the AUTO_DEL_REC_OBJ parameter and create backups, you will not be able to delete these
backups using the PRUNE HISTORY command.
Alternatively, you can set IBM Db2 to use hardware-accelerated compression. To do this, run the following
command:
• Offline backup
• Online backup
Offline Backup
To back up database offline, do the following steps:
1. Offline backup requires downtime. During the downtime, the database is offline and inaccessible to
applications. To prepare the database, do the following steps:
This command returns a list of all existing connections. To stop these connections, you can close the
applications manually or you can disconnect all connections to all IBM Db2 databases with the
following command:
b. Deactivate the database you want to back up offline with the following commands:
1. Before you back up database online, check if you set Veeam Plug -in to use the logarchmeth1 parameter.
If you have not configured the logarchmeth1 parameter during the Veeam Plug-in configuration, you can
configure the parameter using DB2ConfigTool:
Alternatively, you can re-configure the database with the following command:
If you want to include logs in the backup, you can use the INCLUDE LOGS option with the BACKUP DATABASE
command:
To learn more about the INCLUDE LOGS option, see this IBM article.
• An incremental backup. The incremental backup contains all database data that has changed since the last
successful full backup.
• An incremental delta (or delta ) backup. The delta backup contains all database data that has changed
since the last successful full, incremental, or delta backup.
IMP ORTANT
To create incremental and delta backups, you must set the trackmod parameter before you create a full
backup. For details, see Preparing Database.
You can create both incremental and delta backups offline and online. For details, see the following
subsections:
• Offline backup
• Online backup
Offline Backup
To back up database offline, do the following steps:
1. Offline backup requires downtime. During the downtime, the database is offline and inaccessible to
applications. To prepare the database, do the following steps:
This command returns a list of all existing connections. To stop these connections, you can close the
applications manually or you can disconnect all connections to all IBM Db2 databases with the
following command:
b. Deactivate the database you want to back up offline with the following commands:
2. Depending on the type of the backup you want to create, back up the database offline with one of the
following commands:
Online Backup
Depending on the type of the backup you want to create, back up the database online with one of the following
commands:
If you want to include logs in the backup, you can use the INCLUDE LOGS option with the BACKUP DATABASE
command:
To learn more about the INCLUDE LOGS option, see this IBM article.
You cannot start or edit Veeam Plug-in backup jobs in the Veeam Backup & Replication console. You can manage
backup operations on the machine with Veeam Plug-in only.
• Veeam Backup & Replication creates one backup job for a machine with Veeam Plug -in for IBM Db2. All
backup sessions for different databases that reside on this machine run within this backup job.
• Veeam Backup & Replication generates names for IBM Db2 backup jobs according to the names of the
machine with Veeam Plug-in.
You can perform the following operations from the Veeam Backup & Replication console:
2. In the Home view, expand the Job s node in the inventory pane and click Ap p lications Plug-ins.
2. In the Home view, expand the Job s node in the inventory pane and click Ap p lications Plug-ins.
2. In the Home view, expand the Job s node in the inventory pane and click Ap p lications Plug-ins.
Note that if the user starts a new backup job session from the machine with Veeam Plug -in, the job will appear
in the Veeam Backup & Replication console again, and records about a new job session will be stored in the
Veeam Backup & Replication database.
2. In the Home view, expand the Job s node in the inventory pane and click Ap p lications Plug-ins.
You can use the Veeam Backup & Replication console to perform the following operations with Veea m Plug-in
backups:
• Repair a backup
You can generate the recovery token on the Veeam Backup & Replication side. Then, on the computer si de, with
this recovery token get access to the backup and recover data that are stored in the backup.
Limitations
Before creating a recovery token, consider the following prerequisites and limitations:
• You can recover data only from the backup for that the recovery token is generated.
• During recovery, Veeam Backup & Replication does not stop backup operations.
• You cannot create a recovery token for a whole backup copy job, but you can create a recov ery token for
individual objects included in a backup copy job.
3. In the working area, right-click the backup and select Create recovery token.
You can create a recovery token for several backups. To do this, press and hold [Ctrl], select multiple
backups, right-click one of the selected backups and select Create recovery token.
You can also create and modify the existing recovery token using the PowerShell console. To learn more, see the
Working with Tokens section in the Veeam PowerShell Reference.
Alternatively, you can get access to the backup using user credentials.
Repairing Backup
If you want to restore data from an immutable backup that resides in a hardened repository, you can use the
Rep air operation. During this operation, Veeam Backup & Replication will generate a new backup job metadata
.VACM file using information from the backup metadata .VASM files.
IMP ORTANT
This operation is intended only for a situation where the backup job metadata file has been lost as a result
of malware activity or unplanned actions. Re-creation of the backup job metadata file for other purposes is
not supported. To learn more about restore from the hardened repository, see Restore from Hardened
Repository.
Before you start the repair operation, you must disable the backup job that created the backup. Otherwise,
Veeam Backup & Replication will display a message notifying that the job must be disabled. For details, see
Disabling Backup Job.
To repair a backup:
1. In the Veeam Backup & Replication console, open the Home view.
Deleting Backup
You can use the Veeam Backup & Replication console to delete backups created with Veeam Plug -in from a
Veeam backup repository.
1. In the Veeam Backup & Replication console, open the Home view.
where:
• <time_period> is a time period when the backup you need was created. You must specify this value in a
time stamp format. For details, see Command Parameters.
If the command run is successful, Veeam Plug-in provides the following details of your machine backups that
are available in the connected backup repository:
• Database name
• Partition number
• Time stamp
o Full
o Incremental
o Delta
Command Parameters
You can specify the following parameters for the --get-restore-points command:
P a rameter Description
--time-range Defines the time period when the backup was created. Veeam
Plug-in will return the list of backups created within the
specified period.
--d a tabase This parameter is optional. Defines the name of the backed-up
database. Veeam Plug-in will return the list of backups only of
the specified database.
where:
• <timestamp> is a time stamp that IBM Db2 generates for each backup in the yyyymmddhhmmss format.
Veeam Plug-in will restore database from the backup file created at the time that you specify in the
command.
To learn how to get time stamp, see Get Backup Time Stamp.
where:
• <timestamp> is a time stamp that IBM Db2 generates for each backup in the yyyymmddhhmmss format.
Veeam Plug-in will restore database from the backup file created at the time that you specify in the
command.
To learn how to get time stamp, see Get Backup Time Stamp.
To restore database to the previous state, you must use a full online backup of the database. To learn
more, see Performing Full Backup.
1. Restore to the previous state requires downtime. Terminate all existing connections and deactivate the
database with the following commands:
db2 terminate
db2 deactivate database <database_name>
2. Extract archive logs from the backup file with the following command:
where:
o <path_to_logs> is a path to the directory to which Veeam Plug-in will extract archive logs.
3. Return the database to the state recorded in a backup with the following command:
where:
o <timestamp> is a time stamp that IBM Db2 generates for each backup in the yyyymmddhhmmss
format. Veeam Plug-in will restore database from the backup file created at the time that you specify
in the command.
To learn how to get time stamp, see Get Backup Time Stamp.
4. Apply archive logs to return database to the exact state when the backup was created with the following
command:
where:
o <path_to_logs> is a path to the directory to which Veeam Plug-in will extract archive logs.
• For restore to another server, you can use backups or backup copies of IBM Db2 databases.
• If you perform restore from a backup that was imported to Veeam Backup & Replication, Veeam Plug -in
will automatically create the backup job in Veeam Backup & Replication, because the backup job is
required for database restore from Veeam Plug -in backups.
• During the restore process, backup operations are not disabled on the IBM Db2 machine.
• Using credentials of the account under which the backup was created. For details, see Restore to Another
Server Using Configured Authentication.
• Using a security certificate. This option is intended for backups created using an application backup policy
configured in Veeam Backup & Replication. For details, see Restore to Another Server Using Credentials.
• Using a recovery token. This option is intended for backups created using an application backup policy
configured in Veeam Backup & Replication. To use this option, a backup administrator must create a
recovery token for the backup in Veeam Backup & Replication. For details, see Restore to Another Server
Using Recovery Token.
You can also perform a redirected restore if you need to restore to a instance with a name that is different from
the backed-up instance. For details, see Restore to Instance with Different Name.
/opt/veeam/VeeamPluginforDB2/DB2ConfigTool --set-backup-for-restore
2. Veeam Plug-in will prompt you to select an authentication method to access the backup. To access the
backup using the authentication method that was specified during the Veeam Plug -in configuration
process, type 1:
4. Depending on the name of the target instance, perform one of the following operations:
o If you restore to another instance with the same name as the backed -up instance, continue the restore
operation in the same way you restore to the original server. For details, see Restore to Original
Server.
o If you plan to restore to another instance with a name that is different from the backed -up instance,
see Restore to Instance with Different Name.
/opt/veeam/VeeamPluginforDB2/DB2ConfigTool --set-backup-for-restore
2. Veeam Plug-in will prompt you to select an authentication method to access the backup. To access the
backup using credentials of the account under which the backup was created, type 2:
3. Veeam Plug-in will prompt you to provide credentials of the user account that under which the backup
was created. Enter a user name and password of the account:
Enter username:
Enter password for <username>:
o If you restore to to another instance with the same name as the backed -up instance, continue the
restore operation in the same way you restore to the original server. For details, see Restore to
Original Server.
o If you plan to restore to another instance with a name that is different from the backed -up instance,
see Restore to Instance with Different Name.
/opt/veeam/VeeamPluginforDB2/DB2ConfigTool --set-backup-for-restore
2. Veeam Plug-in will prompt you to select an authentication method to access the backup. To access the
backup using a recovery token, type 3:
3. Veeam Plug-in will display the fingerprint of the Veeam Backup & Replication server and prompt you to
provide a recovery token:
4. Veeam Plug-in will display backups for which the recovery token was generated. Select the necessary
backup:
o If you restore to to another instance with the same name as the backed-up instance, continue the
restore operation in the same way you restore to the original server. For details, see Restore to
Original Server.
o If you plan to restore to another instance with a name that is different from the backed -up instance,
see Restore to Instance with Different Name.
For example, you can use the SET STOGROUP PATHS command. With this command, you can set storage group
paths for the database you want to restore. If you selected this approach, do the following steps:
where:
o <timestamp> is a time stamp that IBM Db2 generates for each backup in the yyyymmddhhmmss
format. Veeam Plug-in will restore database from the backup file created at the time that you specify
in the command.
2. Set storage group paths for the database with the following command:
where: <instance_name> is a name of the target instance to which you want to restore your database.
After that, your database with be restored and re-configured to comply with the name of the target instance.
1. Run a Veeam Plug-in backup job to create a new Veeam Plug-in backup in a Veeam backup repository. The
backup will consist of the .VAB, .VASM and .VACM files.
2. In the backup repository folder, replace the .VAB and .VASM files created at the step 1 with the .VAB and
.VASM files from the hardened repository.
3. In the Veeam Backup & Replication console, run the backup repair operation. Veeam Backup & Replication
will generate a new .VACM file using information from the .VASM files. For details, see Repairing Backup.
Once the backup job metadata file is re-created, you can use Veeam Plug-in to restore your data.
Repairing Backup
Before you start the repair operation, you must disable the backup job that created the backup. Otherwise,
Veeam Backup & Replication will display a message notifying that the job must be disabled. For details, see
Disabling Backup Job.
To repair a backup:
4. In the Veeam Backup & Replication console, open the Home view.
7. Press and hold the [Ctrl] key, right-click the backup and select Rep air.
Alternatively, you can manually delete backups from a backup repository using the Veeam Backup & Replication
console and enable the force deletion functionality of Veeam Plug -in. For details, see the following sections:
IMP ORTANT
To delete backups using the PRUNE HISTORY command, you must set the AUTO_DEL_REC_OBJ parameter
before you create backups. For details, see Preparing Database.
To delete backup files and log archives from the backup repository, use the following command:
where <timestamp> is a time stamp that IBM Db2 generates for each backup in the yyyymmddhhmmss format.
With this command, Veeam Plug-in will delete all backup files up to the time that you specified in the command.
Thus, Veeam Plug-in will not delete the backup with the time stamp that you specified. Also, the PRUNE
HISTORY command will not delete to the most recent full backup and associated objects. For example,
incremental and log backups.
If you want to delete the most recent full backup and associated objects, use the WITH FORCE OPTION option
with the PRUNE HISTORY command:
where <timestamp> is a time stamp that IBM Db2 generates for each backup in the yyyymmddhhmmss format.
With this command, Veeam Plug-in will delete all backup files up to the time and equal the time that you
specified in the command. Thus, Veeam Plug-in will also delete the backup with the time stamp that you
specified from the backup repository. Veeam Plug-in will also delete the most recent full backup and associated
objects.
• Delete backup
4. Press and hold the [Ctrl] key, right-click the backup and select Remove from configuration.
Deleting Backup
You can use the Veeam Backup & Replication console to delete backups created with Veeam Plug-in from a
Veeam backup repository.
5. In the Veeam Backup & Replication console, open the Home view.
7. In the working area, right-click the name of the backed-up object and select Delete from disk.
DB2ConfigTool --set-force-delete
2. Enter the number of days after which Veeam Plug-in will force delete backup files on all configured
Veeam backup repositories.
Garbage collector automatically deletes backup files older than the specif
ied number of days.
Make sure the number of days value exceeds your retention policy.
To disable this functionality, set the number of days to 0.
Enter the number of days to delete backups after, between 7 and 999 [0]:
IMP ORTANT
If a backup repository contains backups older than the specified retention period, Veeam Plug -in removes
old backup files only after the next backup run.
To build a successful data protection and disaster recovery plan, it is recommended that you follow the 3 -2-1
rule:
• 3: You must have at least three copies of your data: the original production data and two backups.
• 2: You must use at least two different types of media to store the copies of your data, for example, local
disk and cloud.
• 1: You must keep at least one backup offsite, for example, in the cloud or in a remote site.
Thus, you must have at least two backups and they must be in different locations. If a disaster takes out your
production data and local backup, you can still recover from your offsite backup.
In This Section
Creating Backup Copy Job
Veeam Backup & Replication fully automates the backup copy process and lets you specify retention settings to
maintain the desired number of restore points, as well as full backups for archival purposes. Backup copy is a
job-driven process. When enabled, the backup copy job for Veeam Plug -in backups runs continuously. For more
details on how it works, see the Backup Copy section in the Veeam Backup & Replication User Guide.
To copy backups to a secondary location, you must configure a backup copy job. The backup copy job defines
how, where and when to copy backups. One job can be used to process backups of one or more machines.
You can configure a job and start it immediately or save the job to start it later.
Before creating a job, check prerequisites. Then use the New Backup Copy Job wizard to configure a backup
copy job.
• Backup infrastructure components that will take part in the backup copy process must be added to the
backup infrastructure and properly configured. These include source and target backup repositories
between which backups must be copied.
• The target backup repository must have enough free space to store copied backups. To receive alerts
about low space on the backup repository, configure global notification settings. For more infor mation,
see Specifying Other Notification Settings.
1. In the Veeam Backup & Replication console, open the Home view.
2. In the Description field, enter a description for the job. The default description contains information about
the user who created the job, date and time when the job was created.
1. Click the Ad d button and select from which entity you want to process the machines.
o From jobs: You can select Veeam Plug-in backup jobs. When a backup copy job runs, Veeam Backup &
Replication will search for backup files created by selected jobs.
o From repositories: You can select repositories where Veeam Plug-in backups are stored. When a
backup copy job runs, Veeam Backup & Replication will search for backup files created by Veeam
Plug-in in selected repositories.
2. Use the Remove button if you want to remove selected jobs or repositories from processing.
3. If you have added jobs from a repository and want to exclude from processing some of the backup jobs on
the selected repository, click E x clusions and select the jobs that you want to exclude.
1. From the Ba ckup repository list, select a backup repository in the target site where copied backups must
be stored. When you select a target backup repository, Veeam Backup & Replication automatically checks
how much free space is available on it. Make sure that you have enough free space to s tore copied
backups.
IMP ORTANT
For Veeam Plug-in backup copy jobs, you cannot select the following repositories as a backup copy
target:
2. If the target repository contains a Veeam Plug-in or MongoDB backup that was excluded from the backup
copy job, and if you don't want to transfer duplicate data, you can use the mapping feature.
After you configure mapping, if some of backup files (.VAB) of the source backup are missing in the target
backup copy, these files are uploaded to the target backup copy.
NOTE
b. Point the backup copy job to the backup in the target backup repository. Backups in the target backup
repository can be easily identified by backup job names. To facilitate search, you can use the search
field at the bottom of the window.
IMP ORTANT
• Used account must have access to Veeam backup repositories that you plan to use.
• Encryption must be disabled on the repository.
Otherwise, the repositories will not be listed as available. To learn how to configure access
permissions and encryption settings on repositories, see Access Permissions in the Veeam Backup &
Replication User Guide.
• Storage settings
• Notification settings
Storage Settings
At the Storage tab, define compression and deduplication settings.
By default, Veeam Backup & Replication performs deduplication before storing copied data on the target backup
repository. Deduplication provides a smaller size of the resulting backup file but may reduce the job
performance.
1. You can disable data deduplication. To do this, clear the E na ble inline data deduplication check box.
2. From the Compression level list, choose a compression level to be used: Auto, None, Dedupe-friendly,
Op timal, High or E x treme. The recommended level of compression for backup copy jobs is Auto. In this
case, Veeam Backup & Replication uses compression settings of the copied backup files. For more
information, see Compression and Deduplication.
If the backup copy is not created within the specified time p eriod, the backup copy job will finish with the
Warning status. The countdown starts from the moment when the required backup is finished and ready to be
copied.
Notification Settings
At the Notifications tab, to specify notification settings for the backup copy job:
3. Select the Send SNMP notifications for this job check box if you want to receive SNMP traps when the job
completes successfully. SNMP traps will be sent if you specify global SNMP settings in Veeam Backup &
Replication and configure software on recipient's machine to receive SNMP traps. For more information,
see Specifying SNMP Settings.
4. Select the Send email notifications to the following recipients check box if you want to receive
notifications by email in case of job failure or success. In the field below, specify a recipient email address.
You can enter several addresses separated by a semicolon.
5. Veeam Backup & Replication sends a consolidated email notification once for the specified backup copy
interval. Even if the synchronization process is started several times within the interval, for example, due
to job retries, only one email notification will be sent.
6. Email notifications will be sent if you configure global email notification settings in Veeam Backup &
Replication. For more information, see Configuring Global Email Notification Settings.
8. You can choose to use global notification settings or specify custom notification settings.
o To receive a typical notification for the job, select Use global notification settings. In this case, Veeam
Backup & Replication will apply to the job global email notification settings specified for the backup
server. For more information, see Configuring Global Email Notification Settings.
o To configure a custom notification for a job, select Use custom notification settings specified below.
You can specify the following notification settings:
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName%, %JobResult%, %VmCount% (number of
machines in the job) and %Issues% (number of machines in the job that have been processed
with the W a rning or Fa iled status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive email
notification if data processing within the backup copy interval completes successfully, fails or
completes with a warning.
3. Use the E na ble and Disable options to mark the selected area as allowed or prohibited for the backup copy
job.
2. Select the E na ble the job when I click Finish check box if you want to start the job right after you finish
working with the wizard.
When you submit a support case, attach a file containing logs related to Veeam Plug-in operations. For detailed
instructions on how to collect logs for Veeam Plug-in for IBM Db2, see this Veeam KB article.
Also, Veeam Backup & Replication lets you to back up MongoDB replica sets. For details, see MongoDB Backup.
IMP ORTANT
Veeam Backup & Replication does not support management of computers whose databases are protected
with Veeam Plug-in for Microsoft SQL Server and Veeam Plug-in for IBM Db2.
You do not need to install, set up and operate Veeam Plug -in on every computer whose databases you want to
protect. Instead, you can perform the set of deployment, administration, and data protection tasks on
computers remotely from the Veeam Backup & Replication console.
• Automated deployment and management of Veeam P lug -ins. You can set up Veeam Backup & Replication
to automatically discover computers that you want to protect with Veeam Plug-in for SAP HANA, Veeam
Plug-in for Oracle RMAN, and Veeam Plug-in for SAP on Oracle and deploy Veeam Plug-ins on these
computers. Once Veeam Plug-ins are deployed on protected computers, you can use the Veeam Backup &
Replication console to administrate Veeam Plug-ins on multiple computers.
• Centralized configuration a nd management of backup policies on p rotected computers . You can use the
Veeam Backup & Replication console to create and manage backup policies on computers in your
infrastructure whose databases you want to protect. You can configure backup policies to apply settings
on the computer, database system, or database level.
• Centralized backup jobs statistics and monitoring. You can use the Veeam Backup & Replication console to
review reports about backup policies performance on computers in your infrastructure whose databases
you want to protect.
• Centralized management of backups created by backup policies. If you choose to create backups on a
backup repository managed by the Veeam backup server, you can use the Veeam Backup & Replication
console to manage these backups.
• Secure database restore with recovery tokens. If you want to restore database from the backup and you
are not the owner of this backup, you can ask your Backup Administrator to generate a recovery token.
Using this recovery token, you can get access to a certain backup on the Veeam backup repository and
restore database from this backup.
• Distribution server
• Backup storage
To learn more, see the Deployment section in the Veeam Backup & Replication User Guide.
Veeam Backup & Replication lets you manage Veeam Plug-in on computers of the following types:
If you want to manage Veeam Plug-ins installed on protected computers in Veeam Backup & Replication, you
must set Veeam Plug-ins in the managed mode. In this mode, all data protection and administration tasks are
performed by a backup administrator in Veeam Backup & Replication. In some scenarios, a user can also perform
a limited set of backup and disaster recovery tasks directly on a protected computer.
Veeam Backup & Replication is set up to automatically discover computers added to the inventory and deploy
Veeam Plug-ins on these computers. To learn more, see Computer Discovery and Veeam Plug-in Deployment.
• Collects information about the computer and sends it to Veeam Backup & Replication. The collected data
includes details on the computer (platform, host name, guest OS, IP address, BIOS UUID), databases
(database system name, database hierarchy, names of databases) and Veeam Plug -in (product presence on
the computer and version).
• Downloads Veeam Plug-in setup files from the distribution server and installs Veeam Plug -in on the
protected computer.
On Microsoft Windows computers, Veeam Backup & Replication connects to a computer using the administrative
share (admin$) of the target computer. An account that you plan to use to connect to a computer included in
the protection group must have access to the administrative share.
On Linux computers, Veeam Backup & Replication also installs Veeam Deployer Service. After that, Veeam
Deployer Service deploys Veeam Transport Service. For the first time, Veeam Backup & Replication connects t o a
computer using SSH. After the first connection, Veeam Backup & Replication can continue using SSH or start
using Veeam Installer Service and Veeam Deployer Service.
Keep in mind that to connect to a Linux computer using SSH, this Linux computer must be added to the list of
trusted hosts. To learn more, see Configuring Security Settings.
Distribution Server
The distribution server is an architecture component in the Veeam Plug -in management infrastructure used for
automated deployment of Veeam Plug-in setup files to protected computers. When you instruct Veeam Backup
& Replication to install Veeam Plug-in on a protected computer, the Veeam backup server communicates to the
distribution server, and Veeam Backup & Replication uploads Veeam Plug-in setup files from the distribution
server to the target computer.
By default, the role of the distribution server is assigned to the backup server. However, you can deploy a
dedicated distribution server to reduce workload on the backup server. To deploy a distribution server, you need
to add a Windows-based server to Veeam Backup & Replication. To learn more, see the Adding Microsoft
Windows Servers section in the Veeam Backup & Replication User Guide. After you assigned the role of
distribution server, you need to select this server in the properties of a protection group. To learn more, see
Specify Discovery and Deployment Options.
A machine performing the role of the distribution server must meet the following requirements:
• The role of the distribution server can be assigned to a physical or virtual machine.
• You must add the machine to the Veeam Backup & Replication console as a managed s erver.
Backup storage
The backup storage is an architecture component in the Veeam Plug -in management infrastructure used to store
database backups. Veeam Plug-ins can store backup files in supported repositories added to the Veeam Backup
& Replication infrastructure. The list of supported repositories and limitations differs depending on the Veeam
Plug-in you work with. To learn more, see the following sections:
You can deploy Veeam Plug-in for Oracle RMAN, Veeam Plug-in for SAP HANA, and Veeam Plug-in for SAP on
Oracle from the Veeam Backup & Replication console. To deploy Veeam Plug -ins, Veeam Backup & Replication
needs to discover computers whose data you want to back up. To enable discovery, you organize your
computers into one or more protection groups. Protection group settings define what computers Veeam Backup
& Replication will discover and how the discovery process will run. To learn more, see Protection Groups.
You can also disable automated Veeam Plug-in installation when configuring a protection group. In this case,
you will need to use the Veeam Backup & Replication console to install Veeam Plug -in on every computer
included in the protection group. To learn more, see Installing Plug-in.
In This Section
• Protection Groups
• Rescan Job
To start managing Veeam Plug-ins in Veeam Backup & Replication, you need to create a protection group in the
inventory and specify computers that you want to protect with Veeam Plug -ins in the protection group settings.
You can create one or more protection groups depending on the size and complexity of your infrastructure.
Protection groups appear under the P hy sical Infrastructure node in the Inventory view of the Veeam Backup &
Replication console. To learn more, see Working with Protection Groups.
Protection groups allow you to automate deployment and management of Veeam Plug -ins on computers in your
infrastructure. When you configure a protection group, you can specify scheduling options for protected
computers discovery and Veeam Plug-in deployment. You do not need to perform administrative tasks
individually for every computer that you want to protect with Veeam Plug -in — Veeam Backup & Replication will
perform the specified operations automatically upon the defined schedule.
Veeam Backup & Replication connects to discovered computers using credentials of the account specified in the
protection group settings. You can specify a master account that Veeam Backup & Repl ication will use to
connect to all computers added to the protection group or specify separate accounts to connect to specific
computers in the protection group.
After you create a protection group, Veeam Backup & Replication starts the rescan job to conne ct to computers
added to the protection group and perform the required operations on these computers. To learn more, see
Rescan Job.
TIP
If you plan to back up MongoDB replica sets, you must use a protection group for applications. For details,
see Protection Group for MongoDB. Other protection group types are not supported for MongoDB.
You can create protection groups that include the following types of objects:
You can organize individual computers into a protection group by specifying the necessary computers in
the protection group settings. This option is recommended for smaller environments that do not have
Microsoft Active Directory deployed.
You can create protection groups that include one or more Microsoft Active Directory objects: entire
domain, container, organization unit, group, computer or cluster. This allows you to manage Veeam Plug -
ins on computers being part of an Active Directory domain. Protection groups that include Active Directory
domain, containers, groups and organization units are dynamic in their nature. For example, if a new
computer is added to a container, Veeam Backup & Replication will automatically discover this computer
and start managing this computer as specified in the protection group settings.
o You can select individual Active Directory objects that you want to include in a protection group, for
example, selected organization units and computers.
o You can include in the protection group an entire domain or other Active Directory object (such as a
container or organization unit) and exclude specific child objects being part of this object, for
example, selected organization units and computers.
You can add multiple computers to a protection group by importing a list of computers from a CSV file.
Protection groups that include computers listed in a CSV file are also dynamic. If a new computer appears
in a CSV file after the protection group is created, during the next protection group rescan session, Veeam
Backup & Replication will automatically update the protection group settings to include the added
computer.
Unmanaged
The Unmanaged protection group acts as a filter to display computers with unmanaged Veeam Plug -ins, that is,
computers that meet the following conditions:
1. Have Veeam Agent and Veeam Plug-in deployed and configured directly from a computer side.
IMP ORTANT
If Veeam Plug-in only is installed on the computer, this computer will not be displayed in the
Unmanaged protection group.
2. Run a backup job targeted at a backup repository managed by Veeam Backup & Replication.
You cannot perform any operations with the Unmanaged protection group, as well as add computers included in
this group to an application backup policy. However, you can move such computers to a protection group that
you created. To learn more, see Moving Unmanaged Computer to Protection Group.
Out of Date
The Out of Date protection group is displayed when Veeam Backup & Replication discovers protected computers
on which an outdated version of Veeam Plug-in is installed. For example, this may happen in a situation where
you configure a protection group with Veeam Plug-in deployment options disabled, and Veeam Backup &
Replication detects a newer version of Veeam Plug-in on the distribution server during discovery.
The Out of Date protection group lets you update Veeam Plug-in on multiple computers at once. To learn more,
see Upgrading Plug-in.
Offline
The Offline protection group acts as a filter to display computers to which Veeam Backup & Replication could
not connect during the latest rescan session.
Untrusted
The Untrusted protection group acts as a filter to display Linux-based computers whose fingerprints were not
verified in Veeam Backup & Replication. For computers included in this protection group, you need to check and
validate SSH fingerprints. To learn more, see Adding Computers to Trusted Hosts List.
The rescan job itself is not displayed in the Veeam Backup & Replication console. However, you can start and
stop rescan job sessions manually for a specific protection group or individual computer in the inventory. This
may be helpful, for example, if new computers appeared in your infrastructure, and you want to discover these
computers without waiting for the next scheduled rescan job session start. To learn more, see Rescanning
Protection Group and Rescanning Protected Computer.
You can view statistics for currently running and already performed rescan job sessions. To learn more, see
Viewing Rescan Job Statistics.
1. Obtains settings specified for the protection group from the configuration database. The settings include a
list of computers to scan, an account for connecting to these computers, and so on.
o On Microsoft Windows computers, Veeam Backup & Replication connects to a computer using the
administrative share (admin$) of the target computer. An account that you plan to use to connect to a
computer included in the protection group must have access to the administrative share.
o On Linux computers, Veeam Backup & Replication connects to a computer using SSH.
Keep in mind that to connect to a Linux computer using SSH, this Linux computer must be added to
the list of trusted hosts. To learn more, see Configuring Security Settings.
In case of Linux-based computers, Veeam Backup & Replication also deploys Veeam Deployer Service.
4. If the automatic Veeam Plug-in deployment option is enabled in the protection group settings, Veeam
Backup & Replication deploys Veeam Plug-in on discovered computers. As a part of this process, Veeam
Backup & Replication performs the following operations:
a. Veeam Installer Service running on the computer collects information about the computer and sends
it to Veeam Backup & Replication. The collected data includes details on the computer ( platform, host
name, guest OS, IP address, BIOS UUID) and Veeam Plug -in (product presence on the computer and
version).
b. Veeam Backup & Replication uploads the Veeam Plug -in setup file from the distribution server to the
discovered computer.
c. Veeam Installer Service deploys Veeam Plug-in and accompanying product components (for example,
Plug-in Manager and Data Mover) on the target computer.
If Veeam Installer Service detects that Veeam Plug-in is already deployed on the target computer,
Veeam Backup & Replication becomes the owner of this Veeam Plug-in. To learn more, see Veeam
Plug-in Ownership.
e. Plug-in Manager running on the target computer collects information about databases available on
the target computer. To learn more, see Database Detection.
• Add computers with standalone Veeam Plug-ins to a protection group that is configured to deploy Veeam
Plug-ins.
If you add a computer with standalone Veeam Plug-in to a protection group that does not deploy Veeam
Plug-ins, Veeam Backup & Replication will not be the owner of this Veeam Plug -in. In this case, you
cannot perform any operations with Veeam Plug-in from the Veeam Backup & Replication console. To
learn more, see Discovery and Deployment Options.
If Veeam Backup & Replication becomes the owner of Veeam Plug -in, this Veeam Plug-in switches to the
managed mode. In the managed mode, a limited set of tasks can be done from the computer side.
You can perform the following tasks from the computer side:
• Create the backup using the backup policy configured in the Veeam Backup & Replication console.
IMP ORTANT
You cannot perform the following tasks from the computer side:
• Create backup of a database that is not added to the backup policy on the Veeam Backup &
Replication server. You can still create backup of such database on other targets. For example, local
storage or shared folder.
• --show-config
• --help
• --set-force-delete
• [For Veeam Plug-in for SAP HANA and Veeam Plug-in for SAP on Oracle] --set-backup-for-restore
• [For Veeam Plug-in for Oracle RMAN and Veeam Plug-in for SAP HANA] --set-auth-data-for-
restore
where:
• <port_number> — port over which Veeam Plug-in must communicate with Veeam Backup & Replication.
The default port used for communication with the Veeam Backup & Replication server is 10006.
• <username> — a name of the account that has access to the Veeam Backup & Replication server.
• <domain> — a name of the domain in which the account that has access to the Veeam Backup &
Replication server is registered.
• <password> — password of the account that has access to the Veeam Backup & Replication server.
IMP ORTANT
A plug-in can be managed by one Veeam Backup & Replication server only. If Veeam Backup & Replication
tries to become the owner of Veeam Plug-in that is already managed by another Veeam Backup &
Replication, Veeam Backup & Replication will not change the owner and you will get a warning message.
• In the Veeam Plug-in configuration file (veeam_config.xml), delete the Certificate node and all
parameters inside the node.
Database Detection
After Veeam Plug-in is installed, Plug-in Manager running on the computer collects information about
databases on this computer. Plug-in Manager saves collected information to the XML file and sends to Veeam
Backup & Replication. The way Plug-in Manager collects information differs depending on the system installed
on the computer:
• Oracle
• SAP HANA
• SAP on Oracle
Oracle
On the Oracle server, Plug-in Manager collects information differently depending on the Oracle deployment
way:
• If you install Veeam Plug-in on the standalone Oracle server, the rescan process differs depending on the
OS running on the target computer:
o In case of Oracle server deployed on the Linux computer, Plug -in Manager scans the oratab or
orainventory file. If you use Automatic Storage Management (Oracle ASM), Plug -in Manager rescans
both files ( oratab and orainventory ).
o In case of Oracle server deployed on the Microsoft Windows computer, Plug -in Manager checks
Windows Registry and parses services that are running on the computer.
As a result, Veeam Backup & Replication gets 3 levels of the database hierarchy (from top to bottom):
hostname, Oracle home, Oracle system identifier (SID).
• If you install Veeam Plug-in on Oracle RAC, Plug-in Manager uses the srvctl utility. With this utility, Plug-
in Manager collects information. Plug-in Manager uses, for example, the srvctl config scan and
srvctl config database commands.
For Oracle RAC, Plug-in Manager uses a database unique name instead of SID. As a result, Veeam Backup &
Replication gets 3 levels of the database hierarchy (from top to bottom): scanname, Oracle home,
database unique name.
After rescan completes, you can create an application policy and add any level of the database hierarchy to the
scope of this policy. For example, you can add a certain Oracle database or Oracle home that contains several
databases.
• If you install Veeam Plug-in on the standalone SAP HANA server, Plug-in Manager gets path to the
saphostcrl (SAP Host Agent) utility. With this utility, Plug-in Manager gets the list of database instances.
As a result, Veeam Backup & Replication gets 3 levels of the database hierarchy (from top to bottom):
hostname, SAP system name, database name.
• If you install Plug-in Manager on the SAP HANA scale-out system, Plug-in Manager collects information
from the veeam_config.xml file.
As a result, Veeam Backup & Replication gets 3 levels of the database hierarchy (from top to bottom):
scale-out system name, SAP system name, database name.
TIP
During the Veeam Plug-in deployment on the scale-out system nodes, Veeam Backup & Replication
sets the scale-out system name using domain name and SAP system name. If you want to set a
custom name, use the --set-scale-out-cluster-name command on the computer side. This
custom name will be saved in the veeam_config.xml file.
After rescan completes, you can create an application policy and add any level of the database hierarchy to the
scope of this policy. For example, you can add a certain SAP HANA database or a host that contains several SAP
HANA databases.
SAP on Oracle
On the SAP on Oracle server, Plug-in Manager gets path to the saphostcrl (SAP Host Agent) utility. With this
utility, Plug-in Manager gets the list of database instances.
As a result, Veeam Backup & Replication gets 2 levels of the database hierarchy (from top to bottom):
hostname, Oracle system identifier (SID).
IMP ORTANT
Veeam Backup & Replication does not support cluster deployment of SAP on Oracle.
After rescan completes, you can create an application policy and add any level of the database hierarchy to the
scope of this policy. For example, you can add a certain Oracle database or a host that contains several Oracle
databases.
MongoDB
. The selected mongo daemon resides on a computer. VAL, veeammongoagent and transports are already
installed on it by a recent rescan of Mongo PG.
After you configure the application backup policy on the Veeam Backup & Replication server side, Veeam Plug -
ins create transport jobs on your computers. Using these transport jobs, Veeam Backup & Replication
orchestrates the backup operations. Transport jobs collect backed -up data and send it from your computers to
the backup repository. Each transport job creates an independent backup. For example, if the application
backup policy orchestrates 3 transport jobs, a backup repository will store 3 backup files, one file per each
transport job.
The backup policy is running continuously. When there are no active backup activities, the backup policy is
set to an idle state. This state allows the backup policy to catch warnings and display them in the backup
policy statistics.
2. Before starting the next backup run, Veeam Backup & Replication finishes the active session. The backup
policy sends a report to Veeam Backup & Replication. The finished session becomes available in the
History view of the Veeam backup console. To learn more, see Viewing Backup Policy Report and Viewing
Backup Policy Statistics.
3. If database log processing is enabled, the backup policy restarts the database log backup run. Database
log backup is a separate task that runs in parallel with the database backup.
NOTE
For Veeam Plug-in for Oracle RMAN, you cannot disable database log processing. If there is an
existing full backup of the database, the backup policy always restarts the database log backup run.
4. The backup policy creates a list of backup tasks, detects and configure Veeam Plug -ins. Veeam Plug-ins
run the backup operations on computers.
5. Transport jobs on computers send backed-up data from computers to the backup repository.
An application backup policy may consist of several activities. For example, database backup according to
the policy schedule, database logs backup according to a separate schedule, and manual database backup.
In this case, Veeam Plug-in will store the backed-up data for all activities in the same backup.
6. The backup policy sends a report to Veeam Backup & Replication about backed -up and transported data.
After the backup run is completed, the backup policy returns to the idle state and waits for the next backup run.
Sp ecification Requirement
OS Veeam Plug-in for Oracle RMAN is supported for the following Microsoft
Windows versions:
• Microsoft Windows Server 2025
• Microsoft Windows Server 2022
• Microsoft Windows Server 2019
• Microsoft Windows Server 2016
• Microsoft Windows Server 2012/2012 R2
Veeam Plug-in for Oracle RMAN is supported for the following Linux
distributions:
• SUSE Linux Enterprise Server 11, 12, 15 (x86 and x86_64)
• RHEL 6.4 – 9.x (x86 and x86_64)
• Oracle Linux 6.2 (x86 and x86_64)
• Oracle Linux 6.4 – 9.x (x86 and x86_64)
• CentOS 6.4 – 8.x (x86 and x86_64): For non-production environments,
as it is not officially supported by Oracle for their databases.
Note:
Veeam Plug-in for Oracle RMAN in managed operation mode is not supported
for Oracle Solaris and IBM AIX.
Ora cle database Veeam Plug-in for Oracle RMAN supports the following Oracle database
versions:
• 11gR2
• 12c
• 18c
• 19c
• 21c: Standard and Enterprise Edition
• 23c: Standard and Enterprise Edition
Notes:
Ora cle RMAN features The following Oracle RMAN features are supported:
• Veeam Plug-in for Oracle RMAN will be registered as an SBT_TAPE
device. All Oracle RMAN functionality that is supported with the
SBT_TAPE device type will work. For example, Automatic Storage
Management (Oracle ASM) and Container DBs (CDBs).
• Veeam Plug-in for Oracle RMAN supports Oracle Real Application
Clusters (Oracle RAC). Other cluster databases are not supported.
Sp ecification Requirement
OS Veeam Plug-in for SAP HANA supports 64-bit versions of the following
distributions:
• SLES 15: GA, SP1, SP2, SP3, SP4, SP5, SP6
• SLES for SAP Applications 15: GA, SP1, SP2, SP3, SP4, SP5, SP6
• SLES 12: GA, SP1, SP2, SP3, SP4, SP5
• SLES for SAP Applications 12: GA, SP1, SP2, SP3, SP4, SP5
• RHEL 9 for SAP HANA: 9.0, 9.2, 9.4
• RHEL 8 for SAP HANA: 8.0, 8.1, 8.2, 8.4, 8.6, 8.8, 8.10
• RHEL 9 for SAP Solutions: 9.0, 9.2, 9.4
• RHEL 8 for SAP Solutions: 8.0, 8.1, 8.2, 8.4, 8.6, 8.8, 8.10
• RHEL 7 for SAP Solutions: 7.2, 7.3, 7.4, 7.5, 7.6, 7.7, 7.9
Note:
Veeam Plug-in for SAP HANA in managed operation mode is not supported
for Linux on Power.
SAP HANA database Veeam Plug-in for SAP HANA supports SAP HANA 2.0: SPS 02, SPS 03, SPS
04, SPS 05, SPS 06, SPS 07, SPS 08 (only with Backint version 1.0). Express
Edition is not supported.
Note:
Sp ecification Requirement
Ora cle database Oracle Database 11gR2, 12c, 18c, 19c: Standard and Enterprise Edition.
Note:
SAP software In the management scenario, Veeam Plug-in for SAP on Oracle does not
support SAP Java systems.
Network
Veeam Plug-in must be able to establish a direct IP connection to the Veeam Backup & Replication server. Thus,
Veeam Plug-in cannot work with the Veeam Backup & Replication server that is located behind the NAT
gateway.
NOTE
If you plan to restore SAP HANA and Oracle databases using Veeam Explorer for SAP HANA and Veeam
Explorer for Oracle, consider the required permissions in the following sections of Veeam Explorers User
Guide:
To learn more about connecting to a database as administrator using operating system authentication, see
this Oracle article.
• [For Linux and Unix computers] If you use Oracle ASM and distribute system privileges with separate
operating system groups, make sure you follow the Oracle recommendations described in this Oracle
article.
• [For Linux and Unix computers] During application backup policy configuration, when you specify the OS
user account as a database administrator and this OS user account is not the Oracle Software Owner User,
make sure one of the following requirements is met:
o Permissions for Oracle directories are set with the chmod command as 775.
o The OS user account has the primary membership in the Oracle Inventory Group (oinstall) group.
To learn how to configure the Oracle Inventory Group, see this Oracle article.
• [For Microsoft Windows computers] The specified OS user account must have local administrator
privileges.
• The DB user account used for performing backup and recovery operations with system and tenant
databases must have the following system privileges:
o BACKUP ADMIN
o CATALOG READ
The number of instances that you can use depends on the type of license installed in Veeam Backup &
Replication:
You can use Veeam Plug-ins with all license packages ( Veeam Backup Essentials, Veeam Backup &
Replication, Veeam Availability Suite ).
Keep in mind that if you use the Rental license type, functionality of Veeam Plug-ins is supported only for
the Enterprise Plus edition of Veeam Backup & Replication.
For the full list of license packages, see this Veeam webpage.
In addition to general port requirements applicable to a Veeam backup server, the backup server used in the
Veeam Plug-in management scenario must have the following ports opened:
Veeam Computer TCP 6184+ Default port used for communication with
Backup with Veeam Veeam Plug-in.
Server Plug-in
(Microsoft If port 6184 is already in use, Veeam
Windows) Plug-in Service tries to use the next port
number in the allocated range (6184 to
6194). Once the service takes the next
available port, it makes it the default port
for all subsequent connections.
Distribution Computer TCP 49152 to Dynamic RPC port range. For more
Server with Veeam 65535 information, see this Microsoft KB article.
Plug-in
(Microsoft The port range is required for
Windows) communication with the Veeam Installer
Service.
Computer with Linux server TCP 2500 to 3300 Default range of ports used as data
Veeam Plug-in performing the transmission channels. For every
role of a backup TCP connection that a job uses,
repository one port from this range is
assigned.
To learn more, see the Deployment section in the Veeam Backup & Replication User Guide.
By default, Veeam Backup & Replication offers the following settings to establish a secure connection
between the backup server and protected computers:
o To establish a secure connection between parties, Veeam Backup & Replication uses the default self-
signed certificate.
o Veeam Backup & Replication allows all new Linux hosts to establish a connection to the backup
server.
You can use the default security settings or change them if needed. To learn more, see Configuring
Security Settings.
3. Add computers with databases that you want to protect to the Veeam Backup & Replication inventory.
In Veeam Backup & Replication, computers with databases that you want to protect are organized into
protection groups. You can use the Veeam Backup & Replication console to create one or more protection
groups that include individual computers, Microsoft Active Directory objects, or list of computers
imported from a CSV file. To learn more, see Creating Protection Groups.
During protection group configuration, you can set Veeam Backup & Replication to automatically discover
computers and install Veeam Plug-ins on discovered computers. In this case, these operations are
performed immediately after you create a protection group. To learn more, see Discovery and Deployment
Options.
You can also run discovery and deployment operations manually for an individual computer in a protection
group. To learn more, see Rescanning Protected Computer.
You can configure one or more application backup policies and add to these policies one or more
protection groups, Active Directory objects and individual computers. In Veeam Backup & Replication, you
can configure application backup policies for the following Veeam Plug-ins:
You can start, stop, enable and disable application backup policies to administer data protection
operations on protected computers. To learn more, see Managing Application Backup Policies.
After the first successful run of an application backup policy, you can also run the backup job from
the computer with Veeam Plug-in. The procedure is similar as for Veeam Plug-ins running in the
standalone mode. For details, see the following sections:
7. In case of a disaster, you can use created application backups to restore database data.
• To establish a secure connection between parties, Veeam Backup & Replication uses the default self-
signed TLS certificate.
• Veeam Backup & Replication allows all computers that run a Linux OS to establish a connection to the
backup server using the SSH fingerprint.
Keep in mind that default security settings are only for testing and evaluation purposes. To prevent potential
security issues, you can change security settings. For example, you can use a custom TLS certificate and
verification of Linux host SSH fingerprints.
3. In the Certificate section, check information about the currently used certificate. By default, Veeam
Backup & Replication uses a self-signed TLS certificate generated during the Veeam Backup & Replication
installation process. If you want to use a custom certificate, click Install and specify a new certificate. To
learn more, see Managing TLS Certificates.
4. In the Linux hosts authentication section, specify how Veeam Backup & Replication will add Linux -based
protected computers to the list of trusted hosts. You can select one of the following options:
o Ad d all discovered hosts to the list automatically — with this option enabled, Veeam Backup &
Replication allows all discovered computers that run a Linux OS to connect to the backup server. This
scenario is recommended for demo environments only.
o Ad d unknown hosts to the list manually (more secure) — with this option enabled, only the following
Linux-based computers can connect to the backup server:
▪ Protected computers that have already established a connection to the backup server and have
their fingerprints stored in the Veeam Backup & Replication database. Veeam Backup &
Replication displays the number of such computers in the Trusted hosts field. You can export
the list of trusted Linux computers to a known_hosts file. To do this, click E x port and specify a
path to the folder to save the file.
▪ Protected computers specified in the known_hosts file imported to Veeam Backup & Replication.
To import a known_hosts file, click Imp ort and specify a path to the folder where the file resides.
▪ Protected computers added to the list of trusted hosts in the Veeam Backup & Replication
console. To learn more, see Adding Computers to Trusted Hosts List.
The computers that are not in the list of trusted hosts cannot connect to the Veeam backup server and
download Veeam components during discovery.
5. Click OK.
To learn more about other security settings available on the Security tab, see the Configuring Security
Settings section in the Veeam Backup & Replication User Guide.
• You can choose to keep the default self-signed TLS certificate generated by Veeam Backup & Replication.
• You can use Veeam Backup & Replication to generate a new self-signed TLS certificate. To learn more, see
Generating Self-Signed Certificates.
• You can select an existing TLS certificate from the certificates store. To learn more, see Importing
Certificates from Certificate Store.
• You can import a TLS certificate from a file in the PFX format. To learn more, see Importing Certificates
from PFX Files.
NOTE
If you plan to use a certificate issued by your own Certificate Authority (CA), make sure that the certificate
meets the requirements. To learn more, see Using Certificate Signed by Internal CA.
To generate TLS certificates, Veeam Backup & Replication employs the RSA Full cryptograp hic service provider
by Microsoft Windows installed on the Veeam backup server. The created TLS certificate is saved to the Shared
certificate store. The following types of users can access the generated TLS certificate:
If you use a self-signed TLS certificate generated by Veeam Backup & Replication, you do not need to take any
additional actions to deploy the TLS certificate on a protected computer. When Veeam Backup & Replication
discovers a protected computer, a matching TLS certificate with a public key is installed on the protected
computer automatically. During discovery, Veeam Installer Service deployed on the protected computer
retrieves the TLS certificate with a public key from the backup server and installs a TLS certificate with a public
key on the protected computer.
NOTE
When you generate a self-signed TLS certificate with Veeam Backup & Replication, you cannot include
several aliases to the certificate and specify a custom value in the Subject field. The Subject field value is
taken from the Veeam Backup & Replication license installed on the Veeam backup server.
5. At the Generate Certificate step of the wizard, specify a friendly name for the created self-signed TLS
certificate.
6. At the Summary step of the wizard, review the certificate properties. Use the Cop y to clipboard link to
copy and save information about the generated TLS certificate. You will be able to use the copied
information to verify the TLS certificate with the certificate thumbprint.
5. At the P ick Certificate step of the wizard, select a TLS certificate that you want to use. You can select only
certificates that contain both a public key and a private key. Certificates without private keys are not
displayed in the list.
• Your organization uses a TLS certificate signed by a CA and you have a copy of this certificate in a file of
PFX format.
• You have generated a self-signed TLS certificate in the PFX format with a third-party tool and you want to
import it to Veeam Backup & Replication.
IMP ORTANT
The TLS certificate must pass validation on the Veeam backup server. In the opposite case, you will not be
able to import the TLS certificate.
4. At the Certificate Type step of the wizard, choose Imp ort certificate from a file.
5. At the Imp ort Certificate step of the wizard, specify a path to the PXF file.
7. At the Summary step of the wizard, review the certificate properties. Use the Cop y to clipboard link to
copy and save information about the TLS certificate. You can use the copied information on a protected
computer to verify the TLS certificate with the certificate thumbprint.
If you want to use a certificate signed by your internal Certification Authority (CA), make sure that the following
requirements are met:
• Veeam product on the protected computer and Veeam Backup & Replication must trust the CA. That is,
the Certification Authority certificate must be added to the Trusted Root Certification Authority store on
the Veeam backup server and computers with Veeam products.
• Certificate Revocation List (CRL) must be accessible from the Veeam backup server and computers with
Veeam products.
• [For Linux-based computers] OpenSSL version 1.0 or later must be installed on the computer with Veeam
products.
1. The certificate subject must be equal to the fully qualified domain name of the Veeam backup server. For
example: vbrserver.tech.local .
2. The following key usage extensions must be enabled in the certificate to sign and deploy child certificate s
for computers with Veeam Plug-ins:
o Digital Signature
o Certificate Signing
If you use Windows Server Certification Authority, it is recommended that you issue a Veeam Backup &
Replication certificate based on the built-in "Subordinate Certification Authority" template or templates
similar to it.
If you use Windows Server Certification Authority, to do this, enable the Do not allow subject to issue
certificates to other CAs option in the certificate template.
a. At the Request Certificates step of the Certificate Enrollment wizard, select a check box next to the
necessary certificate template and click P roperties.
After you specify the signed certificate in Veeam Backup & Replication, during the next application backup
policy session Veeam products will receive child certificates from the Veeam backup server.
2. In the inventory pane, expand the P hy sical Infrastructure node and click Untrusted.
3. In the working area, Veeam Backup & Replication will display discovered computers that you can add to
the list of trusted hosts. Check SSH fingerprints of the computers and add them to the list of trusted hosts
in one of the following ways:
o To add all computers at once to the list of trusted hosts, select the Untrusted node in the inventory
pane and click Trust All on the ribbon or right-click the Untrusted node and select Trust a ll.
1. On the Veeam Backup & Replication side, start a Veeam PowerShell session. For more information, see the
Starting Veeam PowerShell Sessions in the Veeam PowerShell Reference.
3. Upload the obtained files on the computer which database you want to protect.
4. On the side of the computer with Veeam Plug-in, navigate to the directory where you have saved the files
and install Veeam Deployer Service using a package manager.
6. On the Veeam Backup & Replication side, create a protection group with the following parameters:
b. At the Comp uters step of the wizard, specify a computer and select the Connect using certificate-
b a sed authentication method to connect to the computer.
After you create the protection group, Veeam Backup & Replication will rescan the protection group. During the
rescan operation, Veeam Backup & Replication will connect to the Veeam Deployer Service and install Veeam
Plug-in. To learn more, see Rescan Job.
Related Topics
• Protection Group Types
NOTE
If you want to use a certificate-based authentication to connect to the protected computers, before
creating a protection group, you must install Veeam Plug -in on the computer. For details, see Deploying
Plug-in for Certificate-Based Authentication.
For details, see Creating Protection Group for Individual Computers, Creating Protection Group for Microsoft
Active Directory Objects and Creating Protection Group for Computers from CSV File.
IMP ORTANT
Veeam Backup & Replication cannot install Veeam Plug-ins on computers added to the protection groups
for the following types:
To learn more about protection groups for computers with pre-installed agents and cloud machines, see
Protection Group Types section in Veeam Agent Management Guide. For details, about protection group
for applications, see Creating Protection Group for MongoDB.
• Individual computers — create a protection group for these objects if you want to define a static
protection scope by adding specific computers to the protection group. This protection group is
recommended for smaller environments that do not have Microsoft Active Directory deployed.
• Microsoft Active Directory objects — create a protection group for these objects if you want to add to the
protection scope one or several Active Directory objects: entire domain, container, organization unit,
group, computer or cluster. Protection groups that include Active Directory containers and organization
units are dynamic in their nature. If a new computer is added to a container or organization unit that you
have specified in the protection group settings, during the next rescan session, Veeam Backup &
Replication will discover this computer and (optionally) deploy Veeam Plug -in on this computer.
• Computers from CSV file — create a protection group for these objects if you want to add to the protection
scope computers listed in a CSV file that resides in a local folder on the backup server or in a network
shared folder. As well as protection groups that include Active Directory containers, protection groups of
this type are also dynamic. If a new computer appears in a CSV file after the protection job is created,
within the next rescan session, Veeam Backup & Replication will automatically update the protection
group settings to include the added computer.
Related Topics
Protection Groups
1. When Veeam Backup & Replication performs discovery of protected computers, Veeam Backup &
Replication connects to every computer added to the protection group. If you instruct Veeam Backup &
Replication to perform discovery immediately after the protection group is created, make sure that all
computers added to the protection group are powered on and may be accessed ov er the network.
Otherwise, Veeam Backup & Replication will be unable to connect to a protected computer and perform
the required operations on this computer.
2. Do not add a computer to a protection group by specifying a dynamic IP address assigned to this
computer. If such computer receives another IP address from a DHCP server, Veeam Backup & Replication
will be unable to discover the computer and perform on this computer operations defined in the
protection group settings.
3. We recommend that you include each object you want to protect in one protection group only. For
example, if you have added an Active Directory container to a protection group, it is not recommended to
add a computer that exists in this container to another protection group. Adding computers to multiple
protection groups with different computer discovery and Veeam Plug -in deployment settings will result in
additional load on the backup server.
4. When you configure a protection group for a cluster, do not exclude nodes of this cluster from a
protection scope. Otherwise, Veeam Backup & Replication will not have complete information about all
clustered servers.
5. To deploy Veeam Installer Service and Veeam Plug -in on a protected computer running Microsoft
Windows OS, Veeam Backup & Replication uses the administrative share (admin$) of the target computer.
An account that you plan to use to connect to a computer included in the protection group must have
access to the administrative share.
Note that in client Microsoft Windows OSes access to the administrative share is forbidden by default for
local accounts. You can enable this option with a registry key. For details, see this Microsoft KB article.
6. Veeam Backup & Replication does not support usage of a Linux account for which system settings modify
shell output results to connect to a computer included in the protection group. For example, this includes
Linux accounts with the modified PS1 shell variable.
1. Open the Ad d Protection Group window. To open the window, do one of the following:
o Open the Inventory view. Click the P hy sical Infrastructure node in the inventory pane and click Ad d
Group on the ribbon.
o Open the Inventory view. Click the P hy sical Infrastructure node in the inventory pane and click Create
P rotection Group in the working area.
o Open the Inventory view. Right-click the P hy sical Infrastructure node in the inventory pane and select
Ad d protection group.
2. In the Ad d Protection Group window, select the Ind ividual computers option.
2. In the Description field, provide a description for future reference. The default descrip tion contains
information about the user who added the protection group, date and time when the protection group
was created.
1. Click Ad d .
2. In the Ad d Computer window, in the Host name or IP address field, enter a full DNS name, NetBIOS name
or IP address of the computer that you want to add to the protection group.
o Connect using admin credentials. In this case, from the Credentials list, select a user account that has
administrative permissions on the computer that you want to add to the protection group. Veeam
Backup & Replication will use this account to connect to the protected computer and perform the
necessary operations on the computer: upload and deploy Veeam Plug -in, and so on.
If you have not set up credentials beforehand, click the Ma nage accounts link or click Ad d on the right
to add credentials.
Veeam Backup & Replication allows you to add the following types of credentials:
▪ Stored credentials. Select stored credentials if you want Veeam Backup & Replication to use the
specified user name and password for each connection to computer with Veeam Plug-in.
▪ [For Linux computers] Single-use credentials. Select single-use credentials if you do not want
Veeam Backup & Replication to store credentials in the configuration database. With this option
selected, Veeam Backup & Replication will use the specified user name and password only for
the first connection to Veeam Agent. After that, Veeam Backup & Replication will use Veeam
Transport Service to communicate with the computer.
Keep in mind that the username must be specified in the down-level logon name format. For example,
DOMAIN\UserName or HOSTNAME\UserName. Use the full domain or hostname name. Do not rep lace
them with a dot.
For more information, see the Credentials Manager section in the Veeam Backup & Replication User
Guide.
o [For Linux computers] Connect using certificate-based authentication. Select this option, if you chose
to pre-install Veeam Deployer Service on the Linux computer you want to add to the protection
group. In this case, Veeam Backup & Replication will communicate with the Linux computer using a
certificate. Veeam Backup & Replication will install Transport Service that will be used to perform the
necessary operations on the computer: upload and install Veeam Plug -in. To learn more, see
Deploying Plug-in for Certificate-Based Authentication.
4. Repeat steps 1–3 for every computer that you want to add to the protection group.
5. To check if Veeam Backup & Replication can communicate with computers added to the protection group,
click Test Now. Veeam Backup & Replication will use the specified credentials to connect to all computers
in the list.
If you chose to manually add Linux-based computers to the list of trusted hosts in Veeam Backup &
Replication, when you test credentials for an unknown Linux-based computer in the protection group
settings, the test operation will complete with the Failed status. This happens because Veeam Backup &
Replication cannot connect to the untrusted computer before you add this computer to the list of trusted
hosts. To learn more, see Adding Computers to Trusted Hosts List.
Veeam Backup & Replication regularly connects to protected computers according to the schedule defi ned in
the protection group settings. At this step of the wizard, you can define the discovery schedule and specify
operations that Veeam Backup & Replication must perform on discovered computers. You can also select which
server in your backup infrastructure should act as a distribution server for Veeam Plug -ins.
1. In the Discovery section, define schedule for automatic computer discovery within the scope of the
protection group:
o To run the rescan job at specific time daily, on defined week days or with specific periodicity, select
Da ily at this time. Use the fields on the right to configure the necessary schedule.
o To run the rescan job repeatedly throughout a day with a specific time interval, select P eriodically
every. In the field on the right, select the necessary time unit: Hours or Minutes. Click Schedule and
use the time table to define the permitted time window for the rescan job. In the Sta rt time within an
hour field, specify the exact time when the job must start.
o To run the rescan job continuously, select the P eriodically every option and choose Continuously from
the list on the right. A new rescan job session will start as soon as the previous rescan job session
finishes.
NOTE
You cannot create a protection group without defining schedule for automatic discovery. However,
you can disable automatic discovery for a specific protection group, if needed. To learn more, see
Disabling Protection Group.
2. In the Dep loyment section, select the object that will be responsible for the Veeam Plug -ins distribution,
select a Microsoft Windows server that you plan to use as a distribution server. Veeam Backup &
Replication will use the distribution server to upload Veeam Plug-in setup files to computers added to the
protection group. By default, Veeam Backup & Replication assigns the distribution server role to the
backup server. To learn more, see Distribution Server.
3. Make sure that the Install backup agent check box is clear. Otherwise, Veeam Backup & Replication will
install Veeam Agent on the target computer.
TIP
To learn how to use protection groups to automatically deploy Veeam Agents, see Veeam Agent
Management Guide.
4. If you want to instruct Veeam Backup & Replication to automatically deploy Veeam Plug -ins on all
discovered computers in the protection group, in the Deployment section, make sure that the Install
a p plication plug-ins: configure plug-ins to be installed check box is selected and click Configure. In the
Ap p lication Plug-ins window, select the check boxes next to the plug-ins that you want to install.
[For Veeam Plug-in for SAP on Oracle] if you plan to use the rman_util parameter, you must install
2 plug-ins on the Oracle server:
5. If you want to instruct Veeam Backup & Replication to automatically up grade Veeam Plug-ins on
discovered computers when a new version of the product appears on the distribution server, in the
Dep loyment section, make sure that the Auto-update backup agents and plug-ins check box is selected.
6. Select the P erform reboot automatically if required check box to allow Veeam Backup & Replication to
reboot a protected computer.
7. Click Ad vanced to specify advanced settings for the protection group. To learn more, see Specify
Advanced Protection Group Settings.
NOTE
Email reports with protection group statistics will be sent only if you configure global email notification
settings in Veeam Backup & Replication. For more information, see the Configuring Global Email
Notification Settings section in the Veeam Backup & Replication User Guide.
After you enable notification settings for the protection group, in addition to reports sent according to the
global email notification settings, Veeam Backup & Replication will send reports with the protection group
statistics to email addresses specified in the protection group settings. This allows you to fine -tune email
notifications in Veeam Backup & Replication: while one or more backup administrators receive email
notifications according to the global settings, other backup administrators can receive reports for specific
protection groups only.
If you do not enable global email notification settings in Veeam Backup & Replication, notification settings
for the protection group will not be sent even if you enable them in the protection group settings.
3. Select the Send daily agent status report e -mail to the following recipients check box and specify a
recipient email address. You can enter several addresses separated by a semicolon.
4. In the Send daily summary at field, specify the time when Veeam Backup & Replication must send the daily
email report for the protection group.
5. You can choose to use global notification settings or specify custom notification settings.
To receive a typical notification for the protection group, select Use global notification settings. In this
case, Veeam Backup & Replication will apply to the protection group global email notification settings
specified for the backup server.
To configure a custom notification for the protection group, select Use custom notification settings
sp ecified below. You can specify the following notification settings:
o In the Sub ject field, specify a notification subject. You can use the following variables in the subject:
▪ %FoundCount% — number of new computers discovered within the last 24-hour period.
▪ %SeenCount% — number of computers in the protection group that were online for the last 24
hours. A computer is considered to be online if Veeam Backup & Replication successfully
connected to this computer during the last rescan session.
o You can select one of the following notification triggers for the protection group rescan job:
NOTE
Veeam Plug-in and Veeam Agent components are installed on the distribution server even if the Install
a p plication plug-ins and Install backup agent check boxes are clear at the Options step of the wizard.
2. To start the rescan job after you close the wizard, make sure that the Run d iscovery when I click Finish
option is selected.
If you want to perform computer discovery later, you can clear the Run d iscovery when I click Finish check
box. In this case, the rescan job will start automatically upon the defined schedule. You can also start the
rescan job manually at any time you need. To learn more, see Rescanning Protection Group.
After the rescan process completes and Veeam Plug-ins are successfully deployed on target computers, you ca n
create the application backup policy. Application backup policies allow you to protect computers in the
protection group. To learn more, see Working with Application Policies.
1. When Veeam Backup & Replication performs discovery of protected computers, Veeam Backup &
Replication connects to every computer added to the protection group. If you instruct Veeam Backup &
Replication to perform discovery immediately after the protection group is created, make sure that all
computers added to the protection group are powered on and may be accessed over the network .
Otherwise, Veeam Backup & Replication will be unable to connect to a protected computer and perform
the required operations on this computer.
3. Veeam Backup & Replication automatically excludes from the protection scope Active Directory objects of
the Group type that exist in a parent Active Directory object (organization unit, container or entire domain)
specified in the protection group settings. To instruct Veeam Backup & Replication to process a group , you
must select this group explicitly in the protection group settings.
4. You cannot add or exclude universal and domain local groups to/from protection groups that include
Microsoft Active Directory objects. Only global groups are supported.
5. Do not add a computer to a protection group by specifying a dynamic IP address assigned to this
computer. If such computer receives another IP address from a DHCP server, Veeam Backup & Replication
will be unable to discover the computer and perform on this computer operations defined in the
protection group settings.
6. We recommend that you include each object you want to protect in one protection group only. For
example, if you have added an Active Directory container to a protection group, it is not recommende d to
add a computer that exists in this container to another protection group. Adding computers to multiple
protection groups with different computer discovery and Veeam Plug -in deployment settings will result in
additional load on the backup server.
7. When you configure a protection group for a cluster, do not exclude nodes of this cluster from a
protection scope. Otherwise, Veeam Backup & Replication will not have complete information about all
clustered servers.
8. To deploy Veeam Installer Service and Veeam Plug-in on a protected computer running Microsoft
Windows OS, Veeam Backup & Replication uses the administrative share (admin$) of the target computer.
An account that you plan to use to connect to a computer included in the protection group must hav e
access to the administrative share.
Note that in client Microsoft Windows OSes access to the administrative share is forbidden by default for
local accounts. You can enable this option with a registry key. For details, see this Microsoft KB article.
1. Open the Ad d Protection Group window. To open the window, do one of the following:
o Open the Inventory view. Click the P hy sical Infrastructure node in the inventory pane and click Ad d
Group on the ribbon.
o Open the Inventory view. Click the P hy sical Infrastructure node in the inventory pane and click Create
P rotection Group in the working area.
o Open the Inventory view. Right-click the P hy sical Infrastructure node in the inventory pane and select
Ad d protection group.
2. In the Ad d Protection Group window, select the Microsoft Active Directory objects option.
2. In the Description field, provide a description for future reference. The default description contains
information about the user who added the protection group, date and time when the protection group
was created.
1. In the Sea rch for objects in this d omain field, click Cha nge.
2. In the Sp ecify Domain window, specify settings of the domain whose objects you want to include in the
protection group:
a. In the Doma in controller or domain DNS name field, type a name of the domain controller or domain
whose objects you want to include in the protection group.
b. In the P ort field, specify a port number over which Veeam Backup & Replication must communicate
with the domain controller. By default, Veeam Backup & Replication uses port 389.
c. From the Account list, select a user account that is a member of the DOMAIN\Administrators group. If
you have not set up credentials beforehand, click the Ma nage accounts link or click Ad d on the right
to add credentials. For more information, see the Credentials Manager section in the Veeam Backup &
Replication User Guide.
NOTE
If you want to include a large number of computers in the protection group but do not want to use
an account with domain administrator permissions in the protection group settings, consider
configuring a protection group based on a list of computers imported from a CSV file. To learn more,
see Launch New Protection Group Wizard.
4. In the Ad d Objects window, select the necessary Active Directory object in the tree and click OK. You can
press and hold [Ctrl] to select multiple objects at once.
To quickly find the necessary object, you can use the search field at the bottom of the Ad d Objects
window.
a. Click the button to the left of the search field and select the necessary type of object to search for:
Everything , Computer, Cluster, Organization Unit, Container or Group .
• All virtual machines — all VMs residing in the domain. You can select this option, for example, if you do not
want to protect VMs with Veeam Plug-ins and want to back up VM data with Veeam Backup & Replication
instead.
• All computers that have been offline for over 30 days — all computers in the domain that have not logged
on to Active Directory for more than 30 days.
1. In the E x clude section, select the The following objects check box.
2. Click Ad d .
3. In the Ad d Objects window, select the necessary Active Directory object in the tree and click OK. You can
press and hold [Ctrl] to select multiple objects at once.
To quickly find the necessary Active Directory object, you can use the search field at the bottom of the Ad d
Ob jects window.
1. Click the button to the left of the search field and select the necessary type of object to search for:
Everything , Computer, Cluster, Group, Organization Unit or Container.
1. If you want to use the same credentials for all computers in the protection group, select the necessary
user account from the Ma ster a ccount list. The account must have local administrator permissions on all
computers that you have added to the protection group.
If you have not set up credentials beforehand, click the Ma nage accounts link or click Ad d on the right to
add credentials. For more information, see the Credentials Manager section in the Veeam Backup &
Replication User Guide.
2. By default, Veeam Backup & Replication uses credentials specified in the Ma ster account field for all
computers in the protection group. If some computer requires a different user account, do the following:
a. Select the Use custom credentials for the following objects check box.
b. Click Ad d next to the list of objects and select the necessary object in the Ad d Objects window.
Objects that you have added to the protection group at the Active Directory step or the wizard are
already displayed in the Use custom credentials for the following objects list. In the Ad d Objects
window, you can also select child objects for which you want to specify custom credentials. For
example, you may want to specify separate credentials for different organization units, containers,
groups or individual computers within the entire domain added to the protection group.
c. In the Use custom credentials for the following objects list, select the necessary object, click E d it and
select custom credentials for the object. Credentials must be specified in the following format:
NOTE
• Veeam Backup & Replication supports user account names in the SAM-Account-Name format
(DOMAIN\Username). The User-Principal-Name (UPN) format ( username@domain) is not supported.
If you specify credentials in the UPN format, Veeam Backup & Replication will successfully connect
to computers added to the protection group during the Test Now operation. However, the
subsequent protection group rescan operations will fail.
• The master account or custom account specified for an object must be a member of the
DOMAIN\Administrators group.
Veeam Backup & Replication regularly connects to protected computers according to the schedule defined in
the protection group settings. At this step of the wizard, you can define the discovery schedule and specify
operations that Veeam Backup & Replication must perform on discovered computers. You can also select which
server in your backup infrastructure should act as a distribution server for Veeam Plug -ins.
1. In the Discovery section, define schedule for automatic computer discovery within the scope of the
protection group:
o To run the rescan job at specific time daily, on defined week days or with specific periodicity, select
Da ily at this time. Use the fields on the right to configure the necessary schedule.
o To run the rescan job repeatedly throughout a day with a specific time interval, select P eriodically
every. In the field on the right, select the necessary time unit: Hours or Minutes. Click Schedule and
use the time table to define the permitted time window for the rescan job. In the Sta rt time within an
hour field, specify the exact time when the job must start.
o To run the rescan job continuously, select the P eriodically every option and choose Continuously from
the list on the right. A new rescan job session will start as soon as the previous rescan job session
finishes.
NOTE
You cannot create a protection group without defining schedule for automatic discovery. However,
you can disable automatic discovery for a specific protection group, if needed. To learn more, see
Disabling Protection Group.
2. In the Dep loyment section, select the object that will be responsible for the Veeam Plug -ins distribution,
select a Microsoft Windows server that you plan to use as a distribution server. Veeam Backup &
Replication will use the distribution server to upload Veeam Plug -in setup files to computers added to the
protection group. By default, Veeam Backup & Replication assigns the distrib ution server role to the
backup server. To learn more, see Distribution Server.
3. Make sure that the Install backup agent check box is clear. Otherwise, Veeam Backup & Replication will
install Veeam Agent on the target computer.
TIP
To learn how to use protection groups to automatically deploy Veeam Agents, see Veeam Agent
Management Guide.
4. If you want to instruct Veeam Backup & Replication to automatically deploy Veeam Plug -ins on all
discovered computers in the protection group, in the Deployment section, make sure that the Install
a p plication plug-ins: configure plug-ins to be installed check box is selected and click Configure. In the
Ap p lication Plug-ins window, select the check boxes next to the plug-ins that you want to install.
[For Veeam Plug-in for SAP on Oracle] if you plan to use the rman_util parameter, you must install
2 plug-ins on the Oracle server:
5. If you want to instruct Veeam Backup & Replication to automatically upgrade Veeam Plug -ins on
discovered computers when a new version of the product appears on the distribution server, in the
Dep loyment section, make sure that the Auto-update backup agents and plug-ins check box is selected.
6. Select the P erform reboot automatically if required check box to allow Veeam Backup & Replication to
reboot a protected computer.
7. Click Ad vanced to specify advanced settings for the protection group. To learn more, see Specify
Advanced Protection Group Settings.
NOTE
Email reports with protection group statistics will be sent only if you configure global email notification
settings in Veeam Backup & Replication. For more information, see the Configuring Global Email
Notification Settings section in the Veeam Backup & Replication User Guide.
After you enable notification settings for the protection group, in addition to reports sent according to the
global email notification settings, Veeam Backup & Replication will send reports with the protection group
statistics to email addresses specified in the protection group settings. This allows you to fine-tune email
notifications in Veeam Backup & Replication: while one or more backup administrators receive email
notifications according to the global settings, other backup administrators can receive reports for specific
protection groups only.
If you do not enable global email notification settings in Veeam Backup & Replication, notification settings
for the protection group will not be sent even if you enable them in the protection group settings.
3. Select the Send daily agent status report e -mail to the following recipients check box and specify a
recipient email address. You can enter several addresses separated by a semicolon.
4. In the Send daily summary at field, specify the time when Veeam Backup & Replication must send the daily
email report for the protection group.
5. You can choose to use global notification settings or specify custom notification settings.
To receive a typical notification for the protection group, select Use global notification settings. In this
case, Veeam Backup & Replication will apply to the protection group global email notification settings
specified for the backup server.
To configure a custom notification for the protection group, select Use custom notification settings
sp ecified below. You can specify the following notification settings:
o In the Sub ject field, specify a notification subject. You can use the following variables in the subject:
▪ %FoundCount% — number of new computers discovered within the last 24-hour period.
▪ %SeenCount% — number of computers in the protection group that were online for the last 24
hours. A computer is considered to be online if Veeam Backup & Replication successfully
connected to this computer during the last rescan session.
o You can select one of the following notification triggers for the protection group rescan job:
NOTE
Veeam Plug-in and Veeam Agent components are installed on the distribution server even if the Install
a p plication plug-ins and Install backup agent check boxes are clear at the Options step of the wizard.
2. To start the rescan job after you close the wizard, make sure that the Run d iscovery when I click Finish
option is selected.
If you want to perform computer discovery later, you can clear the Run d iscovery when I click Finish check
box. In this case, the rescan job will start automatically upon the defined schedule. You can also start the
rescan job manually at any time you need. To learn more, see Rescanning Protection Group.
After the rescan process completes and Veeam Plug-ins are successfully deployed on target computers, you can
create the application backup policy. Application backup policies allow you to protect computers in the
protection group. To learn more, see Working with Application Policies.
1. When Veeam Backup & Replication performs discovery of protected computers, Veeam Backup &
Replication connects to every computer added to the protection group. If you instruct Veeam Backup &
Replication to perform discovery immediately after the protection group is created, make sure that all
computers added to the protection group are powered on and may be accessed over the network.
Otherwise, Veeam Backup & Replication will be unable to connect to a protected computer and perform
the required operations on this computer..
3. We recommend that you include each object you want to protect in one protection group only. For
example, if you have added an Active Directory container to a protection group, it is not recommended to
add a computer that exists in this container to another protection group. Adding computers to multiple
protection groups with different computer discovery and Veeam Plug -in deployment settings will result in
additional load on the backup server.
4. When you configure a protection group for a cluster, do not exclude nodes of this cluster from a
protection scope. Otherwise, Veeam Backup & Replication will not have complete information about all
clustered servers.
5. To deploy Veeam Installer Service and Veeam Plug-in on a protected computer running Microsoft
Windows OS, Veeam Backup & Replication uses the administrative share (admin$) of the target computer.
An account that you plan to use to connect to a computer included in the protection group must have
access to the administrative share.
Note that in client Microsoft Windows OSes access to the administrative share is forbidden by default for
local accounts. You can enable this option with a registry key. For details, see this Microsoft KB article.
6. Veeam Backup & Replication does not support usage of a Linux account for which system settings modify
shell output results to connect to a computer included in the protection group. For example, this includes
Linux accounts with the modified PS1 shell variable.
1. Open the Ad d Protection Group window. To open the window, do one of the following:
o Open the Inventory view. Click the P hy sical Infrastructure node in the inventory pane and click Ad d
Group on the ribbon.
o Open the Inventory view. Click the P hy sical Infrastructure node in the inventory pane and click Create
P rotection Group in the working area.
o Open the Inventory view. Right-click the P hy sical Infrastructure node in the inventory pane and select
Ad d protection group.
2. In the Ad d Protection Group window, select the Comp uters from CSV file option.
2. In the Description field, provide a description for future reference. The default description contains
information about the user who added the protection group, date and time when the protection group
was created.
1. In the P a th to file field, click Browse and specify a path to a CSV file that contains a list of IP addresses or
domain names of computers that you want to add to the protection group. The CSV file can reside in a
folder on the local drive of the Veeam backup server or in a network shared folder accessible from the
backup server.
2. In the Computers field, review the list of IP addresses or domain names imported from the CSV file.
NOTE
After you finish configuring the protection group, Veeam Backup & Replication will perform discovery of
computers listed in the CSV file upon schedule defined in the protection group settings. If Veeam Backup &
Replication is unable to read the CSV file (for example, after the file was moved or deleted from the
specified location), the rescan job will use the list of computers imported from the CSV file during the
previous rescan job session.
Delimit IP addresses or domain names in the list with commas (' ,') or semicolons (';'). For example:
172.17.53.16,172.17.53.19,172.17.53.31,172.17.53.40
172.17.53.16
172.17.53.19
172.17.53.31
172.17.53.40
1. If you want to use the same credentials for all computers in the protection group, select the necessary
user account from the Ma ster a ccount list. The account must have local administrator permissions on all
computers that you have added to the protection group.
If you have not set up credentials beforehand, click the Ma nage accounts link or click Ad d on the right to
add credentials. For more information, see the Credentials Manager section in the Veeam Backup &
Replication User Guide.
2. By default, Veeam Backup & Replication uses credentials specified in the Ma ster account field for all
computers in the protection group. If some computer requires a different user account, do the following:
a. Select the Use custom credentials for the following objects check box.
b. Click Ad d next to the list of objects and select the necessary object in the Ad d Objects window.
You can select in the Ad d Objects window one or more computers listed in a CSV file and add them to
the Use custom credentials for the following objects list.
c. In the Use custom credentials for the following objects list, select the necessary object, click E d it and
select custom credentials for the object. Credentials must be specified in the following format:
Username or HOST\Username
NOTE
• Veeam Backup & Replication supports user account names in the SAM-Account-Name format
(DOMAIN\Username). The User-Principal-Name (UPN) format ( username@domain) is not supported.
If you specify credentials in the UPN format, Veeam Backup & Replication will successfully connect
to computers added to the protection group during the Test Now operation. However, the
subsequent protection group rescan operations will fail.
• The account that you use to connect to a Linux computer must have a home directory on this
computer.
• If you plan to back up Oracle databases that run on Linux computers, the OS account used to
connect to the computer must be a member of the group that owns configuration files of the Oracle
database (for example, the oinstall group).
Veeam Backup & Replication regularly connects to protected computers according to the schedule defined in
the protection group settings. At this step of the wizard, you can define the discovery schedule and spec ify
operations that Veeam Backup & Replication must perform on discovered computers. You can also select which
server in your backup infrastructure should act as a distribution server for Veeam Plug -ins.
1. In the Discovery section, define schedule for automatic computer discovery within the scope of the
protection group:
o To run the rescan job at specific time daily, on defined week days or with specific periodicity, select
Da ily at this time. Use the fields on the right to configure the necessary schedule.
o To run the rescan job repeatedly throughout a day with a specific time interval, select P eriodically
every. In the field on the right, select the necessary time unit: Hours or Minutes. Click Schedule and
use the time table to define the permitted time window for the rescan job. In the Sta rt time within an
hour field, specify the exact time when the job must start.
o To run the rescan job continuously, select the P eriodically every option and choose Continuously from
the list on the right. A new rescan job session will start as soon as the previous rescan job session
finishes.
NOTE
You cannot create a protection group without defining schedule for automatic discovery. However,
you can disable automatic discovery for a specific protection group, if needed. To learn more, see
Disabling Protection Group.
2. In the Dep loyment section, select the object that will be responsible for the Veeam Plug -ins distribution,
select a Microsoft Windows server that you plan to use as a distribution server. Veeam Backup &
Replication will use the distribution server to upload Veeam Plug -in setup files to computers added to the
protection group. By default, Veeam Backup & Replication assigns the distribution server role to the
backup server. To learn more, see Distribution Server.
3. Make sure that the Install backup agent check box is clear. Otherwise, Veeam Backup & Replication will
install Veeam Agent on the target computer.
TIP
To learn how to use protection groups to automatically deploy Veeam Agents, see Veeam Agent
Management Guide.
4. If you want to instruct Veeam Backup & Replication to automatically deploy Veeam Plug -ins on all
discovered computers in the protection group, in the Deployment section, make sure that the Install
a p plication plug-ins: configure plug-ins to be installed check box is selected and click Configure. In the
Ap p lication Plug-ins window, select the check boxes next to the plug-ins that you want to install.
[For Veeam Plug-in for SAP on Oracle] if you plan to use the rman_util parameter, you must install
2 plug-ins on the Oracle server:
5. If you want to instruct Veeam Backup & Replication to automatically up grade Veeam Plug-ins on
discovered computers when a new version of the product appears on the distribution server, in the
Dep loyment section, make sure that the Auto-update backup agents and plug-ins check box is selected.
6. Select the P erform reboot automatically if required check box to allow Veeam Backup & Replication to
reboot a protected computer.
7. Click Ad vanced to specify advanced settings for the protection group. To learn more, see Specify
Advanced Protection Group Settings.
NOTE
Email reports with protection group statistics will be sent only if you configure global email notification
settings in Veeam Backup & Replication. For more information, see the Configuring Global Email
Notification Settings section in the Veeam Backup & Replication User Guide.
After you enable notification settings for the protection group, in addition to reports sent according to the
global email notification settings, Veeam Backup & Replication will send reports with the protection group
statistics to email addresses specified in the protection group settings. This allows you to fine -tune email
notifications in Veeam Backup & Replication: while one or more backup administrators receive email
notifications according to the global settings, other backup administrators can receive reports for specific
protection groups only.
If you do not enable global email notification settings in Veeam Backup & Replication, notification settings
for the protection group will not be sent even if you enable them in the protection group settings.
3. Select the Send daily agent status report e -mail to the following recipients check box and specify a
recipient email address. You can enter several addresses separated by a semicolon.
4. In the Send daily summary at field, specify the time when Veeam Backup & Replication must send the daily
email report for the protection group.
5. You can choose to use global notification settings or specify custom notification settings.
To receive a typical notification for the protection group, select Use global notification settings. In this
case, Veeam Backup & Replication will apply to the protection group global email notification settings
specified for the backup server.
To configure a custom notification for the protection group, select Use custom notification settings
sp ecified below. You can specify the following notification settings:
o In the Sub ject field, specify a notification subject. You can use the following variables in the subject:
▪ %FoundCount% — number of new computers discovered within the last 24-hour period.
▪ %SeenCount% — number of computers in the protection group that were online for the last 24
hours. A computer is considered to be online if Veeam Backup & Replication successfully
connected to this computer during the last rescan session.
o You can select one of the following notification triggers for the protection group rescan job:
NOTE
Veeam Plug-in and Veeam Agent components are installed on the distribution server even if the Install
a p plication plug-ins and Install backup agent check boxes are clear at the Options step of the wizard.
2. To start the rescan job after you close the wizard, make sure that the Run d iscovery when I click Finish
option is selected.
If you want to perform computer discovery later, you can clear the Run d iscovery when I click Finish check
box. In this case, the rescan job will start automatically upon the defined schedule. You can also start the
rescan job manually at any time you need. To learn more, see Rescanning Protection Group.
After the rescan process completes and Veeam Plug-ins are successfully deployed on target computers, you ca n
create the application backup policy. Application backup policies allow you to protect computers in the
protection group. To learn more, see Working with Application Policies.
NOTE
• You cannot change the type of a protection group when editing protection group settings.
• For the Manually Added protection group, you can change only a limited number of settings. In
particular, you can edit protected computers discovery and Veeam components deployment options
(except for changing the distribution server for the protection group). You can also remove from this
protection group computers that are no longer included in an application backup policy.
• You cannot edit settings of default protection groups that act as filters used to display protected
computers of a specific type: Unmanaged , Out of Date, Offline and Untrusted .
3. In the inventory pane, select the protection group that you want to edit and click E d it Group on the ribbon
or right-click the protection group that you want to edit and select P roperties.
During the rescan operation, Veeam Backup & Replication starts the rescan job in the same way as in case of
scheduled discovery. The rescan job connects to computers included in the protection group and performs on
these computers operations specified in the protection group settings. For example, if Veeam Backup &
Replication is set up to automatically install Veeam Plug-in or Veeam Agent on protected computers during
discovery, you can use the rescan operation to deploy Veeam components to computers that have appeared in
the protection group after the previous scheduled rescan job session finished.
3. In the inventory pane, select the necessary protection group and click Rescan on the ribbon or right-click
the protection group and select Rescan.
3. In the inventory pane, select the necessary protection group and click Location > <Location name> on the
ribbon or right-click the necessary protection group and select Loca tion > <Location name> .
To learn more about locations, see the Locations section in the Veeam Backup & Replication User Guide.
When you disable a protection group, Veeam Backup & Replication does not start the rescan job upon schedule
defined in the protection group settings. However, you can start the discovery process manually. To learn more,
see Rescanning Protection Group.
Disabling a protection group does not affect processing of computers included in this protection group. If a
protected computer is added to an application policy, and the application policy is scheduled to start at the time
when the protection group is in the disabled state, the policy will run as usual.
NOTE
You cannot disable default protection groups that act as filters used to display protected computers of a
specific type: Unmanaged , Out of Date, Offline and Untrusted .
3. In the inventory pane, select the necessary protection group and click Disable on the ribbon or right-click
the necessary protection group and select Disable.
Backups created for computers that were included in the removed protection group remain intact in the backup
location. You can delete this backup data manually later if needed.
NOTE
• You cannot remove a protection group if the entire protection group or a computer included in this
protection group is added to an application backup policy, Veeam Agent backup job or policy.
• You cannot remove default protection groups, such as Unmanaged , Out of Date and so on.
3. In the inventory pane, select the protection group that you want to remove and click Remove Group on
the ribbon or right-click the protection group and select Remove.
4. If you want to remove Veeam components deployed on protected computers, in the displayed window,
select the Uninstall Everything check box. With this option selected, Veeam Backup & Replication will
remove the protection group from the configuration database and, in addition, uninstall Veeam Plug -ins
and Veeam Agents and other Veeam components from every computer in the deleted p rotection group.
You can also remove individual computers from protection groups. For details, see Removing Computer
from Protection Group.
After you configured an application backup policy in Veeam Backup & Replication, you can manage it in Veeam
Backup & Replication as well. To learn more, see Managing Application Backup Policies.
• The Veeam Backup & Replication license must have a sufficient number of instances to process computers
that you plan to add to the application backup policy.
• The target location where you plan to store backup files must have enough free space.
• Protection groups that you want to add to the policy must be configured in advance.
• The saphostcrl (SAP Host Agent) utility must be installed in advance on computers with databases that
you want to protect. With this utility, Veeam Plug-in gets the list of database instances. To learn more,
see Database Detection.
• One backup object (computer, database system, or database) can be added only to one application backup
policy. Otherwise, the application backup policy will fail.
• You can create application backups on a Veeam backup repository. If you want to save backups in other
target locations, you must configure backup job on the computer side.
• After you start managing a Veeam Plug-in with Veeam Backup & Replication, data backup for the
computer is performed by a backup policy configured in Veeam Backup & Replication. Veeam Plug -in
running on the computer starts a new backup chain on a target location specified in the backup policy
settings. You cannot continue the existing backup chain that was created by Veeam Plug -in operating in
the standalone mode.
2. In the Description field, provide a description for future reference. The default description contains
information about the user who created the job, date and time when the job was created.
You can add to the backup scope one or more objects added to inventory in the Veeam Backup & Replication
console.
Application policies with protection groups are dynamic in their nature. If Veeam Backup & Replication discovers
a new computer in a protection group after the policy is created, Veeam Backup & Replication will automatically
update the policy settings to include the added computer.
1. Click Ad d .
2. In the Select Objects window, select one or more objects in the list and click OK. You can select any of the
following objects:
o Protection group
o Cluster
o Computer
o SAP system
o SAP database
You can press and hold [Ctrl] to select multiple objects at once.
NOTE
In the Select Objects window, Veeam Backup & Replication shows only those computers on which Veeam
Backup & Replication have detected SAP systems during the rescan job. To learn more, see Rescan Job.
To quickly find the necessary object, use the search field at the bottom of the Select Objects window.
Excluding Objects
You can exclude protection groups, individual computers or databases from the backup scope of the application
backup policy. This may be useful if you want to back up a certain database with another application backup
policy.
To exclude protection groups, individual computers or databases from the backup scope:
3. Click E x clusions.
4. In the E x clusions window, select one or more objects in the list and click OK. You can select any of the
following objects:
o Computer
o Cluster
o SAP system
o SAP database
You can press and hold [Ctrl] to select multiple objects at once.
In the E x clusions window, Veeam Backup & Replication shows only those objects which were already added
to the backup scope. To learn more, see Adding Objects from Inventory.
1. From the Ba ckup repository list, select a backup repository where you want to store backups. You can
select from the Veeam backup repositories configured on the backup server that will manage the created
backup policy.
2. In the Retention Policy field, specify the number of days for which you want to store backup files in the
target location. By default, Veeam Backup & Replication keeps backup files for 7 days. After this period is
over, Veeam Backup & Replication will remove the earliest restore points from the backup chain.
3. Click Ad vanced to specify advanced settings for the backup job. To learn more, see Specify Advanced
Backup Settings.
• Backup settings
• Notification settings
TIP
After you specify necessary settings for the application backup policy, you can save them as default
settings. To do this, click Sa ve as Default at the bottom left corner of the Ad vanced Settings window.
When you create a new backup policy, Veeam Backup & Replication will automatically apply the default
settings to the new policy.
Backup Settings
To specify settings for a backup chain created with the backup policy:
3. In the Ba ckup mode, select one of the following modes for incremental backups:
o Incremental backup. In this mode, Veeam Backup & Replication will create a backup of data changed
since the last incremental data backup.
o Differential backup. In this mode, Veeam Backup & Replication will create a backup of data changed
since the last full data backup.
4. To define the schedule for complete backups, click Configure and define the schedule in the Schedule
Settings window:
o To run the complete backup once a month on specific days, select Monthly on. Use the fields on the
right to configure the necessary schedule.
Notification Settings
To specify notification settings for the backup policy:
3. Select the Send SNMP notifications for this job check box if you want to receive SNMP traps when the
policy completes successfully.
SNMP traps will be sent if you specify global SNMP settings in Veeam Backup & Replication and configure
software on recipient's machine to receive SNMP traps. For more information, see the Specifying SNMP
Settings section in the Veeam Backup & Replication User Guide.
4. Select the Send email notifications to the follow ing recipients check box if you want to receive
notifications about the policy completion status by email. In the field below, specify a recipient email
address. You can enter several addresses separated by a semicolon.
Email notifications will be sent if you configure global email notification settings in Veeam Backup &
Replication. For more information, see the Configuring Global Email Notification Settings section in Veeam
Backup & Replication User Guide.
o To receive a typical notification for the backup policy, select Use g lobal notification settings. In this
case, Veeam Backup & Replication will apply to the backup policy global email notification settings
specified for the backup server. Veeam Backup & Replication will send the email report containing
backup policy statistics at 8:00 AM daily.
o To configure a custom notification for the backup policy, select Use custom notification settings
sp ecified below. You can specify the following notification settings:
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName%, %JobResult%, %ObjectCount% (number of
machines in the backup policy) and %Issues% (number of machines in the backup policy that
have been processed with the Warning or Failed status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive email
notification if the policy completes successfully, completes with a warning or fails.
1. To specify credentials for the OS user, select the database and click OS user. In the OS user credentials
window, select credentials in the list. If you have not set up credentials beforehand, click Ad d on the right
to add credentials.
2. To specify credentials for the database user, select the database and click DB user. In the Da tabase user
credentials window, select credentials in the list. If you have not set up credentials beforehand, click Ad d
on the right to add credentials.
NOTE
Make sure the specified user accounts have the required permissions.
2. Specify log processing settings for the objects in the list. To learn more, see Processing settings.
In the Ob jects list, Veeam Backup & Replication shows only those objects that you added to the backup scope at
the Da tabases step of the wizard. If you added a protection group, but need to specify settings for an individual
computer or database in this protection group, you can add such objects to the list. To learn more, see Adding
Objects from Backup Scope.
1. Click Ad d .
2. In the Select Objects window, select one or more objects in the list and click OK. You can select any of the
following objects:
o Protection group
o Cluster
o Computer
o SAP system
o SAP database
You can press and hold [Ctrl] to select multiple objects at once.
To quickly find the necessary object, use the search field at the bottom of the Select Objects window.
Processing Settings
To specify processing settings for the object:
1. At the Log Backup step of the wizard, select the object and click E d it.
2. In the P rocessing tab, select the way you want to back up logs:
o Select Let SAP HANA manage log backup if you want to back up logs with SAP HANA tools.
With SAP HANA tools, you set to back up logs by Veeam Plug -in and set the log backup interval. In
this case Veeam Plug-in will backup logs with parameters specified with SAP HANA tools. You can
also set SAP HANA tools not to back up logs. In this case Veeam Plug -in will not back up logs too.
In the Ba ckup logs every <N> minutes field, specify the frequency for logs backup. By default, redo
logs are backed up every 15 minutes. The minimum log backup interval is 5 minutes. The maximum log
backup interval is 480 minutes.
1. Select the Run the job automatically check box. If this check box is not selected, you will have to start the
backup job manually to create backup.
o To run the job at specific time daily, on defined week days or with specific periodicity, select Da ily at
this time. Use the fields on the right to configure the necessary schedule.
o To run the job once a month on specific days, select Monthly at this time. Use the fields on the right
to configure the necessary schedule.
o To run the job repeatedly throughout a day with a specific time interval, select P eriodically every. In
the field on the right, select the necessary time unit: Hours or Minutes.
o To define the permitted time window for the job, click Schedule and use the time table. In the Sta rt
time within an hour field, specify the exact time when the job must start.
▪ The defined interval always starts at 12:00 AM. For example, if you configure to run a job with a
4-hour interval, the job will start at 12:00 AM, 4:00 AM, 8:00 AM, 12:00 PM, 4:00 PM and so
on.
▪ If you define permitted hours for the job, after the denied interval is over, the job will start
immediately and then run by the defined schedule.
For example, you have configured a job to run with a 2-hour interval and defined permitted hours
from 9:00 AM to 5:00 PM. According to the rules above, the job will first run at 9:00 AM, when the
denied period is over. After that, the job will run at 10:00 AM, 12:00 PM, 2:00 PM and 4:00 PM.
o To run the job continuously, select the P eriodically every option and choose Continuously from the
list on the right. A new backup job session will start as soon as the previous backup job session
finishes.
o To chain jobs, use the After this job field. In the common practice, jobs start one after another: when
job A finishes, job B starts and so on. If you want to create a chain of jobs, you must define the time
schedule for the first job in the chain. For the rest of the jobs in the chain, select the After this job
option and choose the preceding job from the list.
NOTE
The After this job option will automatically start a job if the first job in the chain is started
automatically by schedule. If you start the first job manually, Veeam Backup & Replication will
display a notification. You will be able to choose whether Veeam Backup & Replication must
start the chained job as well.
3. In the Automatic retry section, define whether Veeam Backup & Replication or Veeam Plug -in (depending
on the selected job mode) must attempt to run the backup job again if the job fails for some reason. Enter
the number of attempts to run the job and define time intervals between them. If you select continuous
backup, Veeam Backup & Replication or Veeam Plug -in will retry the job for the defined number of times
without any time intervals between the job runs.
a. Select the Terminate job if it exceeds allowed backup window check box and click W ind ow.
b. In the Time P eriods window, define the allowed hours and prohibited hours for backup. If the job
exceeds the allowed window, it will be automatically terminated.
NOTE
If you configure a backup policy, after you click Ap p ly at the Schedule step of the wizard, Veeam Backup &
Replication will immediately apply the backup policy to protected computers.
2. Select the E na ble the backup policy when I click Finish check box if you want to enable the policy right
after you finish working with the wizard. After that, you can start the policy manually or wait for the
scheduled start.
• The Veeam Backup & Replication license must have a sufficient number of instances to process computers
that you plan to add to the application backup policy.
• The target location where you plan to store backup files must have enough free space.
• Protection groups that you want to add to the policy must be configured in advance.
• One backup object (computer, database system, or database) can be added only to one application backup
policy. Otherwise, the application backup policy will fail.
• You can create application backups in a Veeam backup repository. If you want to save backups in other
target locations, you must configure backup job on the computer with Veeam Plug -in installed.
• After you start managing a Veeam Plug-in with Veeam Backup & Replication, data backup for the
computer is performed by a backup policy configured in Veeam Backup & Replication. Veeam Plug -in
running on the computer starts a new backup chain on a target location specified in the backup policy
settings. You cannot continue the existing backup chain that was created by Veeam Plug -in operating in
the standalone mode.
• Application backup policy does not support backup of databases in a mounted state. If Veeam Plug -in
detects a database in the mounted state, the application backup policy will finish with an error.
• If your database resides on a Oracle Exadata Database Machine, you may need to adjust the memory limit
(memlock) for Veeam Transport Service. Otherwise, the application backup policy will fail . To learn more,
see this Veeam KB article.
2. In the Description field, provide a description for future reference. The default description contains
information about the user who created the policy, date and time when the policy was created.
You can add to the backup scope one or more objects added to inventory in the Vee am Backup & Replication
console.
Application policies with protection groups are dynamic in their nature. If Veeam Backup & Replication discovers
a new computer in a protection group after the policy is created, Veeam Backup & Replication will automaticall y
update the policy settings to include the added computer.
1. Click Ad d .
2. In the Select Objects window, select one or more objects in the list and click OK. You can select any of the
following objects:
o Protection group
o Computer
o Oracle home
o Oracle database
You can press and hold [Ctrl] to select multiple objects at once.
NOTE
In the Select Objects window, Veeam Backup & Replication shows only those computers on which Veeam
Backup & Replication have detected Oracle database systems during the rescan job. To learn more, see
Rescan Job.
To quickly find the necessary object, use the search field at the bottom of the Select Objects window.
Excluding Objects
You can exclude protection groups, individual computers or databases from the backup scope of the application
backup policy. This may be useful if you want to back up a certain database with another application backup
policy.
To exclude protection groups, individual computers or databases from the backup scope:
3. Click E x clusions.
4. In the E x clusions window, select one or more objects in the list and click OK. You can select any of the
following objects:
o Computer
o Oracle home
o Oracle database
You can press and hold [Ctrl] to select multiple objects at once.
In the E x clusions window, Veeam Backup & Replication shows only those objects which were already added
to the backup scope. To learn more, see Adding Objects from Inventory.
1. From the Ba ckup repository list, select a backup repository where you want to store backups. You can
select from the Veeam backup repositories configured on the backup server that will manage the created
backup policy.
2. In the Retention Policy field, specify the number of days for which you want to store backup files in the
target location. By default, Veeam Backup & Replication keeps backup files for 7 days. After this period is
over, Veeam Backup & Replication will remove the earliest restore points from the backup chain.
NOTE
On the computer with Veeam Plug-in, make sure that the value set for the
CONTROL_FILE_RECORD_KEEP_TIME parameter in the control file is greater than the recovery
window. Otherwise, the retention policy will not be applicable as the backup records will be a lways
overwritten earlier than they can be considered obsolete by the retention policy. To learn more, see
this Oracle article (requires an Oracle Support account).
3. Click Ad vanced to specify advanced settings for the backup job. To learn more, see Specify Advanced
Backup Settings.
• Backup settings
• Storage settings
• Notification settings
• Oracle settings
TIP
After you specify necessary settings for the application backup policy, you can save them as default
settings. To do this, click Sa ve as Default at the bottom left corner of the Ad vanced Settings window.
When you create a new backup job, Veeam Backup & Replication will automatically apply the default
settings to the new job.
Backup Settings
To specify settings for a backup chain created with the backup policy:
3. In the Ba ckup mode, select one of the following modes for incremental backups:
o Differential backup. In this mode, Veeam Backup & Replication will create a backup of data changed
since the last incremental data backup.
o Cumulative backup. In this mode, Veeam Backup & Replication will create a backup of data changed
since the last full data backup.
4. To define the schedule for full backups, click Configure and define the schedule in the Schedule Settings
window:
o To run the full backup once a month on specific days, select Monthly on. Use the fields on the right to
configure the necessary schedule.
Storage Settings
To specify compression settings for the backup job:
3. Select the Comp ress data during backup check box and select the way compression is performed:
o Select Veeam compression if you want to perform default data compression with Data Mover by
Veeam Software. If this option selected, Data Mover will use the ZSTD compression algorithm.
If you selected the RMAN compression option, you can also select the compression level.
Notification Settings
To specify notification settings for the backup policy:
3. Select the Send SNMP notifications for this job check box if you want to receive SNMP traps when the job
completes successfully.
SNMP traps will be sent if you specify global SNMP settings in Veeam Backup & Replication and configure
software on recipient's machine to receive SNMP traps. For more information, see the Specifying SNMP
Settings section in the Veeam Backup & Replication User Guide.
4. Select the Send email notifications to the following recipients check box if you want to receive
notifications about the job completion status by email. In the field below, specify a recipient email
address. You can enter several addresses separated by a semicolon.
Email notifications will be sent if you configure global email notification settings in Veeam Backup &
Replication. For more information, see the Configuring Global Email Notification Settings section in Veeam
Backup & Replication User Guide.
o To receive a typical notification for the backup policy, select Use g lobal notification settings. In this
case, Veeam Backup & Replication will apply to the backup policy global email notification settings
specified for the backup server. Veeam Backup & Replication will send the email report containing
backup policy statistics at 8:00 AM daily.
o To configure a custom notification for the backup policy, select Use custom notification settings
sp ecified below. You can specify the following notification settings:
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName%, %JobResult%, %ObjectCount% (number of
machines in the backup policy) and %Issues% (number of machines in the backup policy that
have been processed with the Warning or Failed status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive email
notification if the policy completes successfully, completes with a warning or fails.
Oracle Settings
To specify Oracle settings for the backup policy:
2. Specify database credentials and log processing settings for the objects in the list:
o Processing settings
In the Credentials list, Veeam Backup & Replication shows only those objects that you added to the backup
scope at the Da tabases step of the wizard. If you added a protection group, but need to specify settings for an
individual computer or database in this protection group, you can add such objects to the list. To learn more, see
Adding Objects from Backup Scope.
1. Click Ad d .
2. In the Select Objects window, select one or more objects in the list and click OK. You can select any of the
following objects:
o Computer
o Oracle home
o Oracle database
You can press and hold [Ctrl] to select multiple objects at once.
To quickly find the necessary object, use the search field at the bottom of the Select Objects window.
Processing Settings
To specify processing settings:
1. At the Da tabase Processing step of the wizard, select the object in the Credentials list and click E d it.
2. In the P rocessing settings window, select the preferred authentication mode from the Select
a uthentication mode list:
With this authentication method, Veeam Backup & Replication uses the OS user credentials to connect
to the Oracle server. Then, Veeam Plug-in starts Oracle Recovery Manager (RMAN) using the OS user
credentials. After that, RMAN uses the OS user credentials to connect to the Oracle database.
To set the operating system authentication, from the Sp ecify OS user credentials with SYSDBA
p rivileges list, select an OS user account with SYSDBA permissions on the database. The OS user
account must be a user on the Oracle server with the required permissions to run RMAN.
If you have not set up credentials beforehand, click the Ma nage accounts link or click Ad d on the right
to add credentials. For more information, see the Credentials Manager section in the Veeam Backup &
Replication User Guide.
Make sure the specified OS user account has the required permissions.
o Da tabase authentication
With this authentication method, Veeam Backup & Replication uses the OS user credentials to connect
to the Oracle server. Then, Veeam Plug-in starts RMAN using the OS user credentials. After that,
RMAN uses the database user credentials to connect to the Oracle database. This process ensures that
the database access is separate from the OS user access rights.
i. From the Sp ecify OS user credentials to connect to the server list, select an OS user account that
Veeam Plug-in will use to connect to the Oracle server. The OS user account must be a user on
the Oracle server with the required permissions to run RMAN.
If you have not set up credentials beforehand, click the Ma nage accounts link or click Ad d on the right
to add credentials. For more information, see the Credentials Manager section in the Veeam Backup &
Replication User Guide.
3. In the Archived logs section, specify if Veeam Plug-in must delete archived logs for the Oracle database:
o Select Do not d elete archived redo logs if you want Veeam Plug-in to preserve archived logs. When
the backup job completes, Veeam Plug-in will not delete archived logs.
Keep in mind that with the ARCHIVELOG mode turned on, archived logs may grow large and consume
all disk space. In this case, the database administrator must take care of archived logs him -/herself.
o Select Delete archived redo logs that were backed up if you want Veeam Plug-in back up logs and
delete logs from the database after the backup operation. Veeam Plug -in will wait for the backup job
to complete successfully and then trigger archived logs truncation using Oracle Call Interface (OCI). If
the backup job fails, the logs will remain untouched until the next successful backup job session.
In the Ba ckup archived redo logs every <N> minutes field, specify the frequency for archived logs
backup. By default, archived logs are backed up every 15 minutes. The minimum log backup interval is
1 minute. The maximum log backup interval is 480 minutes.
4. In the P a rallel processing section, specify the number of data channels that Veeam Plug -in will use in
parallel to back up logs.
1. At the Da tabase Processing step of the wizard, select the object in the Credentials list and click E d it.
o All PDBs — select this option if you want to process all detected pluggable databases.
o All PDBs except — select this option if you want to process all detected pluggable databases
excluding the databases that you specify. Click Add to add the necessary databases or wildcards to
the list.
o Only the following PDBs — select this option if you want to process only those pluggable databases
that you specify. Click Add to add the necessary databases or wildcards to the list.
1. Select the Run the job automatically check box. If this check box is not selected, you will have to start the
backup job manually to create backup.
o To run the job at specific time daily, on defined week days or with specific periodicity, select Da ily at
this time. Use the fields on the right to configure the necessary schedule.
o To run the job once a month on specific days, select Monthly at this time. Use the fields on the right
to configure the necessary schedule.
o To run the job repeatedly throughout a day with a specific time interval, select P eriodically every. In
the field on the right, select the necessary time unit: Hours or Minutes.
o To define the permitted time window for the job, click Schedule and use the time table. In the Sta rt
time within an hour field, specify the exact time when the job must start.
▪ The defined interval always starts at 12:00 AM. For example, if you configure to run a job with a
4-hour interval, the job will start at 12:00 AM, 4:00 AM, 8:00 AM, 12:00 PM, 4:00 PM and so
on.
▪ If you define permitted hours for the job, after the denied interval is over, the job will start
immediately and then run by the defined schedule.
For example, you have configured a job to run with a 2-hour interval and defined permitted hours
from 9:00 AM to 5:00 PM. According to the rules above, the job will first run at 9:00 AM, when the
denied period is over. After that, the job will run at 10:00 AM, 12:00 PM, 2:00 PM and 4:00 PM.
o To run the job continuously, select the P eriodically every option and choose Continuously from the
list on the right. A new backup job session will start as soon as the previous backup job session
finishes.
o To chain jobs, use the After this job field. In the common practice, jobs start one after another: when
job A finishes, job B starts and so on. If you want to create a chain of jobs, you must define the time
schedule for the first job in the chain. For the rest of the jobs in the chain, select the After this job
option and choose the preceding job from the list.
NOTE
The After this job option will automatically start a job if the first job in the chain is started
automatically by schedule. If you start the first job manually, Veeam Backup & Replication will
display a notification. You will be able to choose whether Veeam Backup & Replication must
start the chained job as well.
3. In the Automatic retry section, define whether Veeam Backup & Replication or Veeam Plug -in (depending
on the selected job mode) must attempt to run the backup job again if the job fails for some reason. Enter
the number of attempts to run the job and define time intervals between them. If you select continuous
backup, Veeam Backup & Replication or Veeam Plug -in will retry the job for the defined number of times
without any time intervals between the job runs.
a. Select the Terminate job if it exceeds allowed backup window check box and click W ind ow.
b. In the Time P eriods window, define the allowed hours and prohibited hours for backup. If the job
exceeds the allowed window, it will be automatically terminated.
NOTE
If you configure a backup policy, after you click Ap p ly at the Schedule step of the wizard, Veeam Backup &
Replication will immediately apply the backup policy to protected computers.
2. Select the E na ble the backup policy when I click Finish check box if you want to enable the policy right
after you finish working with the wizard. After that, you can start the policy manually or wait for the
scheduled start.
• The Veeam Backup & Replication license must have a sufficient number of instances to process computers
that you plan to add to the application backup policy.
• The target location where you plan to store backup files must have enough free space.
• Protection groups that you want to add to the policy must be configured in advance.
• The saphostcrl (SAP Host Agent) utility must be installed in advance on computers with databases that
you want to protect. With this utility, Veeam Plug-in gets the list of database instances. To learn more,
see Database Detection.
• One backup object (computer, database system, or database) can be added only to one application backup
policy. Otherwise, the application backup policy will fail.
• You can create application backups on a Veeam backup repository. If you want to save backups in other
target locations, you must configure backup job on the computer side.
• After you start managing a Veeam Plug-in with Veeam Backup & Replication, data backup for the
computer is performed by a backup policy configured in Veeam Backup & Replication. Veeam Plug -in
running on the computer starts a new backup chain on a target location specified in the backup policy
settings. You cannot continue the existing backup chain that was created by Veeam Plug-in operating in
the standalone mode.
• Veeam Plug-in may not be able to detect SAP instances during the configuration if the Oracle Database
and SAP central instance are running on different hosts. If you work with Veeam Plug -in in the managed
mode, this configuration is not supported. If you work with Veeam Plug-in in the standalone operation
mode, see Configuring Plug-in for SAP on Oracle.
• An application backup policy cannot back up Oracle installations with SAP BR*Tools user and password in
secure storage. If you work with Veeam Plug-in in the managed mode, this configuration is not supported.
2. In the Description field, provide a description for future reference. The default description contains
information about the user who created the job, date and time when the job was created.
3. In the P olicy mode field, select the job mode. You can select one of the following modes:
You can add to the backup scope one or more objects added to inventory in the Veeam Backup & Replication
console.
Application policies with protection groups are dynamic in their nature. If Veeam Backup & Replication discovers
a new computer in a protection group after the policy is created, Veeam Backup & Replication will automatically
update the policy settings to include the added computer.
1. Click Ad d .
2. In the Select Objects window, select one or more objects in the list and click OK. You can select any of the
following objects:
o Protection group
o Computer
o Oracle home
o Oracle database
You can press and hold [Ctrl] to select multiple objects at once.
NOTE
In the Select Objects window, Veeam Backup & Replication shows only those computers on which Veeam
Backup & Replication have detected Oracle database systems during the rescan job. To learn more, see
Rescan Job.
To quickly find the necessary object, use the search field at the bottom of the Select Objects window.
Excluding Objects
You can exclude protection groups, individual computers or databases from the backup scope of the application
backup policy. This may be useful if you want to back up a certain database with another application backup
policy.
To exclude protection groups, individual computers or databases from the backup scope:
3. Click E x clusions.
4. In the E x clusions window, select one or more objects in the list and click OK. You can select any of the
following objects:
o Computer
o Oracle home
o Oracle database
You can press and hold [Ctrl] to select multiple objects at once.
NOTE
In the E x clusions window, Veeam Backup & Replication shows only those objects which were already added
to the backup scope. To learn more, see Adding Objects from Inventory.
1. From the Ba ckup repository list, select a backup repository where you want to store backups. You can
select from the Veeam backup repositories configured on the backup server that will manage the created
backup policy.
2. In the Retention Policy field, specify the number of days for which you want to store backup files in the
target location. By default, Veeam Backup & Replication keeps backup files for 7 days. After this period is
over, Veeam Backup & Replication will remove the earliest restore points from the backup chain.
3. Click Ad vanced to specify advanced settings for the backup job. To learn more, see Specify Advanced
Backup Settings.
• Backup settings
• Storage settings
• Notification settings
• Oracle settings
TIP
After you specify necessary settings for the application backup policy, you can save them as default
settings. To do this, click Sa ve as Default at the bottom left corner of the Ad vanced Settings window.
When you create a new backup policy, Veeam Backup & Replication will automatically apply the default
settings to the new policy.
Backup Settings
To specify settings for a backup chain created with the backup policy:
2. To define the schedule for full backups, click Configure and define the schedule in the Schedule Settings
window:
o To run the job once a month on specific days, select Monthly on. Use the fields on the right to
configure the necessary schedule.
Storage Settings
To specify compression settings for the backup job:
2. Select the Comp ress data during backup check box and select the way compression is performed:
o Select Veeam compression if you want to perform data compression with Data Mover by Veeam
Software.
Notification Settings
To specify notification settings for the backup job:
2. Select the Send SNMP notifications for this job check box if you want to receive SNMP traps when the job
completes successfully.
SNMP traps will be sent if you specify global SNMP settings in Veeam Backup & Replication and configure
software on recipient's machine to receive SNMP traps. For more information, see the Specifying SNMP
Settings section in the Veeam Backup & Replication User Guide.
3. Select the Send email notifications to the following recipients check box if you want to receive
notifications about the job completion status by email. In the field below, specify a recipient email
address. You can enter several addresses separated by a semicolon.
Email notifications will be sent if you configure global email notification settings in Veeam Ba ckup &
Replication. For more information, see the Configuring Global Email Notification Settings section in Veeam
Backup & Replication User Guide.
4. You can choose to use global notification settings or specify custom notification settings.
o To receive a typical notification for the backup policy, select Use g lobal notification settings. In this
case, Veeam Backup & Replication will apply to the backup policy global email notification settings
specified for the backup server. Veeam Backup & Replication will send the email report containing
backup policy statistics at 8:00 AM daily.
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName%, %JobResult%, %ObjectCount% (number of
machines in the backup policy) and %Issues% (number of machines in the backup policy that
have been processed with the Warning or Failed status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive email
notification if the policy completes successfully, completes with a warning or fails.
Oracle Settings
To specify Oracle settings for the backup policy:
2. Specify log processing settings for the objects in the list. To learn more, see Processing settings.
In the list, Veeam Backup & Replication shows only those objects that you added to the backup scope at the
Da tabases step of the wizard. If you added a protection group, but need to specify settings for an individual
computer or database in this protection group, you can add such objects to the list. To learn more, see Adding
Objects from Backup Scope.
1. Click Ad d .
2. In the Select Objects window, select one or more objects in the list and click OK. You can select any of the
following objects:
o Protection group
o Computer
o Oracle home
o Oracle database
You can press and hold [Ctrl] to select multiple objects at once.
To quickly find the necessary object, use the search field at the bottom of the Select Objects window.
Processing Settings
To specify processing settings:
1. At the Da tabase Processing step of the wizard, select the object and click E d it.
3. To specify a user account that Veeam Plug-in will use to connect to the Oracle database, select from the
Sp ecify OS user (for example, ora<dbsid>) who owns data files of the database list a user account that has
SYSDBA rights on the database. If you have not set up credentials beforehand, click the Ma nage accounts
link or click Ad d on the right to add credentials.
4. In the Ba ckup archived redo logs every <N> minutes field, specify the frequency for archived logs backup.
By default, archived logs are backed up every 15 minutes. The minimum log backup interval is 5 minutes.
The maximum log backup interval is 480 minutes.
5. Specify if Veeam Plug-in must delete archived logs for the Oracle database:
o Select Do not d elete offline redo logs if you want Veeam Plug-in to preserve archived logs. When the
backup job completes, Veeam Plug-in will not delete archived logs.
It is recommended that you select this option for databases for which the ARCHIVELOG mode is
turned off. If the ARCHIVELOG mode is turned on, archived logs may grow large and consume all disk
space. In this case, the database administrator must take care of archived logs him-/herself.
1. Select the Run the job automatically check box. If this check box is not selected, you will have to start the
backup job manually to create backup.
o To run the job at specific time daily, on defined week days or with specific periodicity, select Da ily at
this time. Use the fields on the right to configure the necessary schedule.
o To run the job once a month on specific days, select Monthly at this time. Use the fields on the right
to configure the necessary schedule.
o To run the job repeatedly throughout a day with a specific time interval, select P eriodically every. In
the field on the right, select the necessary time unit: Hours or Minutes.
o To define the permitted time window for the job, click Schedule and use the time table. In the Sta rt
time within an hour field, specify the exact time when the job must start.
▪ The defined interval always starts at 12:00 AM. For example, if you configure to run a job with a
4-hour interval, the job will start at 12:00 AM, 4:00 AM, 8:00 AM, 12:00 PM, 4:00 PM and so
on.
▪ If you define permitted hours for the job, after the denied interval is over, the job will start
immediately and then run by the defined schedule.
For example, you have configured a job to run with a 2-hour interval and defined permitted hours
from 9:00 AM to 5:00 PM. According to the rules above, the job will first run at 9:00 AM, whe n the
denied period is over. After that, the job will run at 10:00 AM, 12:00 PM, 2:00 PM and 4:00 PM.
o To run the job continuously, select the P eriodically every option and choose Continuously from the
list on the right. A new backup job session will start as soon as the previous backup job session
finishes.
o To chain jobs, use the After this job field. In the common practice, jobs start one after another: when
job A finishes, job B starts and so on. If you want to create a chain of jobs, you must define the time
schedule for the first job in the chain. For the rest of the jobs in the chain, select the After this job
option and choose the preceding job from the list.
NOTE
The After this job option will automatically start a job if the first job in the chain is started
automatically by schedule. If you start the first job manually, Veeam Backup & Replication will
display a notification. You will be able to choose whether Veeam Backup & Replication must
start the chained job as well.
3. In the Automatic retry section, define whether Veeam Backup & Replication or Veeam Plug -in (depending
on the selected job mode) must attempt to run the backup job again if the job fails for some reason. Enter
the number of attempts to run the job and define time intervals between them. If you select continuous
backup, Veeam Backup & Replication or Veeam Plug -in will retry the job for the defined number of times
without any time intervals between the job runs.
a. Select the Terminate job if it exceeds allowed backup window check box and click W ind ow.
b. In the Time P eriods window, define the allowed hours and prohibited hours for backup. If the job
exceeds the allowed window, it will be automatically terminated.
NOTE
If you configure a backup policy, after you click Ap p ly at the Schedule step of the wizard, Veeam Backup &
Replication will immediately apply the backup policy to protected computers.
2. Select the E na ble the backup policy when I click Finish check box if you want to enable the policy right
after you finish working with the wizard. After that, you can start the policy manually or wait for the
scheduled start.
• Start and stop backup operations on computers added to the backup policy .
Veeam Backup & Replication does not check whether connection to computers is active at the time when the
command is sent. Keep in mind that the start or stop operation will be performed only on those computers that
received the command from the backup server.
3. In the working area, select the backup policy and click Sta rt on the ribbon or right-click the job and select
Sta rt.
TIP
You can also start a backup operation from the computer with installed Veeam Plug -in. To learn more, see
Starting Backup Job on Veeam Plug-in Side.
• You can back up only those databases that are added to the application backup policy on the Veeam
Backup & Replication side. If the database is not added to any application backup policy, you cannot back
up this database from the computer with Veeam Plug-in.
• You cannot start an application backup job from the computer with Veeam Plug -in installed, if the
application backup policy on the Veeam Backup & Replication side is in the disabled s tate. To learn how to
enable a disabled backup policy, see Enabling and Disabling Backup Policy.
• When you start an application backup job from the computer with Veeam Plug -in installed, Veeam Backup
& Replication will not start the application backup policy. The policy will stay in the idle state.
The way you configure and start the backup job depends on the Veeam Plug -in you work with:
The BRBACKUP tool can use this configuration file as an initialization profile. As a result, you can use this file to
start the backup operation from the Veeam Plug-in side. To learn more about configuration file, see Configuring
Plug-in for SAP on Oracle.
Consider that the command differs depending on the OS running on the computer with Veeam Plug -in for
Oracle RMAN installed:
RUN {
ALLOCATE CHANNEL VeeamAgentChannel1
DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=%PROGRAMFILES%\Veeam\VEEAMP~1\ORAC
LE~2.DLL' FORMAT 'RMAN_%I_%d_%T_%U.vab';
BACKUP INCREMENTAL LEVEL 0 DATABASE;
}
EXIT;
RUN {
ALLOCATE CHANNEL VeeamAgentChannel1
DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=/opt/veeam/VeeamPluginforOracleRMA
N/libOracleRMANPlugin.so' FORMAT 'RMAN_%I_%d_%T_%U.vab';
BACKUP INCREMENTAL LEVEL 0 DATABASE;
}
EXIT;
If you selected the database authentication method during the application backup policy
configuration, the backup operation started from the computer with Veeam Plug -in will fail. This
happens because the database credentials are not available on the computer with Veeam Plug-in.
Veeam Backup & Replication stores the database credentials only in the application backup policy
settings. For details, see Authentication Against Database.
As a workaround, you can manually set the database credentials on the computer with Veeam Plug-
in using the OracleRMANConfigTool tool. The command to manually set the database credentials
differs depending on the OS of the machine where Veeam Plug -in is installed:
The database credentials that you specified with the tool will be saved in the Veeam Plug -in
configuration file (veeam_config.xml). Veeam Plug-in will use them for backup operations started
from the computer with Veeam Plug-in.
When you start active full backup for a backup policy, Veeam Backup & Replication does not check whether
connection to computers is active at the time when the command is sent. Keep in mind that the active full
backup operation will be performed only on those computers that received the command from the backup
server.
3. In the working area, select the backup policy and click Active full on the ribbon or right-click the job and
select Full. After that, confirm the backup policy start.
NOTE
If you want to change a backup repository, you must disable a policy. To learn more, see Enabling and
Disabling Backup Policy. In this case during the next run the policy will produce a full backup.
3. In the working area, select the backup policy and click E d it on the ribbon or right-click the policy and
select E d it.
4. Complete the steps of the E d it Application Backup Policy wizard to change the job settings as required.
3. In the working area, select the application backup policy and click Disable on the ribbon or right-click the
policy and select Disable.
If you disabled a backup policy in the Veeam Backup & Replication console, this backup policy will not
start by schedule.
To enable a disabled policy, select it in the list and click Disable on the ribbon once again.
3. In the working area, select the backup policy and click Clone on the ribbon or right-click the backup policy
and select Clone.
4. After a backup policy is cloned, you can edit all its settings, including the job name.
NOTE
The backup policy cloning functionality is available only in the Enterprise and Enterprise Plus editions of
Veeam Backup & Replication.
3. In the working area, select the application backup policy and click Disable on the ribbon or right-click the
policy and select Disable.
4. Wait for Veeam Backup & Replication to disable the application backup policy, then select the backup
policy and click Delete on the ribbon or right-click the policy and select Delete.
After the job is deleted, the backups created by this job are displayed under the Ba ckups > Disk ( Orphaned)
node.
IMP ORTANT
The computer is displayed in the Unmanaged protection group only if you have Veeam Agent and Veeam
Plug-in deployed and configured directly from a computer side. If Veeam Plug -in only is installed on the
computer, this computer will not be displayed in the Unmanaged protection group.
Keep in mind, that you can move an unmanaged computer only to a protection group that includes individual
computers.
You can move a computer from the Unmanaged protection group to a new protection group or protection group
that you have already created.
• When you move an unmanaged computer to a new protection group, Veeam Backup & Replication creates
the protection group and adds the computer to this group. In the protection group settings, you can
define discovery and deployment options according to which Veeam Backup & Replication will process the
added computer.
• When you move an unmanaged computer to an already existing protection group, Veeam Backup &
Replication adds this computer to the protection group and starts processing the computer according to
discovery and deployment settings defined in the properties of the protection group. Veeam Backup &
Replication discovers the added computer, checks whether Veeam Plug -in running on the computer needs
upgrade and upgrades Veeam Plug-in if needed.
NOTE
• After you move a computer to a protection group, data backup for this computer will be performed
by a backup job configured in Veeam Backup & Replication. Veeam Plug -in running on the computer
will start a new backup chain on a target location specified in the backup job settings. The original
backup job configured on the computer will be removed in Veeam Plug -in, and you will not be able
to continue the backup chain created with this job.
• You cannot map an application backup policy configured in Veeam Backup & Replication to a backup
chain that was created on a backup repository by Veeam Plug -in operating in the standalone mode.
• If you have Veeam Agent and Veeam Plug-in deployed and configured from the computer side, you
can move your computer to two different protection groups: one protection group for Veeam Agent
and another protection group for Veeam Plug-in. But you cannot move this computer to the same
protection group twice.
2. In the inventory pane, expand the P hy sical Infrastructure node and select the Unma naged node.
3. In the working area, select the necessary computer and click Move to > New protection group on the
ribbon or right click the computer and select Move to > New protection group.
To move an unmanaged computer to a protection group that is already created in the inventory:
3. In the working area, select the necessary computer and click Move to > na me of the protection group on
the ribbon or right click the computer and select Move to > na me of the protection group .
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the computer and click Rescan on the ribbon or right-click the computer and
select Rescan.
• Host name
• IP address
• Operating system
3. In the working area, select the computer and click Details on the ribbon or right-click the computer and
select Details.
• The protected computer must be powered on and able to be connected over the network.
• The required version of Veeam Plug-in must be available on the distribution server.
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the necessary computer and click Install Plug-in on the ribbon or right-click the
computer and select P lug-in > Install and select the plug-in you want to install.
• The protected computer must be powered on and able to be connected over the network.
• Veeam Plug-in on the protected computer must be managed by Veeam Backup & Replication. Upgrade of
standalone Veeam Plug-ins must be performed from the Veeam Plug-in side. To learn more, see
Upgrading from Veeam Plug-in Side.
• The required version of Veeam Plug-in must be available on the distribution server.
TIP
During the protected computers discovery process, Veeam Backup & Replication checks the version of
Veeam Plug-in running on a protected computer and the version of Veeam Plug -in available on the
distribution server. If a newer version of Veeam Plug -in becomes available on the distribution server, and
automatic upgrade of Veeam Plug-in is disabled for a protection group, Veeam Backup & Replication puts a
computer to the Upgrade required state.
In addition, Veeam Backup & Replication includes computers that require upgrade of Veeam Plug-in in the
Out of Date protection group. You can upgrade Veeam Plug-in on all computers that require upgrade at
once. To learn more, see Upgrading Veeam Plug-in on Multiple Computers.
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the necessary computer and click Up grade Plug-in on the ribbon or right-click
the computer and select P lug-in > Up grade.
In some cases, upgrade to the new version of Veeam Plug -in may require computer reboot.
2. In the inventory pane, in the P hy sical Infrastructure node, select the Out of Date protection group and
click Up g rade on the ribbon or right-click the Out of Date protection group and select Up g rade.
In some cases, upgrade to the new version of Veeam Plug -in may require computer reboot.
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the necessary computer and click Uninstall Plug-in on the ribbon or right-click
the computer and select P lug-in > Uninstall and select Veeam Plug-in you want to uninstall.
• If automatic installation of Veeam Plug-in is enabled in the protection group settings, after you
remove Veeam Plug-in from a selected computer, Veeam Backup & Replication will install Veeam
Plug-in on this computer during the next rescan job session started by schedule.
• Prerequisite components installed and used by Veeam Plug -in are not removed during the uninstall
process. To remove the remaining components, use the built-in tools directly on this computer (for
example, Microsoft Windows Control Panel on the Microsoft Windows computer).
NOTE
• By default, if there are no specified preferred networks for Veeam Plug -in data traffic, Veeam Plug-
in will connect to preferred networks specified in Veeam Backup & Replication. To learn more about
setting preferred networks in Veeam Backup & Replication, see the Specifying Preferred Networks
section in the Veeam Backup & Replication User Guide.
• Veeam Plug-in does not save information about failed network connections. If backup or restore
operations fail, Veeam Plug-in tries to connect to the following network from the preferred
networks list to finish the started operations. Regardless of the first unsuccessful connection,
Veeam Plug-in will try to perform the next backup operations first on the failed network.
• Veeam Plug-in network preferences take priority over Veeam Backup & Replication network
preferences. Only if the preferred networks for Veeam Plug-in data traffic are not available for any
reason, Veeam Plug-in will try to connect to the Veeam Backup & Replication preferred networks.
To specify networks for data transfer, you must create a list of preferred networks. When Veeam Plug-in needs
to transfer data, it uses networks from this list. If a connection over any of the preferred networks cannot be
established for any reason, Veeam Plug-in will automatically fail over to the following network from the
preferred networks list.
For more information on creating and managing the list of preferred networks that specific Veeam Plug -ins will
use, see the following sections:
• Veeam Agents
This approach is helpful if Veeam Plug-ins are installed on the protected computer, and you do not want to
uninstall all products and product components individually.
TIP
• To learn about Veeam Agents, see Veeam Agent Management Guide.
• For details on Veeam Installer Service, Veeam Deployer Service and Veeam Transport Service, see
Veeam Plug-in Management Infrastructure.
• [For Microsoft Windows and Linux computers] Veeam Installer Service, Veeam Deployer Service and
Veeam Transport Service are not removed from the computer with Veeam Plug -in if the computer is added
to the Veeam backup infrastructure as a managed server. To learn more, see the Virtualization Servers and
Hosts section in the Veeam Backup & Replication User Guide.
• [For Linux computers] Veeam Deployer Service is not removed if Veeam Backup & Replication connects to
the protected computer with single-use credentials.
• If automatic installation of Veeam Plug-in is enabled in the protection group settings, after you remove
Veeam Plug-in from a selected computer, Veeam Backup & Replication will install Veeam Plug -in on this
computer during the next rescan job session started by schedule. For details, see Creating Protection
Groups.
NOTE
[For Microsoft Windows and Linux computers] If automatic installation of Veeam Plug -in is not
enabled in the protection group settings, Veeam Backup & Replication will not install Veeam Plug-in
during the next rescan job session started by schedule but will install the Veeam Installer Service or
Veeam Deployer Service and Veeam Transport Service on the computer.
• Prerequisite components installed and used by Veeam Plug -in are not removed during the uninstall
process. To remove the remaining components, use the built-in tools directly on this computer (for
example, Microsoft Windows Control Panel on the Microsoft Windows computer).
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the necessary computer and click Uninstall Everything on the ribbon or right-
click the computer and select Uninstall everything.
When you remove a computer from a protection group, Veeam Backup & Replication removes records about the
computer from the Veeam backup console and configuration database but does not uninstall Veeam Plug -in
from the computer. You can remove Veeam Plug-in from the computer in advance, before you remove the
computer from the protection group. To learn more, see Uninstalling Plug-in.
Alternatively, you can remove a computer from a protection group, and then uninstall Veeam Plug -in from this
computer side. Keep in mind that in this case you will have to uninstall Veeam Plug -in using the built-in tools
directly on this computer (for example, Microsoft Windows Control Panel on the Microsoft Windows computer).
TIP
You can also remove entire protection groups from the Veeam Backup & Replication inventory. When you
remove a protection group, you can instruct Veeam Backup & Replication to uninstall Veeam Plug -ins from
all protected computers included in this protection group. To learn more, see Removing Protection Group.
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the necessary computer and click Remove from configuration on the ribbon or
right-click the computer and select Remove from configuration.
Backups created for computers that were removed from a protection group remain intact in the backup location.
You can delete this backup data manually later if needed.
You cannot remove a computer from the protection group if this computer is a failover cluster node.
• For a protection group that contains individual computers, edit the protection group and remove the
necessary computer at the Computers step of the E d it Protection Group wizard. To learn more, see Editing
Protection Group Settings.
• For a protection group that contains Active Directory objects, edit the protection group and r emove the
necessary computer account at the Active Directory step of the E d it Protection Group wizard.
Alternatively, if the protection group contains a container, organization unit, group or entire domain, you
can exclude the computer at the E x clusions step of the wizard. To learn more, see Exclude Objects from
Protection Group.
• For a protection group that contains computers listed in a CSV file, remove the record about the necessary
computer from the CSV file. During subsequent rescan of the protection group, Veeam Backup &
Replication will remove the computer from the protection group.
• Repair a backup.
NOTE
Backups created by Veeam Plug-ins cannot be used as a source for file to tape or backup to tape jobs.
• To restore SAP HANA databases, Veeam Backup & Replication uses Veeam Explorer for SAP HANA. For
details, see the SAP HANA Data Restore section in the Veeam Explorers User Guide.
Alternatively, to perform restore from SAP HANA databases you can also use Veeam Explorer cmdlets. For
details, see the Veeam Explorer for SAP HANA section in the the Veeam Explorers PowerShell Reference.
• To restore Oracle databases, Veeam Backup & Replication uses Veeam Explorer for Oracle. For details, see
the Restoring Oracle RMAN Backups section in the Veeam Explorers User Guide.
Alternatively, to perform restore from Oracle databases you can also use Veeam Explorer cmdlets. For
details, see the Veeam Explorer for Oracle section in the the Veeam Explorers PowerShell Reference.
• Veeam Explorer for Oracle does not support restore of encrypted Oracle databases.
• [For Solaris OS and IBM AIX] Veeam Explorer for Oracle does not support restore of Oracle databases
deployed on Solaris OS and IBM AIX. You can restore Oracle databases on Solaris OS and IBM AIX only with
RMAN. For details, see Restore to Original Server.
• If you use huge pages, make sure that you allocated enough memory to the system where you want to
restore your database.
3. In the working area, select one of the following options depending on the backed -up database type:
o [For Oracle database backup] Click Ora cle Database on the ribbon or right-click the backup and select
Restore from Oracle RMAN backup.
You can create a recovery token on the Veeam Backup & Replication side. Then, on the computer side, with this
recovery token get access to the backup and recover the database that is stored in the backup. To learn more
about operations on the computer side, see one of the following sections depending on Veeam Plug -in you work
with:
Limitations
Before creating a recovery token, consider the following prerequisites and limitations:
• You can recover data only from the backup for that the recovery token is generated.
• Parallel restore from several backups is supported only by Veeam Plug -in for Oracle RMAN.
• During recovery, Veeam Backup & Replication does not stop backup operations.
• You cannot create a recovery token for a whole backup copy job, but you can create a recovery token for
individual objects included in a backup copy job.
3. In the working area, right-click the backup and select Create recovery token.
You can create a recovery token for several backups. To do this, press and hold [Ctr l], select multiple
backups, right-click one of the selected backups and select Create recovery token.
Alternatively, you can create and modify the existing recovery token using the PowerShell console. To
learn more, see the Working with Tokens section in the Veeam PowerShell Reference.
IMP ORTANT
This operation is intended only for a situation where the backup job metadata file has been lost as a result
of malware activity or unplanned actions. Re-creation of the backup job metadata file for other purposes is
not supported.
Before you repair the backup, you must perform the preparation steps. The way you prepare differs depending
on the Veeam Plug-in operation mode:
1. Remove the backup that you want to repair from the Veeam Backup & Replication console and
configuration database. To learn more, see Removing Backup from Configuration.
2. [For the scale-out backup repository] If your backup job is targeted at the scale-out backup repository,
Veeam Plug-in uses a backup server host name to create a folder where the backups will be stored. To
repair your backup, you must create a new backup file in a new folder. The way you create a new folder
depends on the scale-our backup repository configuration:
o If the scale-out backup repository does not contain deduplicating storage appliances, you must
manually delete folders that are already created to store backups in each extent. Keep in mind that
you must delete folders, but keep the backups you want to rep air. Alternatively, you can rename
these folders or move them to another location.
o If the scale-out backup repository contains deduplicating storage appliances, you must set a new host
name in the Veeam configuration XML file (/opt/veeam/VeeamPlugin/veeam_config.xml) to
be able to create a new folder with new backup files:
Keep in mind that you must add the parameter to the existing line in the veeam_config.xml file. If
you create a new line with the same name as the existing line, Veeam Plug-in will consider parameters
only in the first detected line. Other parameters will be ignored.
To learn the list of supported deduplicating storage appliances, see the Deduplicating Storage
Appliances section in the Veeam Backup & Replication User Guide.
3. Run an application backup job. Keep in mind that you must start the job from the computer with Veeam
Plug-in installed. For details, see Starting Backup Job on Veeam Plug-in Side.
After the successful run, Veeam Backup & Replication with create a new backup consisting of the .VAB,
.VASM and .VACM files.
After you completed the preparation steps, you are ready to repair the backup. To learn more, see Repairing
Backup.
• If you can use the Veeam Backup & Replication configuration database and the application backup policy
using which the backup was originally created, complete the following steps:
a. Remove the backup that you want to repair from the Veeam Backup & Replication configuration
database. To learn more, see Removing Backup from Configuration.
b. Run the backup policy. To learn more, see Starting Application Backup Policy.
In case of the successful run, Veeam Backup & Replication with create a new backup consisting of the
.VAB, .VASM and .VACM files.
c. Disable the application backup policy from step 2. To learn more, see Enabling and Disabling Backup
Policy.
After you completed the preparation steps, you are ready to repair the backup. To learn more, see
Repairing Backup.
• If you cannot use the Veeam Backup & Replication configuration database or the application backup policy
using which the backup was originally created, complete the following steps:
a. Make sure that the backup that you want to repair is removed from the configuration database of
Veeam Backup & Replication using which the backup was originally created. To learn more, see
Removing Backup from Configuration.
b. Make sure that the Veeam Plug-in using which the backup was originally created is switched to the
standalone operating mode. To learn more, see Resetting Veeam Plug-in Ownership.
c. Start managing Veeam Plug-in from step b with your Veeam Backup & Replication. To do this, you
need to add a computer with Veeam Plug-in to the protection group. To learn more, see Specify
Protection Scope.
d. Create and run a new application backup policy. To learn more, see Working with Application Policies.
In case of the successful run, Veeam Backup & Replication with create a new backup consisting of the
.VAB, .VASM and .VACM files.
e. In the backup repository folder, add .VAB and .VASM files of the backup that you want to repair to the
folder with backup files created at the step c.
After you completed the preparation steps, you are ready to repair the backup. To learn more, see
Repairing Backup.
1. In the Veeam Backup & Replication console, open the Home view.
4. Press and hold the [Ctrl] key, right-click the backup and select Rep air.
Veeam Backup & Replication will generate a new .VACM file using information from the .VASM files. Once
the backup job metadata file is re-created, you can use Veeam Plug-in to restore your data.
5. If you plan to restore databases using Veeam Explorer for SAP HANA or Veeam Explorer for Oracle and
your backups reside on a scale-out backup repository expanded with capacity tier, rescan the backup
repository. To learn more about rescan, see the Rescanning Backup Repositories section in the Veeam
Backup & Replication User Guide.
You can remove specific child backups — backups related to individual computers in the backup.
NOTE
You can use the Veeam Backup & Replication console to remove backups created by application backup
policies in the Veeam backup repository. Backups created on a local drive of a protected computer or in a
network shared folder are not displayed in the Veeam backup console.
3. To remove a backup of a specific computer in the application backup policy, expand the parent backup,
select the necessary computer, press and hold the [Ctrl] key, right-click the backup and select Remove
from configuration.
You can remove specific child backups — backups related to individual computers in the backup.
3. In the working area, select the backup and click Delete from > Disk on the ribbon or right-click the backup
and select Delete from disk.
Veeam Backup & Replication fully automates the backup copy process and lets you specify retention settings to
maintain the desired number of restore points, as well as full backups for archival purposes. Backup copy is a
job-driven process. When enabled, the backup copy job for Veeam Plug -in backups runs continuously. For more
details on how it works, see the Backup Copy section in the Veeam Backup & Replication User Guide.
To copy backups to a secondary location, you must configure a backup copy job. The backup copy job defines
how, where and when to copy backups. One job can be used to process backups of one or more machines.
You can configure a job and start it immediately or save the job to start it later.
Before creating a job, check prerequisites. Then use the New Backup Copy Job wizard to configure a backup
copy job.
• Backup infrastructure components that will take part in the backup copy process must be added to the
backup infrastructure and properly configured. These include source and target backup repositories
between which backups must be copied.
• The target backup repository must have enough free space to store copied backups. To receive alerts
about low space on the backup repository, configure global notification settings. For more information,
see Specifying Other Notification Settings.
• For Veeam Plug-in backup copy jobs, you cannot select the following repositories as a backup copy target:
1. In the Veeam Backup & Replication console, open the Home view.
2. In the Description field, enter a description for the job. The default description contains information about
the user who created the job, date and time when the job was created.
1. Click the Ad d button and select from which entity you want to process the machines.
o From jobs: You can select Veeam Plug-in backup jobs. When a backup copy job runs, Veeam Backup &
Replication will search for backup files created by selected jobs.
o From repositories: You can select repositories where Veeam Plug-in backups are stored. When a
backup copy job runs, Veeam Backup & Replication will search for backup files created by Veeam
Plug-in in selected repositories.
2. Use the Remove button if you want to remove selected jobs or repositories from processing.
3. If you have added jobs from a repository and want to exclude from processing some of the backup jobs on
the selected repository, click E x clusions and select the jobs that you want to exclude.
1. From the Ba ckup repository list, select a backup repository in the target site where copied backups must
be stored. When you select a target backup repository, Veeam Backup & Replication automatically checks
how much free space is available on it. Make sure that you have enough free space to store copi ed
backups.
IMP ORTANT
For Veeam Plug-in backup copy jobs, you cannot select the following repositories as a backup copy
target:
2. If the target repository contains a Veeam Plug-in or MongoDB backup that was excluded from the backup
copy job, and if you don't want to transfer duplicate data, you can use the mapping feature.
After you configure mapping, if some of backup files (.VAB) of the source backup are missing in the target
backup copy, these files are uploaded to the target backup copy.
NOTE
b. Point the backup copy job to the backup in the target backup repository. Backups in the target backup
repository can be easily identified by backup job names. To facilitate search, you can use the search
field at the bottom of the window.
IMP ORTANT
• Used account must have access to Veeam backup repositories that you plan to use.
• Encryption must be disabled on the repository.
Otherwise, the repositories will not be listed as available. To learn how to configure access
permissions and encryption settings on repositories, see Access Permissions in the Veeam Backup &
Replication User Guide.
• Storage settings
• Notification settings
Storage Settings
At the Storage tab, define compression and deduplication settings.
By default, Veeam Backup & Replication performs deduplication before storing copied data on the target backup
repository. Deduplication provides a smaller size of the resulting backup file but may reduce the job
performance.
1. You can disable data deduplication. To do this, clear the E na ble inline data deduplication check box.
2. From the Compression level list, choose a compression level to be used: Auto, None, Dedupe-friendly,
Op timal, High or E x treme. The recommended level of compression for backup copy jobs is Auto. In this
case, Veeam Backup & Replication uses compression settings of the copied backup files. For more
information, see Compression and Deduplication.
If the backup copy is not created within the specified time period, the backup copy job will finish with the
Warning status. The countdown starts from the moment when the required backup is finished and ready to be
copied.
Notification Settings
At the Notifications tab, to specify notification settings for the backup copy job:
3. Select the Send SNMP notifications for this job check box if you want to receive SNMP traps when the job
completes successfully. SNMP traps will be sent if you specify global SNMP settings in Veeam Backup &
Replication and configure software on recipient's machine to receive SNMP traps. For more information,
see Specifying SNMP Settings.
4. Select the Send email notifications to the following recipients check box if you want to receive
notifications by email in case of job failure or success. In the field below, specify a recipient email address.
You can enter several addresses separated by a semicolon.
5. Veeam Backup & Replication sends a consolidated email notification once for the specified backup copy
interval. Even if the synchronization process is started several times within the interval, for example, due
to job retries, only one email notification will be sent.
6. Email notifications will be sent if you configure global email notification settings in Veeam Backup &
Replication. For more information, see Configuring Global Email Notification Settings.
8. You can choose to use global notification settings or specify custom notification settings.
o To receive a typical notification for the job, select Use global notification settings. In this case, Veeam
Backup & Replication will apply to the job global email notification settings specified for the backup
server. For more information, see Configuring Global Email Notification Settings.
o To configure a custom notification for a job, select Use custom notification settings specified below.
You can specify the following notification settings:
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName%, %JobResult%, %VmCount% (number of
machines in the job) and %Issues% (number of machines in the job that have been processed
with the W a rning or Fa iled status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive email
notification if data processing within the backup copy interval completes successfully, fails or
completes with a warning.
3. Use the E na ble and Disable options to mark the selected area as allowed or prohibited for the backup copy
job.
2. Select the E na ble the job when I click Finish check box if you want to start the job right after you finish
working with the wizard.
In addition to overall rescan job statistics, the statistics window provides information on each protected
computer processed within the rescan job session. To view the processing progress for a specific computer,
select it in the list on the left.
You can also view statistics for any performed rescan job session. To view rescan job statistics, do one of the
following:
• Open the Inventory view. In the inventory pane, select the necessary protection group and click Sta tistics
on the ribbon or right-click the protection group and select Sta tistics.
• Open the History view. In the inventory pane, select the Sy stem node. In the working area, select the
necessary rescan job session and click Sta tistics on the ribbon or right-click the rescan job session and
select Sta tistics.
2. In the inventory pane, select the necessary protection group and click Rep ort on the ribbon or right-click
the protection group and select Rep ort.
• Cumulative session statistics: details of the session performance, including the number of protected
computers in the protection group and the number of newly discovered computers.
• Detailed statistics for every protected computer processed within the session: DNS name, IP address and
operating system of the protected computer, list of warnings and errors (if any).
TIP
You can also set up Veeam Backup & Replication to send reports automatically by email. To learn more, see
Enabling Email Reporting.
After the application backup policy session statistics becomes available in Veeam Backup & Replication, this
statistics appears in the policy statistics window. The job session statistics becomes available in Veeam Backup &
Replication on real-time basis.
TIP
In addition to backup policy statistics, Veeam Backup & Replication displays individual backup session
statistics for each computer in the backup policy. You can view these statistics in the La st 24 Hours node of
the Home view and in the History view of the Veeam backup console.
o To get statistics for database data backup, double-click the necessary application backup policy.
Alternatively, you can select the necessary application backup policy and click Sta tistics > Instance
b a ckup on the ribbon or right-click the backup policy and select Sta tistics > Instance backup.
o To get statistics for database logs backup, select the necessary application backup policy and click
Sta tistics > Da tabase logs backup on the ribbon or right-click the backup policy and select Sta tistics >
Da tabase logs backup.
o To get report for database data backup, click Rep ort > Instance backup on the ribbon or right-click the
backup policy and select Rep ort > Instance backup.
o To get report for database logs backup, click Rep ort > Da tabase logs backup on the ribbon or right-
click the backup policy and select Rep ort > Da tabase logs backup.
• Cumulative session statistics: details on the number of protected databases specified in the backup policy
settings, the number of databases to which settings of the backup policy are applied, and the number of
disconnected databases, details of the session performance, amount of read, processed and transferred
data.
• Detailed statistics for every protected database processed within the session: processing duration details,
backup data size, amount of read and transferred data, list of warnings and errors (if any).
TIP
You can also set up Veeam Backup & Replication to send reports automatically by email. To learn more, see
Enabling Email Reporting.
In addition, you can enable and configure custom notification settings for a specific protection group or
application backup policy. This may be useful if you want to change subject, notification rules or list of
recipients for some reports.
You can specify custom notification settings for a specific protection group. To learn more, see Advanced
Settings.
Database administrators can use Veeam Backup & Replication to create volume-level backups of MongoDB data.
Compared to image-level backups, MongoDB Backup offers more flexible scenarios for database backup. In
particular, MongoDB Backup users can restore individual MongoDB instances and collections, as well as
configure independent backup schedules for full and incremental backups.
With the configured application backup policy, you can perform full and incremental backups of MongoDB data.
Use MongoDB Backup to back up databases in the following cases:
You must use the Veeam Backup & Replication console for the following tasks:
• Discover computers with MongoDB data and deploy Veeam components on them. For details, see
Computer Discovery and Veeam Components Deployment.
• Configure an application backup policy that contains instructions for Veeam components on how to create
MongoDB backups. For details, see Application Backup Policies.
• Perform and manage the MongoDB backup operations. For details, see MongoDB Backup.
• In case of malware activity or unplanned actions, restore MongoDB items from the backups stored in
Veeam backup repositories. You can restore entire instances or certain collections from a MongoDB
backup. Veeam Backup & Replication supports restoring instances and collections to the original or
another location. For details, see Data Restore.
TIP
If you want to protect the whole server where your databases are located, you can use the image -level
backup functionality of Veeam Backup & Replication or Veeam Agent for Linux. In case of image-level
backup, application-aware processing of MongoDB data is not available.
In This Section
• Solution Architecture
• Data Backup
• Data Restore
• Veeam Transport Service is a service responsible for connection between Veeam Backup & Replication and
Veeam components running on the computer with MongoDB.
• Veeam Mongo Agent is a component that collects information about database hierarchy from the
computer, communicates with mongo daemon for backup operations.
• Veeam Agent for Linux is a component that backs up volumes with MongoDB data and sends the backup
to the target repository.
o Veeam Agent for Linux Service is a service responsible for managing all tasks and resources in Veeam
Agent. The veeamservice component is registered as a daemon in the Linux OS upon the product
installation. The service is started automatically when you start the OS and runs in the ba ckground.
o Veeam Agent for Linux Job Manager is a process started by Veeam Agent for Linux Service for every
backup policy session.
o Veeam Agent that communicates with the Veeam Agent for Linux Service and Veeam Agent for Linux
Job Manager . Veeam Agent is started by Veeam Agent for Linux Job Manager to perform data transfer
operations of any kind: copy data from the backed-up volume to the backup location during backup,
from the backup location to the target volume during restore, perform data compression, and so on.
o Veeam Agent for Linux Driver is a Veeam driver (Linux kernel module) used to create volume
snapshots in the Linux OS and keep track of changed data blocks.
o To store its configuration data, Veeam Agent uses the SQLite database engine. SQLite requires only
few files to install and takes little resources to run on a Linux OS.
To deploy Veeam components, Veeam Backup & Replication needs to discover MongoDB replica sets whose data
you want to back up. To enable discovery, you must organize your MongoDB replica sets into one or more
protection groups. Protection group settings define what computers Veeam Backup & Replication will discover
and how the discovery process will run. To learn more, see Protection Group for MongoDB.
For automated discovery of protected computers, Veeam Backup & Replication uses the rescan job that runs on
the backup server. To learn more, see Rescan Job.
In This Section
• Protection Group for MongoDB
• Rescan Job
To start managing computers with MongoDB using Veeam Backup & Replication, you need to create a protection
group for MongoDB in the inventory and specify computers that you want to protect in the protection group
settings. You can create one or more protection groups depending on the size and complexity of your
infrastructure. Protection groups appear under the P hy sical Infrastructure node in the Inventory view of the
Veeam Backup & Replication console.
• The protection group for MongoDB is designed to back up MongoDB replica sets. Other protection groups
cannot create a volume-level backup of MongoDB data.
• You must add nodes of the same MongoDB replica set to the same protection group.
Veeam Backup & Replication connects to discovered computers using an administrative account or a certificate
specified in the protection group settings. To learn more, see Creating Protection Group for MongoDB.
After you create a protection group, Veeam Backup & Replication starts the rescan job to connect to computers
added to the protection group and perform the required operations on these computers. To learn more, see
Rescan Job.
The rescan job itself is not displayed in the Veeam Backup & Replication console. However, you can start and
stop rescan job sessions manually for a specific protection group, replica set or individual computer in the
inventory. This may be helpful, for example, if new computers appeared in your infrastructure, and you want to
discover these computers without waiting for the next scheduled rescan job session start. For details, see
Rescanning Protection Group and Rescanning Protected Computer.
You can view statistics for currently running and already performed rescan job sessions. For details, see Viewing
Rescan Job Statistics.
1. Obtains settings specified for the protection group from the configuration database. The settings include a
list of MongoDB replica sets and computers to scan, accounts to connect to replica sets, and so on.
2. Connects to each computer in a replica set that was added to the backup scope during the protection
group configuration. Veeam Backup & Replication can connect to the added computers using a certificate -
based authentication or using an SSH connection and administrator credentials depending on the
protection group configuration. After the successful connection, Veeam Backup & Replication collects
information about the MongoDB daemon process ( mongod ). To learn about mongod , see MongoDB
documentation.
o If a computer included in a replica set is not added to the backup scope by the user, Veeam Backup &
Replication does not scan it.
o To connect to a Linux computer using SSH, this Linux computer must be added to the list of trusted
hosts. For details, see Configuring Security Settings.
3. Deploys Veeam components on each newly discovered Linux computer that is added to the backup scope
and has mongod detected.
IMP ORTANT
If the number of nodes in a replica set changes, you must update the protection group configuration
and rescan the protection group. Otherwise, Veeam Backup & Replication does not detect changes of
a replica set. For details, see Editing Protection Group Settings and Rescanning Protection Group.
As a part of component deployment process, Veeam Backup & Replication performs the following
operations:
a. Deploys Veeam Installer Service on each newly discovered computer with the mongod detected.
b. Veeam Installer Service running on the computer collects information about the computer and sends
it to Veeam Backup & Replication. The collected data includes details on the computer (platform, host
name, guest OS, IP address, BIOS UUID) and Veeam Agent for Linux (product presence on the
computer and version).
d. Veeam Installer Service deploys Veeam components on the target computer. For example: Veeam
Mongo Agent and Veeam Agent for Linux. For more information on Veeam components required to
back up MongoDB data, see Solution Architecture.
e. Veeam Installer Service retrieves the TLS certificate with a public key from the backup server and
saves the TLS certificate with a public key in the Veeam Agent configuration database on the target
computer. Veeam Backup & Replication will use this certificate to connect to Veeam Agent.
f. Veeam Backup & Replication collects information about mongod on the computer. Veeam Backup &
Replication will use this information for an application backup policy to select the node that will be a
backup source. To learn more, see Backup Source Selection.
4. Connects to each MongoDB replica set using MongoDB Wire Protocol and salted challenge response
authentication mechanism (SCRAM) with or without transport layer security (TLS) d epending on the
protection group configuration. During this step, Veeam Backup & Replication updates information about
nodes in a replica sets that we added to the backup scope. Veeam Backup & Replication will use this
information for an application backup policy to select the node that will be a backup source. For details
about the collected information, see Backup Source Selection.
For the application backup policy, all policy management tasks are performed on the Veeam Backup &
Replication server side: Veeam Backup & Replication starts the policy according to the defined schedule,
allocates backup infrastructure resources, and so on. Veeam components running on a protected computer are
controlled by Veeam Backup & Replication and perform data backup operations only. These operations include
creating a volume snapshot, reading the backed-up data and transferring backed-up data to the target location.
For more information, see How Application Backup Policy Works.
To configure an application backup policy, you must launch the New MongoDB Backup Policy wizard. Keep in
mind that this is the only supported policy type for MongoDB backups, as Veeam Backup & Replication provides
settings specific for MongoDB within this policy type. For more information, see Creating Application Backup
Policy.
1. When you create an application backup policy in Veeam Backup & Replication, Veeam Backup &
Replication saves the backup policy settings in its database.
2. When a new backup policy session starts, Veeam Backup & Replication collects updated information about
MongoDB nodes. During this step, Veeam Backup & Replication selects the backup source. For details, see
Backup Source Selection.
3. Veeam Backup & Replication starts the Veeam Backup Manager process on the backup server. Veeam
Backup Manager reads policy settings from the configuration database and creates a list of backup tasks
to process.
4. Veeam Backup Manager connects to the Veeam Backup Service. The Veeam Backup Service includes a
resource scheduling component that manages all tasks and resources in the backup infrastructure. The
resource scheduler checks what backup infrastructure resources are available, and assigns backup
repository to process the policy tasks.
5. Veeam Backup Manager connects to Veeam Transport Service on the backup repository. The Veeam
Transport Service starts Veeam Data Mover. A new instance of Veeam Data Mover is started for every
policy task.
6. Veeam Backup Manager establishes a connection with Veeam Agent for Linux that runs on the protected
computer and Veeam Data Mover that runs on the backup repository, and sets a number of rules for data
transfer, such as network traffic throttling rules, and so on.
7. Veeam Agent for Linux that runs on the protected computer and Veeam Data Mover that runs on the
backup repository establish a connection with each other for data transfer.
8. Veeam Backup & Replication connects to protected computers, establishes a connection with Veeam
Mongo Agent running on protected computers and collects MongoDB metadata.
To reduce the amount of data transferred and improve the performance of backups, Veeam Agent for
Linux scans the computer disks, detects a MongoDB data directory (for example, /var/lib/mongodb ) and
includes only a disk with this directory into the backup scope.
While transporting backed-up data, Veeam Agent for Linux running on a protected computer performs
additional processing. It filters out zero data blocks, blocks of swap files and blocks of excluded files and
folders. Veeam Agent for Linux compresses backed -up data and transports it to the target Veeam Data
Mover.
11. Veeam Backup & Replication stores backed-up data to the backup file in the backup repository.
On the target computer, Veeam Backup & Replication and Veeam Mongo Agent collect information about
MongoDB in the following way:
1. Veeam Backup & Replication connects to each replica set node that was added to the backup scope during
the protection group configuration.
2. Veeam Backup & Replication collects the following node details: topology, health, version. If necessary,
Veeam Backup & Replication also updates mongod and configuration database on the nodes.
3. Veeam Backup & Replication selects a node that will be a backup source. By default, Veeam Backup &
Replication selects the node automatically in the following way:
o If there is a previous backup in a backup chain and the previously selected node is healthy, Veeam
Backup & Replication uses this node as a backup source again.
If the previously selected node is primary, Veeam Backup & Replication will display a warning and
continue to run the job.
iv. From the nodes that are not excluded, Veeam Backup & Replication selects a secondary node
with a call back delay below 30 seconds.
v. If the node is not selected during the previous steps and you allowed Veeam Backup &
Replication to back up from primary nodes, primary nodes are selected.
vi. If several nodes are selected, Veeam Backup & Replication select nodes with the lowest priority
from the set.
vii. If several nodes are still selected, Veeam Backup & Replication removes voting nodes. If all
selected nodes are voting, Veeam Backup & Replication does not remove any nodes.
viii. If several nodes are still selected, Veeam Backup & Replication sorts nodes in the
ascending order by MemberId and selects the first node in the list.
This step does not consider any performance details of a node. It allows Veeam Backup &
Replication to select the node in any configuration.
According to the described logic, Veeam Backup & Replication selects a backup source for each replica set
included in a backup scope.
NOTE
The user can alter the default way Veeam Mongo Agent selects the backup source. For example, the user
can configure Veeam Mongo Agent to use the primary node as a backup source. For more information, see
Specify Backup Preferences.
After the backup source is selected, Veeam Backup & Replication continues the backup operation. For details,
Application Backup Policies.
For each backup operation, Veeam Backup & Replication automatically creates and stores database backup files.
For the backup chain, Veeam Backup & Replication also creates a separate metadata file. The metadata file helps
Veeam Backup & Replication to store and manage backup data while ensuring that the data is protected,
accessible, and can be quickly restored when needed. All backup files created for backup policies reside in a
dedicated folder in the backup repository. For details, see Backup Files.
To store backups, you can add and configure backup repositories to your Veeam Backup & Replication
infrastructure. For details on supported backup repositories, see Veeam Backup Repositories.
Backup Types
Veeam Backup & Replication using the Veeam Agent for Linux functionality creates consistent backups of
MongoDB data. Every backup job session produces a new backup file in the target location. Backup files make
up a backup chain. The backup chain can contain files of two types: full backups and incremental backups.
• During the first backup job session, Veeam Backup & Replication performs full backup. It copies all data
that you have chosen to back up (entire volumes) and stores the resulting full back up file (.VBK) in the
target location. The full backup takes significant time to complete and produces a large backup file: you
have to copy the whole amount of data.
• During subsequent backup job sessions, Veeam Backup & Replication performs incremental backups. It
copies only new or changed data relative to the last backup job session and saves this data as an
incremental backup file (.VIB) in the target location. Incremental backups typically take less time than full
backup: you have to copy only changes, not the whole amount of data.
For details about backup files that Veeam Backup & Replication creates, see Backup Files.
After several backup cycles, you have a chain of backup files in the target location: the first full backup file and
subsequent incremental backup files. Every backup file contains a restore point for backed -up data. A restore
point is a "snapshot" of your data at a specific point in time. You can use restore points to roll back your data to
the necessary state.
To recover data to a specific restore point, you need a chain of backup files: a full backup file plus a set of
incremental backup files following this full backup file. If some file from the backup chain is missing, you will
not be able to roll back to the necessary state. For this reason, we recommend that you do not delete separate
backup files manually.
Backup Files
For every application backup policy for MongoDB, Veeam Backup & Replication creates and stores database
backup files, and a separate metadata file for each backup chain. The backup files provide a consistent and
integrated way for Veeam Backup & Replication to store and manage backup data, while ensuring that the data
is protected, accessible and can be quickly restored when needed.
All backup files created by the backup policy reside in a dedicated folder in the backup repository.
Backup Files
Veeam Backup & Replication stores MongoDB backup files in the following formats:
Veeam Backup & Replication creates a full backup file for each replica set in a backup scope.
Veeam Backup & Replication creates an incremental backup file for each replica set in a backup scope.
• .VBM — backup metadata file. It contains information about the computer on which the backup was
created, every restore point in the backup chain, how restore points are linked to each other and so on.
The backup metadata file is required for restore operations.
Veeam Backup & Replication creates a backup metadata file for a backup chain. The backup metadata file
is updated with every backup policy session.
• Windows Server
• Linux Server
• NFS Share
• Infinidat InfiniGuard
If you plan to use HPE StoreOnce as a backup repository for MongoDB backups, the total number of stored
files (data and metadata) must not exceed 3,000,000 per Catalyst store. If necessary, multiple Catalyst
stores may be created on the same StoreOnce system.
• Quantum DXi
• ExaGrid
Make sure the repository is configured as described in the ExaGrid section in the Veeam Backup &
Replication User Guide.
• Hardened Repository
If you plan to use the scale-out backup repository, consider the following:
o Make sure that the scale-out backup repository contains repositories supported by Veeam Backup &
Replication.
o If you plan to store MongoDB backups on scale-out backup repositories, Veeam Backup & Replication
can store MongoDB backup files only in the performance tier. The capacity tier and the archive tier are
not supported for MongoDB backups.
Restore operations are performed on the Veeam Backup & Replication side. For all mentioned restore
operations, Veeam Backup & Replication uses the functionality of Veeam Explorer for MongoDB. For details, see
Restoring with Veeam Explorer for MongoDB.
In This Section
• System Requirements
• Ports
• Licensing
Sp ecification Requirement
Mong oDB MongoDB Backup supports Enterprise Edition of the following MongoDB
versions 5.0, 6.0, 7.0, 8.0.
Notes:
• A computer with MongoDB must be able to establish a direct IP connection to the Veeam Backup &
Replication server. Thus, a computer with MongoDB cannot work with the Veeam Backup & Replication
server that is located behind the NAT gateway.
• Domain names of the computer with MongoDB deployment, Veeam Backup & Replication server and other
servers in the Veeam backup infrastructure must be resolvable into IPv4 or IPv6 addresses.
Connecting to the The account specified in the protection group configuration settings to connect to
MongoDB replica set, the MongoDB replica set must meet the following requirements:
discovering MongoDB
• The account must be able to authenticate against MongoDB admin database.
nodes
• The account must have the the following roles:
o ClusterMonitor role to collect information about replica sets.
o Backup role to perform backup operations.
o HostManager role to lock nodes during backup operations.
Restoring MongoDB To restore MongoDB data using Veeam Explorer for MongoDB, consider the required
data permissions in the Permissions section of Veeam Explorers User Guide.
In addition to general port requirements applicable to a backup server, the following network ports must be
opened to enable proper communication between Veeam Backup & Replication components.
Veeam Backup & MongoDB TCP 27017 Default port used for
Replication server replica set communication between Veeam
Backup & Replication and
MongoDB.
Computer with Linux server TCP 2500 to 3300 Default range of ports used as data
MongoDB performing the transmission channels. For every
role of a backup TCP connection that a job uses,
repository one port from this range is
assigned.
This guide provides information only on specifics of Veeam licenses for MongoDB Backup. For terminology and
general information about Veeam Licensing, see Veeam Licensing Policy.
Licensed Objects
All nodes of a MongoDB replica set are assumed protected if the replica set has been processed by an
application backup policy in the last 31 days.
If you use any instance-based (Veeam Universal Licensing) license in Veeam Backup & Replication, you do not
need to install any additional licenses. Each node of the replica set consumes one instance unit from the license.
Servers processed by backup copy jobs are not regarded as protected machines, these types of jobs provide an
additional protection level for machines that are already protected with application backup policies.
A computer protected on both application-level and image-level will consume a license only once. For example,
you create application-level backups of the MongoDB replica set with MongoDB Backup. You also create image -
level backups of Linux servers included as nodes in the replica set with Veeam Agent for Linux. In this case , only
one license per server will be consumed.
NOTE
[For Perpetual per-socket licenses] If you are using a legacy perpetual per-socket license, a license is
required for each hypervisor CPU socket occupied by protected servers.
A socket is consumed from the license only if the hypervisor where protected servers reside is added to the
Veeam Backup & Replication infrastructure. If the hypervisor is not added to the Veeam Backup &
Replication infrastructure, an instance unit will be consumed from the license. To learn how to add a
hypervisor to the Veeam Backup & Replication infrastructure, see the Virtualization Servers and Hosts
section in the Veeam Backup & Replication User Guide.
Functionality of MongoDB Backup is supported only for the Enterprise Plus edition of Veeam Backup &
Replication.
1. Create a protection group for MongoDB. For more information, see Creating Protection Group for
MongoDB.
2. Create an application backup policy to define what data you want to back up and configure backup
settings. For more information, see Creating Application Backup Policy.
3. Run the backup job to create a database backup and store it in the backup repository. To learn more, see
Starting and Stopping Application Backup Policy.
4. In case of a disaster, you can restore data from a backup with Veeam Explorer for MongoDB. For more
information, see Restoring with Veeam Explorer for MongoDB.
• To establish a secure connection between parties, Veeam Backup & Replication uses the default self -
signed TLS certificate.
• Veeam Backup & Replication allows all computers that run a Linux OS to establish a connection to the
backup server using the SSH fingerprint.
Keep in mind that default security settings are only for testing and evaluation purposes. To prevent potential
security issues, you can change security settings. For example, you can use a custom TLS certificate and
verification of Linux host SSH fingerprints.
3. In the Certificate section, check information about the currently used certificate. By default, Veeam
Backup & Replication uses a self-signed TLS certificate generated during the Veeam Backup & Replication
installation process. If you want to use a custom certificate, click Install and specify a new certificate. To
learn more, see Managing TLS Certificates.
4. In the Linux hosts authentication section, specify how Veeam Backup & Replication will add Linux -based
protected computers to the list of trusted hosts. You can select one of the following options:
o Ad d all discovered hosts to the list automatically — with this option enabled, Veeam Backup &
Replication allows all discovered computers that run a Linux OS to connect to the backup server. This
scenario is recommended for demo environments only.
o Ad d unknown hosts to the list manually (more secure) — with this option enabled, only the following
Linux-based computers can connect to the backup server:
▪ Protected computers that have already established a connection to the backup server and have
their fingerprints stored in the Veeam Backup & Replication d atabase. Veeam Backup &
Replication displays the number of such computers in the Trusted hosts field. You can export
the list of trusted Linux computers to a known_hosts file. To do this, click E x port and specify a
path to the folder to save the file.
▪ Protected computers specified in the known_hosts file imported to Veeam Backup & Replication.
To import a known_hosts file, click Imp ort and specify a path to the folder where the file resides.
▪ Protected computers added to the list of trusted hosts in the Veeam Backup & Replication
console. To learn more, see Adding Computers to Trusted Hosts List.
The computers that are not in the list of trusted hosts cannot connect to the Veeam backup server and
download Veeam components during discovery.
5. Click OK.
To learn more about other security settings available on the Security tab, see the Configuring Security
Settings section in the Veeam Backup & Replication User Guide.
• You can choose to keep the default self-signed TLS certificate generated by Veeam Backup & Replication.
• You can use Veeam Backup & Replication to generate a new self-signed TLS certificate. To learn more, see
Generating Self-Signed Certificates.
• You can select an existing TLS certificate from the certificates store. To learn more, see Importing
Certificates from Certificate Store.
• You can import a TLS certificate from a file in the PFX format. To learn more, see Importing Certificates
from PFX Files.
NOTE
If you plan to use a certificate issued by your own Certificate Authority (CA), make sure that the certificate
meets the requirements. To learn more, see Using Certificate Signed by Internal CA.
To generate TLS certificates, Veeam Backup & Replication employs the RSA Full cryptographic se rvice provider
by Microsoft Windows installed on the Veeam backup server. The created TLS certificate is saved to the Shared
certificate store. The following types of users can access the generated TLS certificate:
If you use a self-signed TLS certificate generated by Veeam Backup & Replication, you do not need to take any
additional actions to deploy the TLS certificate on a protected computer. When Veeam Backup & Replication
discovers a protected computer, a matching TLS certificate with a public key is installed on the protected
computer automatically. During discovery, Veeam Installer Service deployed on the protected computer
retrieves the TLS certificate with a public key from the backup server and installs a TLS certificate with a public
key on the protected computer.
NOTE
When you generate a self-signed TLS certificate with Veeam Backup & Replication, you cannot include
several aliases to the certificate and specify a custom value in the Subject field. The Subject field value is
taken from the Veeam Backup & Replication license installed on the Veeam backup server.
5. At the Generate Certificate step of the wizard, specify a friendly name for the created self-signed TLS
certificate.
6. At the Summary step of the wizard, review the certificate properties. Use the Cop y to clipboard link to
copy and save information about the generated TLS certificate. You will be able to use the copied
information to verify the TLS certificate with the certificate thumbprint.
5. At the P ick Certificate step of the wizard, select a TLS certificate that you want to use. You can select only
certificates that contain both a public key and a private key. Certificates without private keys are not
displayed in the list.
• Your organization uses a TLS certificate signed by a CA and you have a copy of this certificate in a file of
PFX format.
• You have generated a self-signed TLS certificate in the PFX format with a third-party tool and you want to
import it to Veeam Backup & Replication.
IMP ORTANT
The TLS certificate must pass validation on the Veeam backup server. In the opposite case, you will not be
able to import the TLS certificate.
4. At the Certificate Type step of the wizard, choose Imp ort certificate from a file.
5. At the Imp ort Certificate step of the wizard, specify a path to the PXF file.
7. At the Summary step of the wizard, review the certificate properties. Use the Cop y to clipboard link to
copy and save information about the TLS certificate. You can use the copied information on a protected
computer to verify the TLS certificate with the certificate thumbprint.
If you want to use a certificate signed by your internal Certification Authority (CA), make sure that the following
requirements are met:
• Veeam product on the protected computer and Veeam Backup & Replication must trust the CA. That is,
the Certification Authority certificate must be added to the Trusted Root Certification Authority store on
the Veeam backup server and computers with Veeam products.
• Certificate Revocation List (CRL) must be accessible from the Veeam backup server and computers with
Veeam products.
• [For Linux-based computers] OpenSSL version 1.0 or later must be installed on the computer with Veeam
products.
1. The certificate subject must be equal to the fully qualified domain name of the Veeam backup server. For
example: vbrserver.tech.local .
2. The following key usage extensions must be enabled in the certificate to sign and deploy child certifica tes
for computers with Veeam Plug-ins:
o Digital Signature
o Certificate Signing
If you use Windows Server Certification Authority, it is recommended that you issue a Veeam Backup &
Replication certificate based on the built-in "Subordinate Certification Authority" template or templates
similar to it.
If you use Windows Server Certification Authority, to do this, enable the Do not allow subject to issue
certificates to other CAs option in the certificate template.
a. At the Request Certificates step of the Certificate Enrollment wizard, select a check box next to the
necessary certificate template and click P roperties.
After you specify the signed certificate in Veeam Backup & Replication, during the next application backup
policy session Veeam products will receive child certificates from the Veeam backup server.
2. In the inventory pane, expand the P hy sical Infrastructure node and click Untrusted.
3. In the working area, Veeam Backup & Replication will display discovered computers that you can add to
the list of trusted hosts. Check SSH fingerprints of the computers and add them to the list of trusted hosts
in one of the following ways:
o To add all computers at once to the list of trusted hosts, select the Untrusted node in the inventory
pane and click Trust All on the ribbon or right-click the Untrusted node and select Trust a ll.
1. On the Veeam Backup & Replication side, start a Veeam PowerShell session. For more information, see the
Starting Veeam PowerShell Sessions in the Veeam PowerShell Reference.
3. Upload the obtained files on the computer that you want to protect.
4. On the computer side, navigate to the directory where you have saved the files and install Veeam
Deployer Service using a package manager.
6. On the Veeam Backup & Replication side, create a protection group with the following parameters:
a. When launching the New P rotection Group wizard, select a protection group for MongoDB. For
details, see Launch New Protection Group Wizard.
b. At the Comp uters step of the wizard, specify a computer and select the Connect using certificate-
b a sed authentication method to connect to the computer. For details, see Specify Computers.
After you create the protection group, Veeam Backup & Replication will rescan the protection group. During the
rescan operation, Veeam Backup & Replication will replace the Veeam Deployer Service temporary certificate,
connect to the Veeam Deployer Service and install Veeam Agent. To learn more, see Rescan Job.
If you want to use a certificate-based authentication to connect to the protected computers, before configuring
a protection group, you must install Veeam components on the computer. For details, see Deploying Veeam
Components for Certificate-Based Authentication.
To use MongoDB Backup, you must create a protection group dedicated for MongoDB. For details, see Creating
Protection Group for MongoDB.
After you create a protection group, you can perform a certain set of operations with this protection groups. For
details, see Managing Protection Group for MongoDB.
1. The protection group for MongoDB is designed to back up MongoDB replica sets. Other protection groups
cannot create a volume-level backup of MongoDB data.
2. You must add nodes of a MongoDB replica set to the same protection group. Otherwise, Veeam Backup &
Replication will not have complete information about the MongoDB replica set.
3. After a node of a MongoDB replica set is added to the backup scope of the protection group, Veeam
Backup & Replication automatically deploys Veeam Agent and other Veeam components on this node. If
you do not want to install Veeam components on a particular node, do not include it in the backup scope.
For details, see Specify Computers.
4. When Veeam Backup & Replication performs discovery of protected computers, Veeam Backup &
Replication connects to every computer added to the protection group. If you instruct Veeam Backup &
Replication to perform discovery immediately after the protection group is created, make sure that all
computers added to the protection group are powered on and may be accessed over the network.
Otherwise, Veeam Backup & Replication will be unable to connect to a protected computer and perform
the required operations on this computer.
5. Do not add a computer to a protection group by specifying a dynamic IP address assigned to this
computer. If such computer receives another IP address from a DHCP server, Veeam Backup & Replication
will be unable to discover the computer and perform on this computer operations defined in the
protection group settings.
6. We recommend that you include each object you want to protect in one protection group only. For
example, if you have added a MongoDB replica set to a protection g roup, it is not recommended to add a
computer that is included in this replica set to another protection group. Adding computers to multiple
protection groups with different computer discovery and deployment settings will result in additional load
on the backup server.
7. You cannot back up the same computer with an application backup policy for MongoDB and a Veeam
Agent backup policy. If you plan to create an application-level backup of MongoDB data on the computer
and this computer is already protected with a Veeam Agent backup policy, delete this computer from the
backup scope of the Veeam Agent backup policy. For details, see Editing Veeam Agent Backup Policy
Settings section in Veeam Agent Management Guide.
Alternatively, if you need to create an image-level backup of a node in a MongoDB replica set, you can
exclude this node from the backup scope of the protection group for MongoDB. In this case it can be
backed-up with Veeam Agent backup policy. For details on how to exclude the node from the backup
scope, see Specify Computers.
8. Veeam Backup & Replication does not support usage of a Linux account for which system settings modif y
shell output results to connect to a computer included in the protection group. For example, this includes
Linux accounts with the modified PS1 shell variable.
9. If you plan to use the TLS protocol to connect to the MongoDB replica set, make sure that the Certificate
Authority file of the replica set is added to the Trusted Root Certification Authorities certificate store of
the backup server. To learn more about TLS support by MongoDB, see MongoDB documentation.
2. Right-click the P hy sical Infrastructure node in the inventory pane and select Ad d protection group.
2. In the Description field, provide a description for future reference. The default description contains
information about the user who added the protection group, date and time when the protection group
was created.
1. In the DNS name or IP address field, enter a full DNS name, NetBIOS name or IP address of the MongoDB
replica set that you want to add to the protection group.
2. In the P ort field, specify a port number over which Veeam Backup & Replication must communicate with
the MongoDB replica set. By default, Veeam Backup & Replication uses port 27017.
3. From the Account list, select a user account that has administrative permissions on the replica set that you
want to add to the protection group. Veeam Backup & Replication will use this account to connect to the
MongoDB replica set and collect information about replica set configuration. For more information, see
Rescan Job.
If you have not set up credentials beforehand, click the Manage accounts link or click Add on the right to
add credentials. For more information, see the Credentials Manager section in the Veeam Backup &
Replication User Guide.
4. Repeat steps 1–3 for every MongoDB replica set that you want to add to the protection group.
5. Veeam Backup & Replication uses SCRAM authentication mechanism to connect to the MongoDB replica
set. If you also want to use a secure TLS protocol, select the Use TLS check box.
Keep in mind, to use the TLS protocol, the Certificate Authority file of the target replica set must be added
to the Trusted Root Certification Authorities certificate store of the backup server. Otherwise, backup
operations will fail.
1. In the Computers list, select check boxes near computers that you want to include in the backup scope.
2. To configure settings of the computer included in the backup scope, select the computer and click E d it.
TIP
If you want to apply the same settings to several computers, press and hold the [Ctrl] key, select
computers and click E d it.
3. In the E d it Computer window, if necessary, edit the name of the computer that you want to include in the
backup scope using the E nd point field.
o Connect using admin credentials. In this case, from the Credentials list, select a user account that has
administrative permissions on the computer that you want to add to the protection group. Veeam
Backup & Replication will use this account to connect to the protected computer (nodes of a replica
set) and perform the necessary operations on the computer: upload and deploy Veeam components,
and so on.
If you have not set up credentials beforehand, click the Ma nage accounts link or click Ad d on the right
to add credentials.
Veeam Backup & Replication allows you to add the following types of credentials:
▪ Stored credentials. Select stored credentials if you want Veeam Backup & Replication to use the
specified user name and password for each connection to computer.
▪ Single-use credentials. Select single-use credentials if you do not want Veeam Backup &
Replication to store credentials in the configuration database. With this option selected, Veeam
Backup & Replication will use the specified user name and password only for the first connection
to the computer. After that, Veeam Backup & Replication will use Veeam Transport Service to
communicate with the computer.
Keep in mind that the username must be specified in the down-level logon name format. For example,
DOMAIN\UserName or HOSTNAME\UserName. Use the full domain or hostname name. Do not replace
them with a dot.
For more information, see the Credentials Manager section in the Veeam Backup & Replication User
Guide.
o Connect using certificate-based authentication. Select this option, if you chose to pre-install Veeam
Deployer Service on the Linux computer you want to include in the backup scope. In this case, Veeam
Backup & Replication will communicate with the Linux computer using a certificate. Veeam Backup &
Replication will install Transport Service that will be used to perform the necessary operations on the
computer: upload and install Veeam components. To learn more, see Deploying Plug-in for
Certificate-Based Authentication.
Veeam Backup & Replication regularly connects to protected computers according to the schedule defined in
the protection group settings. At this step of the wizard, you can define the discovery schedule and specify
operations that Veeam Backup & Replication must perform on discovered computers. You can also select which
server in your backup infrastructure should act as a distribution server for Veeam components.
1. In the Discovery section, define schedule for automatic computer discovery within the scope of the
protection group:
o To run the rescan job at specific time daily, on defined week days or with specific periodicity, select
Da ily at this time. Use the fields on the right to configure the necessary schedule.
o To run the rescan job repeatedly throughout a day with a specific time interval, select P eriodically
every. In the field on the right, select the necessary time unit: Hours or Minutes. Click Schedule and
use the time table to define the permitted time window for the rescan job. In the Sta rt time within an
hour field, specify the exact time when the job must start.
o To run the rescan job continuously, select the P eriodically every option and choose Continuously from
the list on the right. A new rescan job session will start as soon as the previous rescan job session
finishes.
NOTE
You cannot create a protection group without defining schedule for automatic discovery. However,
you can disable automatic discovery for a specific protection group, if needed. To learn more, see
Disabling Protection Group.
2. In the Dep loyment section, select the object that will be responsible for the Veeam components
distribution, select a Microsoft Windows server that you plan to use as a distribution server. Veeam Backup
& Replication will use the distribution server to upload Veeam components setup files to computers added
to the protection group. By default, Veeam Backup & Replication assigns the distribution server role to the
backup server.
3. If you want to instruct Veeam Backup & Replication to automatically upgrade Veeam components on
discovered computers when a new version of the product appears on the Veeam Backup & Replication
server, in the Dep loyment section, make sure that the Auto-update backup agents check box is selected.
NOTE
Email reports with protection group statistics will be sent only if you configure global email notification
settings in Veeam Backup & Replication. For more information, see the Configuring Global Email
Notification Settings section in the Veeam Backup & Replication User Guide.
After you enable notification settings for the protection group, in addition to reports sent according to the
global email notification settings, Veeam Backup & Replication will send reports with the protection group
statistics to email addresses specified in the protection group settings. This allows you to fine-tune email
notifications in Veeam Backup & Replication: while one or more backup administrators receive email
notifications according to the global settings, other backup administrators can receive reports for specific
protection groups only.
If you do not enable global email notification settings in Veeam Backup & Replication, notification settings
for the protection group will not be sent even if you enable them in the protection group settings.
2. On the Notifications tab, select the Send e-mail notifications to the following recipients check box and
specify a recipient email address. You can enter several addresses separated by a semicolon.
3. In the Send daily summary at field, specify the time when Veeam Backup & Replication must send the daily
email report for the protection group.
4. You can choose to use global notification settings or specify custom notification settings.
To receive a typical notification for the protection group, select Use global notification settings. In this
case, Veeam Backup & Replication will apply to the protection group global email notification settings
specified for the backup server.
To configure a custom notification for the protection group, select Use custom notification settings
sp ecified below. You can specify the following notification settings:
o In the Sub ject field, specify a notification subject. You can use the following variables in the subject:
▪ %FoundCount% — number of new computers discovered within the last 24-hour period.
▪ %SeenCount% — number of computers in the protection group that were online for the last 24
hours. A computer is considered to be online if Veeam Backup & Replication successfully
connected to this computer during the last rescan session.
o You can select one of the following notification triggers for the protection group rescan job:
2. To start the rescan job after you close the wizard, make sure that the Run d iscovery when I click Finish
option is selected.
If you want to perform computer discovery later, you can clear the Run d iscovery when I click Finish check
box. In this case, the rescan job will start automatically upon the defined schedule. You can also start the
rescan job manually at any time you need. To learn more, see Rescanning Protection Group.
After the rescan process completes and Veeam components are successfully deployed on target computers, you
can create the application backup policy. To learn more, see Creating Application Backup Policy.
2. In the inventory pane, expand the P hy sical Infrastructure node and do one of the following:
o In the inventory pane, select the protection group that you want to add to the backup policy and click
Ad d to Backup > MongoDB > name of the policy on the ribbon.
o In the inventory pane, right-click the protection group that you want to add to the backup policy and
select Ad d to backup job > Mong oDB > name of the policy .
You can also add a protection group to a new application backup job. To learn more, see Creating
Protection Group for MongoDB.
You can add the whole protection group to the Veeam Agent backup job:
2. In the inventory pane, in the P hy sical Infrastructure node, select a protection group you want to add to a
Veeam Agent backup job and do one of the following:
o In the inventory pane, select the protection group that you want to add to the job and click Ad d to
Ba ckup > Linux > name of the job on the ribbon.
o In the working area, right-click the computer that you want to add to the job and select Ad d to
b a ckup job > Linux > name of the job .
• You can add a protection group to a Veeam Agent backup job configured for computers of the same
platform. For example, you can add a protection group for MongoDB only to a Veeam Agent backup
job for Linux computers.
• You can also add a specific protection group to a new backup job. To learn more, see the Working
with Veeam Agent Backup Jobs and Policies section in Veeam Agent Management Guide.
3. In the inventory pane, select the protection group that you want to edit and click E d it Group on the ribbon
or right-click the protection group that you want to edit and select P roperties.
During the rescan operation, Veeam Backup & Replication starts the rescan job in the same way as in case of
scheduled discovery. The rescan job connects to computers included in the protection group and performs on
these computers operations specified in the protection group settings. For example, you can use the rescan
operation to collect information about configuration updates of the MongoDB replica set added to the backup
scope of the protection group.
3. In the inventory pane, select the necessary protection group and click Location > <Location name> on the
ribbon or right-click the necessary protection group and select Loca tion > <Location name> .
When you disable a protection group, Veeam Backup & Replication does not start the rescan job upon schedule
defined in the protection group settings. However, you can start the discovery process manually. To learn more,
see Rescanning Protection Group.
Disabling a protection group does not affect processing of computers included in this protection group. If a
protected computer is added to an application policy, and the application policy is scheduled to start at t he time
when the protection group is in the disabled state, the policy will run as usual.
NOTE
You cannot disable default protection groups that act as filters used to display protected computers of a
specific type: Unmanaged , Out of Date, Offline and Untrusted .
3. In the inventory pane, select the necessary protection group and click Disable on the ribbon or right-click
the necessary protection group and select Disable.
3. In the inventory pane, select the necessary protection group and click E nable on the ribbon or right-click
the necessary protection group and select E na ble.
Backups created for computers that were included in the removed protection group remain intact in the backup
location. You can delete this backup data manually later if needed.
NOTE
• You cannot remove a protection group if the entire protection group, a replica set or a computer
included in this protection group is added to an application backup policy, Veeam Agent backup job
or policy.
• You cannot remove default protection groups, such as Unmanaged , Out of Date and so on.
4. If you want to remove Veeam components deployed on protected computers, in the displayed window,
select the Uninstall Everything check box. With this option selected, Veeam Backup & Replication will
remove the protection group from the configuration database and, in addition, uninstall Veeam Plug -ins
and Veeam Agents and other Veeam components from every computer in the deleted protection group.
TIP
If you want to remove a certain node from the protection group, you must exclude it from the backup
scope in the protection group settings. For details, see Specify Computers.
After you create a MongoDB backup job, you can back up MongoDB items with this backup job. For details, see
Starting and Stopping Application Backup Policy. Veeam Backup & Replication backs up MongoDB items
according to backup settings that you specify. You can specify what nodes to back up and processing settings
for the backed-up data.
Apart from running, you can perform a certain set of other operations with an application backup job. For
details, see Managing Application Backup Policy.
• The Veeam Backup & Replication license must have a sufficient number of instances to process computers
that you plan to add to the application backup policy.
• The backup repository where you plan to store backup files must have enough free space.
• A protection groups for MongoDB that you want to add to the policy must be configured in advance. For
details, see Creating Protection Group for MongoDB.
2. In the Description field, provide a description for future reference. The default description contains
information about the user who created the policy, date and time when the policy was created.
3. Select the Hig h priority check box if you want the resource scheduler of Veeam Backup & Replication to
prioritize this job higher than other similar jobs and to allocate resources to it in the first place. To learn
more, see the Job Priorities section in the Veeam Backup & Replication User Guide.
You can add to the backup scope one or more objects added to inventory in the Veeam Backup & Replication
console.
Application policies with protection groups are dynamic in their nature. If Veeam Backup & Replication discovers
a new computer in a protection group after the policy is created, Veeam Backup & Replication will automatically
update the policy settings to include the added computer.
1. Click Ad d .
2. In the Select Objects window, select one or more objects in the list and click OK. You can select any of the
following objects:
o Protection group
You can press and hold [Ctrl] to select multiple objects at once.
NOTE
In the Select Objects window, Veeam Backup & Replication shows only those computers on which Veeam
Backup & Replication have detected MongoDB data during the rescan job. To learn more, see Rescan Job.
To quickly find the necessary object, use the search field at the bottom of the Select Objects window.
1. From the Ba ckup repository list, select a backup repository where you want to store backups. You can
select from the Veeam backup repositories configured on the backup server that will manage the created
backup policy.
2. You can map the policy to a specific backup stored on the ba ckup repository. Backup job mapping can be
helpful if you have moved backup files to a new backup repository and want to point the policy to existing
backups on this new backup repository. You can also use backup job mapping if the configuration database
got corrupted and you need to reconfigure backup jobs.
To map the job to a backup, click the Ma p backup link and select the backup on the backup repository.
Backups can be easily identified by policy names. To find the backup, you can also use the search fi eld at
the bottom of the window.
NOTE
You can map an application backup policy for MongoDB only to backups created with another
application backup policy for MongoDB. You cannot map your policy to backups created with other
types of backup policies or jobs.
3. In the Retention Policy field, specify the number of days for which you want to store backup files in the
target location. By default, Veeam Backup & Replication keeps backup files for 7 days. After this period is
over, Veeam Backup & Replication will remove the earliest restore points from the backup chain.
4. To use the GFS (Grandfather-Father-Son) retention scheme, select the Keep certain full backups longer
for archival purposes check box and click Configure. In the Configure GFS window, specify how weekly,
monthly and yearly full backups must be retained. To learn more, see the Long-Term Retention Policy
(GFS) section in the Veeam Backup & Replication User Guide.
5. Click Ad vanced to specify advanced settings for the backup policy. To learn more, see Specify Advanced
Backup Settings.
• Backup settings
• Maintenance settings
• Storage settings
• Notification settings
TIP
After you specify necessary settings for the application backup policy, you can save them as default
settings. To do this, click Sa ve as Default at the bottom left corner of the Ad vanced Settings window.
When you create a new backup policy, Veeam Backup & Replication will automatically apply the default
settings to the new policy.
Backup Settings
To specify settings for a backup chain created with the backup policy:
2. To define the schedule for synthetic full backups, select the Create synthetic full backups periodically on
check box and click Configure . In the Schedule Settings window, define the schedule:
o To create a synthetic full backup once a month on specific da ys, select Monthly on. Use the fields on
the right to configure the necessary schedule.
o To create a synthetic full backup once a week on specific week days, select W eekly. Use the fields on
the right to select the necessary week days.
3. To define the schedule for active full backups, select the Create active full backups periodically on check
box and click Configure. In the Schedule Settings window, define the schedule:
o To create a active full backup once a month on specific days, select Monthly on. Use the fields on the
right to configure the necessary schedule.
Maintenance Settings
To specify maintenance settings for a backup chain created with the backup policy:
2. To periodically perform a health check for the latest restore point in the backup chain, in the Storage-level
corruption guard section, select the P erform backup files health check check box and click Configure to
specify the time schedule for the health check.
An automatic health check can help you avoid a situation where a restore point gets corrupted, making all
dependent restore points corrupted, too. If during the health check Veeam Backup & Replication detects
corrupted data blocks in the latest restore point in the backup chain (or the restore point before the latest
one if the latest restore point is incomplete), it will start the health check retry and transport valid data
blocks from the protected computer to the Veeam backup repository. The transported data blocks are
stored to a new backup file or the latest backup file in the backup chain, depending on the data corruption
scenario. For more information, see the Health Check for Backup Files section in the Veeam Backup &
Replication User Guide.
3. To periodically compact a full backup, select the Defragment and compact full backup file check box and
click Configure to specify the schedule for the compact operation.
The Defragment and compact full backup file option is not available for backup policies targeted at
an object storage repository. For object storage, Veeam Backup & Replication offers a special health
check mechanism as default. To run the health check for object storage, enable the P erform backup
files health check option in the Storage-level corruption guard section and specify the health check
schedule.
For more information, see the Health Check for Object Storage Repositories section in the Veeam
Backup & Replication User Guide.
During the compact operation, Veeam Backup & Replication creates a new empty file and copies to it data
blocks from the full backup file. As a result, the full backup file gets defragmented and the speed of
reading and writing from/to the backup file increases.
If the full backup file contains data blocks for deleted items (protection groups or individual computers),
Veeam Backup & Replication removes these data blocks. For more information, see the Compact of Full
Backup File section in the Veeam Backup & Replication User Guide.
NOTE
• If you want to periodically compact a full backup, you must make sure that you have enough
free space in the target location. For the compact operation, the amount of free space must
be equal to or more that the size of the full backup file.
• In contrast to the compact operation for a VM backup, during compact of a full MongoDB
backup file, Veeam Backup & Replication does not perform the data take out operation. If the
full backup file contains data for a machine that has only one restore point and this restore
point is older than 7 days, Veeam Backup & Replication will not extract data for this machine
to a separate full backup file.
2. From the Compression level list, select a compression level for the backup: None, Dedupe-friendly ,
Optimal, High or Extreme. To learn more about the compression levels, see the Data Compression section
in the Veeam Backup & Replication User Guide.
3. From the Storage optimization list, select what type of backup target you plan to use. Depending on the
chosen storage type, Veeam Backup & Replication will use data blocks of different size to optimize the
size of backup files and policy performance: 4 MB, 1 MB, 512 KB or 256 KB.
4. To encrypt the content of backup files, select the E na ble backup file encryption check box. In the
P a ssword field, select a password that you want to use for encryption. If you have not created the
password beforehand, click Ad d or use the Ma nage passwords link to specify a new password. For more
information, see the Password Manager section in the Veeam Backup & Replication User Guide.
If the backup server is not connected to Veeam Backup Enterprise Manager, you will not be able to restore
data from encrypted backups in case you lose the password. Veeam Backup & Replication will display a
warning about it: Loss protection disabled . For more information, see the Decrypting Data Without
Password section in the Veeam Backup & Replication User Guide.
You can also select a Key Management System (KMS) server in the P a ssword field. The KMS server must
be added to Veeam Backup & Replication in advance. If you choose to use KMS keys for backup file
encryption at this step of the wizard, Veeam Backup & Replication immediately starts communication with
the KMS server to retrieve the encryption keys. To learn more, see the Key Management System Keys
section in the Veeam Backup & Replication User Guide.
• If you plan to encrypt the content of backup files, consider the limitations listed in the Storage
Settings subsection.
• You must encrypt the backup policy if you want to back up data to the storage in Veeam Data
Cloud Vault.
• Encryption is not retroactive. If you enable encryption for an existing backup policy, Veeam Backup &
Replication will encrypt the backup chain starting from the next restore point created with this policy.
• If you enable encryption for an existing backup policy, during the next backup policy session Veeam
Backup & Replication will create a full backup file. The created full backup file and subsequent
incremental backup files in the backup chain will be encrypted with the specified password.
To learn more about data encryption in Veeam Backup & Replication, see the Data Encryption section in the
Veeam Backup & Replication User Guide.
Notification Settings
To specify notification settings for the backup policy:
SNMP traps will be sent if you specify global SNMP settings in Veeam Backup & Replication and configure
software on recipient's machine to receive SNMP traps. For more information, see the Specifying SNMP
Settings section in the Veeam Backup & Replication User Guide.
3. Select the Send e-mail notifications to the following recipients check box if you want to receive
notifications about the job completion status by email. In the field below, specify a recipient email
address. You can enter several addresses separated by a semicolon.
Email notifications will be sent if you configure global email notification settings in Veeam Backup &
Replication. For more information, see the Configuring Global Email Notification Settings section in Veeam
Backup & Replication User Guide.
4. You can choose to use global notification settings or specify custom notification settings.
o To receive a typical notification for the backup policy, select Use g lobal notification settings. In this
case, Veeam Backup & Replication will apply to the backup policy global email notification settings
specified for the backup server. Veeam Backup & Replication will send the email report containing
backup policy statistics at 8:00 AM daily.
o To configure a custom notification for the backup policy, select Use custom notification settings
sp ecified below. You can specify the following notification settings:
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName%, %JobResult%, %ObjectCount% (number of
machines in the backup policy) and %Issues% (number of machines in the backup policy that
have been processed with the Warning or Failed status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive email
notification if the policy completes successfully, completes with a warning or fails.
iii. Select the Sup press notifications until the last retry check box to receive a notification about the
final job status. If you do not enable this option, Veeam Backup & Replication will send one
notification per every job retry.
2. Specify processing settings for the objects in the list. To learn more, see Processing settings.
In the list, Veeam Backup & Replication shows only those objects that you ad ded to the backup scope at the
Dep loyments step of the wizard. If you added a protection group, but need to specify settings for an individual
replica set in this protection group, you can add such object to the list. To learn more, see Adding Objects from
Backup Scope.
1. Click Ad d .
2. In the Select Objects window, select one or more replica sets in the list and click OK.
You can press and hold [Ctrl] to select multiple objects at once.
To quickly find the necessary replica set, use the search field at the bottom of the Select Objects window.
Processing Settings
To specify processing settings:
1. At the Ba ckup Preferences step of the wizard, select the object and click E d it.
3. If necessary, specify which nodes Veeam Backup & Replication must prefer as a backup source:
o Select Select the preferred node automatically if you want Veeam Backup & Replication to prefer
secondary nodes of a replica set that correspond to requirements described in Backup Source
Selection.
o Select Sp ecify the preferred node and select the node in the drop-down list if you want Veeam
Backup & Replication to prefer a certain node of a replica set. The drop -down list contains all
computers that you added to the backup scope at the Computers step of the New Protection Group
wizard.
If you specified the preferred node but this node becomes unhealthy or unreachable, you can instruct
Veeam Backup & Replication to switch to the automatic node selection. To do so, select the Fa il over
to a utomatic selection if the specified node becomes unavailable check box.
1. Select the Run the job automatically check box. If this check box is not selected, you will have to start the
backup policy manually to create backup.
o To run the policy at specific time daily, on defined week days or with specific periodicity, select Da ily
a t this time. Use the fields on the right to configure the necessary schedule.
o To run the policy once a month on specific days, select Monthly at this time. Use the fields on the
right to configure the necessary schedule.
o To run the policy repeatedly throughout a day with a specific time interval, select P eriodically every.
In the field on the right, select the necessary time unit: Hours or Minutes.
o To define the permitted time window for the policy, click Schedule and use the time table. In the Start
time within an hour field, specify the exact time when the policy must start.
▪ The defined interval always starts at 12:00 AM. For example, if you configure to run a policy
with a 4-hour interval, the policy will start at 12:00 AM, 4:00 AM, 8:00 AM, 12:00 PM, 4:00 PM
and so on.
▪ If you define permitted hours for the policy, after the denied interval is over, the policy will start
immediately and then run by the defined schedule.
For example, you have configured a policy to run with a 2-hour interval and defined permitted hours
from 9:00 AM to 5:00 PM. According to the rules above, the policy will first run at 9:00 AM, when
the denied period is over. After that, the policy will run at 10:00 AM, 12:00 PM, 2:00 PM and 4:00
PM.
o To chain jobs and policies, use the After this job field. In the common practice, jobs start one after
another: when item A finishes, item B starts and so on. If you want to create a chain of items, you
must define the time schedule for the first item in the chain. For the rest of the items in the chain,
select the After this job option and choose the preceding item from the list.
NOTE
The After this job option will automatically start a job if the first job in the chain is started
automatically by schedule. If you start the first job manually, Veeam Back up & Replication will
display a notification. You will be able to choose whether Veeam Backup & Replication must
start the chained job as well.
3. In the Automatic retry section, define whether Veeam Backup & Replication must attempt to run the
backup policy again if the policy fails for some reason. Enter the number of attempts to run the policy and
define time intervals between them.
4. In the Ba ckup window section, define the time interval within which the backup policy must complete. The
backup window prevents the policy from overlapping with production hours and ensures that the policy
does not impact performance of your server. To set up a backup window for the policy:
a. Select the Terminate job if it exceeds allowed backup window check box and click W ind ow.
NOTE
If you configure a backup policy, after you click Ap p ly at the Schedule step of the wizard, Veeam Backup &
Replication will immediately apply the backup policy to protected computers.
2. Select the Run the job when I click Finish check box if you want to enable the policy right after you finish
working with the wizard. After that, you can start the policy manually or wait for the scheduled start.
• Start and stop backup operations on computers added to the backup policy .
Veeam Backup & Replication does not check whether connection to computers is active at the time when the
command is sent. Keep in mind that the start or stop operation will be performed only on those computers that
received the command from the backup server.
To retry a policy:
When you start active full backup for a backup policy, Veeam Backup & Replication does not check whether
connection to computers is active at the time when the command is sent. Keep in mind that the active full
backup operation will be performed only on those computers that received the command from the backup
server.
NOTE
If you want to change a backup repository, you must disable a policy. To learn more, see Enabling and
Disabling Backup Policy. In this case during the next run the policy will produce a full backup.
3. In the working area, select the backup policy and click E d it on the ribbon or right-click the policy and
select E d it.
3. In the working area, select the application backup policy and click Disable on the ribbon or right-click the
policy and select Disable.
If you disabled a backup policy in the Veeam Backup & Replication console, this backup policy will not
start by schedule.
3. In the working area, select the backup policy and click Clone on the ribbon or right-click the backup policy
and select Clone.
3. In the working area, select the application backup policy and click Disable on the ribbon or right-click the
policy and select Disable.
4. Wait for Veeam Backup & Replication to disable the application backup policy, then select the backup
policy and click Delete on the ribbon or right-click the policy and select Delete.
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the inventory pane, select the replica set and click Rescan on the ribbon or right-click the replica set
and select Rescan.
2. In the inventory pane, expand the P hy sical Infrastructure node and do one of the following:
o In the inventory pane, select the replica set that you want to add to the backup policy and click Add to
Ba ckup > name of the policy on the ribbon.
o In the inventory pane, right-click the replica set that you want to add to the backup policy and select
Ad d to backup job > name of the policy .
NOTE
You can also add a replica set to a new application backup job. To learn more, see Creating Protection
Group for MongoDB.
• Replica set connection parameters (DNS name, NetBIOS name or IP address and port number)
• MongoDB version
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the inventory pane, select the replica and click Details on the ribbon or right-click the replica set and
select Details.
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the computer and click Rescan on the ribbon or right-click the computer and
select Rescan.
2. In the inventory pane, in the P hy sical Infrastructure node, select a protection group whose computers you
want to add to a Veeam Agent backup job and do one of the following:
o In the working area, select the computer that you want to add to the job and click Ad d to Backup >
name of the job on the ribbon.
o In the working area, right-click the computer that you want to add to the job and select Ad d to
b a ckup job > name of the job .
NOTE
• You can add a computer to a Veeam Agent backup job configured for computers of the same
platform. For example, you can add a Linux computer only to a Veeam Agent backup job for Linux
computers.
• You can also add a specific protected computer to a new backup job. To learn more, see the Working
with Veeam Agent Backup Jobs and Policies section in Veeam Agent Management Guide.
• Host name
• IP address
• Operating system
3. In the working area, select the computer and click Details on the ribbon or right-click the computer and
select Details.
Before you install Veeam Agent, check that the protected computer is powered on and able to be connected
over the network.
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the necessary computer and click Install Agent on the ribbon or right-click the
computer and select Ag ent > Install agent and select the plug-in you want to install.
• Automatically — You can use this method to upgrade all outdated Veeam Agents on computers in a
protection group. To enable automatic update, select the Auto-update backup agents option in the
protection group settings. For more information, see Specify Discovery and Deployment Options.
• Manually — You can upgrade Veeam Agent on an individual computer in a protection group. This method
may be required, for example, if you did not allow Veeam Backup & Replication to automaticall y upgrade
Veeam Agent on computers included in the protection group and want to test the upgrade process on a
selected computer first.
• The protected computer is powered on and able to be connected over the network.
We recommend that you do not stop running application policies and let them complete successfully.
Disable any periodic jobs temporarily to prevent them from starting during the upgrade.
TIP
During the protected computers discovery process, Veeam Backup & Replication checks the version of
Veeam Agent running on a protected computer and the version of Veeam Agent available on the
distribution server. If a newer version of Veeam Agent becomes available on the distribution server, and
automatic upgrade of Veeam Agent is disabled for a protection group, Veeam Backup & Replication puts a
computer to the Upgrade required state.
In addition, Veeam Backup & Replication includes computers that require upgrade of Veeam Agent in the
Out of Date protection group. You can upgrade Veeam Agent on all computers that require upgrade at
once. To learn more, see Upgrading Veeam Agents Automatically.
2. In the inventory pane, in the P hy sical Infrastructure node, select the Out of Date protection group and
click Up g rade Agents on the ribbon or right-click the Out of Date protection group and select Up g rade.
In some cases, upgrade to the new version of Veeam Plug -in may require computer reboot.
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the necessary computer and click Up grade agent on the ribbon or right-click
the computer and select Ag ent > Up grade agent.
In some cases, upgrade to the new version of Veeam Plug -in may require computer reboot.
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the necessary computer and click Uninstall agent on the ribbon or right-click
the computer and select Ag ent > Uninstall and select Veeam Agent you want to uninstall.
• If automatic installation of Veeam Agent is enabled in the protection group settings, after you
remove Veeam Agent from a selected computer, Veeam Backup & Replication will install Veeam
Agent on this computer during the next rescan job session started by schedule.
• Prerequisite components installed and used by MongoDB Backup are not removed during the
uninstall process. To remove the remaining components, use the built-in tools directly on this
computer.
• Veeam Agents
• Veeam Plug-ins
This approach is helpful if several products are installed on the protected computer, and you do not want to
uninstall the products individually.
TIP
• To learn about Veeam Agents, see Veeam Agent Management Guide.
• For details on Veeam Plug-ins, Veeam Installer Service, Veeam Deployer Service and Veeam
Transport Service, see Veeam Plug-in Management Infrastructure.
• Veeam Deployer Service and Veeam Transport Service are not removed from the computer with Veeam
Plug-in if the computer is added to the Veeam backup infrastructure as a managed server. To learn more,
see the Virtualization Servers and Hosts section in the Veeam Backup & Replication User Guide.
• Veeam Deployer Service is not removed if Veeam Backup & Replication connects to the protected
computer with single-use credentials.
• Prerequisite components installed and used by Veeam Products are not removed during the uninstall
process. To remove the remaining components, use the built-in tools directly on this computer.
To uninstall Veeam Agents, Veeam Plug-ins and other Veeam product components:
2. In the inventory pane, expand the P hy sical Infrastructure node and select the necessary protection group.
3. In the working area, select the necessary computer and click Uninstall Everything on the ribbon or right-
click the computer and select Uninstall everything.
To restore MongoDB data items, Veeam Backup & Replication uses Veeam Explorer for MongoDB. For details,
see the Restoring MongoDB Backups section in the Veeam Explorers User Guide.
Alternatively, to perform restore from the MongoDB backup, you can also use Veeam Explorer cmdlets. For
details, see the Veeam Explorer for MongoDB section in the the Veeam Explorers PowerShell Reference.
3. In the working area, click Mong oDB Items on the ribbon or right-click the backup and select Restore
Mong oDB items.
You can remove specific child backups — backups related to individual computers in the backup.
NOTE
You can use the Veeam Backup & Replication console to remove backups created by application backup
policies in the Veeam backup repository. Backups created on a local drive of a protected computer or in a
network shared folder are not displayed in the Veeam backup console.
3. To remove a backup of a specific computer in the application backup policy, expand the parent backup,
select the necessary computer, press and hold the [Ctrl] key, right-click the backup and select Remove
from configuration.
You can remove specific child backups — backups related to individual computers in the backup.
3. In the working area, select the backup and click Delete from > Disk on the ribbon or right-click the backup
and select Delete from disk.
To build a successful data protection and disaster recovery plan, it is recommended that you follow the 3-2-1
rule:
• 3: You must have at least three copies of your data: the original production data and two backups.
• 2: You must use at least two different types of media to store the copies of your data, for example, local
disk and cloud.
• 1: You must keep at least one backup off-site, for example, in the cloud or in a remote site.
Thus, you must have at least two backups and they must be in different locations. If a disaster takes out your
production data and local backup, you can still recover from your off-site backup.
To help you adopt the 3-2-1 rule, Veeam Backup & Replication offers backup copy capabilities. Backup copy
allows you to create several instances of the same backup data in different locations, whether on-site or off-
site. Backup copies have the same format as those created by backup jobs and you can recover your data from
them when you need it.
Backup copy is a job-driven process. Veeam Backup & Replication fully automates the backup copy process and
lets you specify retention settings to maintain the desired number of restore points, as well as full backups for
archival purposes.
Before creating a job, check prerequisites. Then use the New Backup Copy Job wizard to configure a backup
copy job.
• Backup infrastructure components that will take part in the backup copy process must be added to the
backup infrastructure and properly configured. These include source and target backup repositories
between which backups must be copied.
• The target backup repository must have enough free space to store copied backups. To receive alerts
about low space on the backup repository, configure global notification settings. For more information,
see Specifying Other Notification Settings.
• Veeam Cloud Connect repositories are not supported as a target for backup copies containing MongoDB
backups.
• If you do not have backups created with Veeam Plug -ins, on the Home tab, click Ba ckup Copy.
• If you have backups created with Veeam Plug-ins, on the Home tab, click Ba ckup Copy and click Ima ge-
level backup copy.
The default description contains information on a user who created the job, date and time when the job
was created.
3. Select a backup copy mode. For more information on copy modes and backup types supported in each
mode, see the Backup Copy Modes section in the Veeam Backup & Replication User Guide.
o Select Immediate copy to copy new restore points as soon as they appear.
1. Click Ad d .
2. Select a type of a source from which you want to copy restore points:
o From jobs. You will see existing backup jobs. Veeam Backup & Replication will copy restore points
created by the selected backup jobs.
[For the periodic copy mode] Note that if multiple jobs process one workload, Veeam Backup &
Replication copies only restore points created by the first job in the Ob jects to process list.
o From repositories. You will see all backup repositories in the backup infrastructure. Veeam Backup &
Replication will copy restore points stored on the selected backup repositories.
If you select repositories as sources, and target new jobs to the repositories in future, Veeam Backup
& Replication will update backup copy job settings automatically to include these jobs to be copied.
4. Click Ad d .
5. [For the immediate copy mode] If you have configured processing of transaction log backups in the source
backup jobs, and want to copy these log backups to the target repository, select the Include database
tra nsaction log backups check box.
NOTE
If you delete the source backup job after creating the backup copy job, backup files will become orphaned.
The orphaned backup files are displayed under the Ba ckups > Disk (Orphaned) node.
1. From the Ba ckup repository list, select a backup repository where copied backups must be stored.
IMP ORTANT
If you plan to create backup copy job for a backup created with MongoDB Backup, you cannot select
Veeam Cloud Connect repository as a backup copy target. Otherwise, the backup copy process for
MongoDB workloads will fail.
2. In the Retention Policy field, configure the short-term retention policy for restore points:
o If you want to keep the last <N> restore points, select restore points from the drop-down list and
specify the number of restore points.
o If you want to keep all restore points created during the last <N> days, select days from the drop-
down list and specify the number of days.
When the specified number is exceeded, the earliest restore point will be removed from the backup chain
or will be merged with the next closest restore point. For more information on how Veeam Backup &
Replication retains the desired number of restore points, see the Short-Term Retention Policy section in
the Veeam Backup & Replication User Guide.
NOTE
If you enable the GFS retention, the short-term retention policy will not be able to delete and merge
the GFS backup files. Thus, the backup copy chain will have more restore points than specified in the
short-term retention policy.
3. If you want to create weekly, monthly and yearly full backups, you can configure long -term retention
policy (GFS retention policy). GFS full backups will not be deleted or modified until the specified retention
period expires. For more information on the GFS retention policy and its limitations, see the Long-Term
Retention Policy (GFS) section in the Veeam Backup & Replication User Guide.
a. Select the Keep certain full backups longer for archival purposes check box.
b. Click Configure.
c. In the Configure GFS window, select the necessary GFS backup options. You can configure Veeam
Backup & Replication to create weekly, monthly and yearly restore points. For details on settings of
the GFS retention, see the Backup Copy GFS Cycles section in the Veeam Backup & Replication User
Guide.
NOTE
Before you implement the GFS retention policy, see the Limitations and Considerations section in the
Veeam Backup & Replication User Guide.
o Synthetic Full Method: With this method, during the GFS backup copy creation, Veeam Backup &
Replication does not copy data from the source backup repository but synthesizes full backups from
backup files that are already stored in the target backup repository. This approach helps to reduce
load on the network and production environment.
The synthetic full method is used by default. To use this method, leave the Rea d the entire restore
p oint from source instead of synthesizing it from increments option unselected.
o Active Full Method: With this method, Veeam Backup & Replication copies data for archive full
backups from the source backup repository. This method decreases load on the target repository but
increases load on the network and production environment.
To use this method, select the Rea d the entire restore point from source instead of synthesizing it
from increments option.
The backup copy job will use the backup as a seed. As a result, Veeam Backup & Replication will transfer less
data over network. For more information, see the Backup Copy Job Mapping section in the Veeam Backup &
Replication User Guide.
2. In the Select Backup window, select a backup that contains restore points of workloads that you want to
copy.
NOTE
If a backup that you plan to use as a seed is encrypted, you must enable encryption for the backup copy
job. The password that you use for the backup copy job can differ from the password used for the init ial
job.
• Maintenance Settings
• Storage settings
• Notification settings
• Scripts settings
TIP
After you specify advanced settings for the backup copy job, you can save them as default settings. For
this, click Sa ve as Default at the bottom left corner of the Ad vanced Settings window. When you create a
new backup copy job, Veeam Backup & Replication will automatically apply the default settings to the new
job.
Maintenance Settings
To specify settings for backup files stored in the target backup repository:
2. If you want to periodically perform a health check of the most recent restore point in the backup chain,
select the P erform backup files health check check box. To specify the schedule for the health check, click
Configure.
By default, the health check is scheduled to start at 5:00 on last Sunday of every month. For more
information on the health check, see the Health Check for Backup Files section in the Veeam Backup &
Replication User Guide.
3. Select the Remove deleted items data after check box and specify the retention policy settings for deleted
workloads.
By default, the deleted item retention period is 30 days. It is recommended that you set the retention
period to 3 days or more to prevent unwanted data loss. For more information on the retention policy and
its limitations, see the Deleted Items Retention section in the Veeam Backup & Replication User Guide.
4. To periodically compact a full backup, select the Defragment and compact full backup file check box. To
specify the schedule for the compacting operation, click Configure.
By default, the compact operation is disabled. For more information on compact of full backup files, see
the Compact of Full Backup File section in the Veeam Backup & Replication User Guide.
When enabling the Defragment and compact full backup file option, consider the following:
• The Defragment and compact full backup file option can be enabled only if GFS retention
policy is disabled.
• The target backup repository must have enough space to store a file of the full backup size.
During the compact process, Veeam Backup & Replication creates an auxiliary .VBK file that
exists in the backup repository until the end of the compact operation.
Storage Settings
To specify compression, deduplication and encryption settings for backup files stored in the target backup
repository, do the following:
o By default, Veeam Backup & Replication performs deduplication before storing copied data in the
target backup repository. To disable data deduplication, clear the E na ble inline data deduplication
check box.
For more information on deduplication, see the Deduplication section in the Veeam Backup &
Replication User Guide.
For more information on data compression levels, see the Data Compression section in the Veeam
Backup & Replication User Guide.
o To encrypt the backup file created by the backup copy job, select the E na ble backup file encryption
check box.
o From the P a ssword field, select a password that you want to use to encrypt the backup file. If you
have not created a password beforehand, click Ad d or use the Ma nage passwords link to specify a new
password. For more information, see Password Manager.
NOTE
• If you enable encryption for an existing backup copy job, Veeam Backup & Replication applies new
settings only starting from the next active full backup (created manually or by the GFS schedule).
The active full backup file and subsequent incremental backup files in the backup chain will be
encrypted with the specified password.
Note that if you disable the Rea d the entire restore point from source backup instead of synthesizing
it from increments option in the backup copy job, you will have synthetic full backups, not active full
backups. For details, see Define Backup Copy Target.
• Encryption is not retroactive. If you enable encryption for an existing job, Veeam Backup &
Replication does not encrypt the previous backup chain created with this job. If you want to start a
new chain so that the unencrypted previous chain can be separated from the encrypted new chain,
follow the scenario described in this Veeam KB article.
To mark a job with the Warning status when the RPO is exceeded, do the following:
3. Select the W hen new backup is not copied within check box.
4. In the fields on the right, specify the desired RPO in minutes, hours or days. If you specify days, RPO
monitor will consider calendar days instead of the 24 hours period.
5. If you have enabled copying of log backups, select the W hen new log backup is not copied within check
box.
6. In the fields on the right, specify the desired RPO in minutes, hours or days.
Notification Settings
To specify notification settings for the backup copy job:
3. Select the Send SNMP notifications for this job check box if you want to receive SNMP traps when the job
completes successfully. In the periodic copy mode, you will receive notifications when the entire backup
copy job finishes. In the immediate copy mode — when copying of each source backup job finishes.
SNMP traps will be sent if you specify global SNMP settings in Veeam Backup & Replication and configure
software on the recipient workload to receive SNMP traps. For more information, see the Specifying SNMP
Settings section in the Veeam Backup & Replication User Guide.
4. Select the Send email notifications to the following recipients check box if you want to receive
notifications by email in case of job failure or success. In the field under the check box, specify the
recipient email address. You can enter several addresses separated by a semicolon.
Veeam Backup & Replication sends notifications when copying of each source backup job finishes. For
example, if your backup copy job contains two source backup jobs, you will receive two emails. For more
information on how to configure global notification settings, see the Configuring Global Email Notification
Settings section in the Veeam Backup & Replication User Guide.
6. You can choose to use global notification settings or specify custom notification settings.
o To receive a typical notification for the job, select Use global notification settings. In this case, Veeam
Backup & Replication will apply to the job global email notification settings specified for the backup
server. For more information, see the Configuring Global Email Notification Settings section in the
Veeam Backup & Replication User Guide.
o To configure a custom notification for a job, select Use custom notification settings specified below.
You can specify the following notification settings:
i. In the Sub ject field, specify a notification subject. You can use the following variables in the
subject: %Time% (completion time), %JobName% (the backup copy job name and source
backup job name in the CopyJobName\SourceJobName format), %JobResult%,
%ObjectCount% (number of workloads in the job) and %Issues% (number of workloads in the
job that have been processed with the Warning or Failed status).
ii. Select the Notify on success, Notify on warning and Notify on error check boxes to receive
email notification if data processing completes successfully, completes with a warning or
fails.
7. [For the immediate copy mode] Select when you want to receive notifications, Immediately after each
cop ied backup option or Da ily as a summary.
Scripts Settings
To specify script settings for the backup copy job:
Then click Browse and select executable files from a local folder on the backup server. The scripts will be
executed on the backup server after the transformation processes are completed on the target repository
o To run the scripts after a specific number of backup copy sessions, select Run scripts every... backup
session option and specify the number of sessions.
o To run the scripts on specific days, select the Run scripts on selected days only option and click the
Da y s button to specify week days.
NOTE
If you select the Run scripts on the selected days only option, Veeam Backup & Replication
executes scripts only once on each selected day — when the job runs for the first time. During
subsequent job runs, scripts are not executed.
If you plan to copy backup files over WAN or slow connections, it is recommended that you configure source and
target WAN accelerators in the backup infrastructure and copy backups through these WAN accelerators. For
more information, see the WAN Acceleration section in the Veeam Backup & Replication User Guide.
1. At the Da ta Transfer step of the wizard, select the Through built-in W AN accelerators option.
2. From the Source WAN accelerator list, select a WAN accelerator configured in the source site.
3. From the Ta rget WAN accelerator list, select a WAN accelerator configured in the target site.
The source WAN accelerator requires a lot of CPU and RAM resources and does not process multiple
backup copy tasks in parallel. As an alternative, you can create one backup copy job for all workloads you
plan to process over one source WAN accelerator. The target WAN accelerator, however, can be assigned
to several backup copy jobs.
• [For WAN accelerators with the high bandwidth mode disabled] It is recommended that you pre -populate
the global cache on the target WAN accelerator before you start the backup copy job. Global cache
population helps reduce the amount of traffic transferred over WAN. For more information, see the
Manually Populating Global Cache section in the Veeam Backup & Replication User Guide.
• You cannot use WAN accelerators for backup copy jobs that copy backups of Amazon EC2 instances.
The way you can configure the schedule depends on the selected backup copy mode:
• Periodic
• Immediate
o Da ily at this time. You can specify the time and select the days option from the drop -down list on
which the backup copy job will run: E veryday, On weekdays or On these days. If you select the On
these days option, click Da ys to specify them.
o Monthly at this time. You can specify the time and select the day options from the drop -down lists on
which the backup copy job will run. Click Months to specify months on which the backup copy job will
run.
o P eriodically every. You can select the time options from the drop-down list or click Schedule to select
the desired time area. Use the P ermitted and the Denied options to mark the selected time segments.
Use the Sta rt time within an hour option to specify minutes.
o After this job. If you choose this option, select the job from the drop-down list after which the backup
copy job will start.
3. To configure the backup copy job automatic retries, select the Retry failed items processing check box and
specify the amount of retries and time intervals between them.
4. Select the Terminate job if it exceeds allowed backup window check box if you want the job to terminate
itself to prevent performance impact during production hours. Click W indow to select the desired backup
window time area. Use the P ermitted and Denied options to mark the selected time segments.
o Any time
2. If you selected the During the following time periods only option, specify the required backup window
option. Use the E na ble and Disable options to mark the selected time segments as allowed or prohibited
for the backup copy job.
2. Select the Run the job when I click Finish check box if you want to start the job right after you finish
working with the wizard.
In addition to overall rescan job statistics, the statistics window provides information on each protected
computer processed within the rescan job session. To view the processing progress for a specific computer,
select it in the list on the left.
You can also view statistics for any performed rescan job session. To view rescan job statistics, do one of the
following:
• Open the Inventory view. In the inventory pane, select the necessary protection group and click Sta tistics
on the ribbon or right-click the protection group and select Sta tistics.
• Open the History view. In the inventory pane, select the Sy stem node. In the working area, select the
necessary rescan job session and click Sta tistics on the ribbon or right-click the rescan job session and
select Sta tistics.
2. In the inventory pane, select the necessary protection group and click Rep ort on the ribbon or right-click
the protection group and select Rep ort.
• Cumulative session statistics: details of the session performance, including the number of protected
computers in the protection group and the number of newly discovered computers.
• Detailed statistics for every protected computer processed within the session: DNS name, IP address and
operating system of the protected computer, list of warnings and errors (if any).
TIP
You can also set up Veeam Backup & Replication to send reports automatically by email. To learn more, see
Enabling Email Reporting.
After the application backup policy session statistics becomes available in Veeam Backup & Replication, this
statistics appears in the policy statistics window. The policy session statistics becomes available in Veeam
Backup & Replication on real-time basis.
TIP
In addition to backup policy statistics, Veeam Backup & Replication displays individual backup session
statistics for each computer in the backup policy. You can view these statistics in the La st 24 Hours node of
the Home view and in the History view of the Veeam backup console.
3. In the working area, double-click the necessary application backup policy. Alternatively, you can select the
necessary application backup policy and click Sta tistics on the ribbon or right-click the backup policy and
select Sta tistics.
3. In the working area, select the necessary report, click Rep ort on the ribbon or right-click the backup policy
and select Rep ort.
• Cumulative session statistics: details on the number of protected replica sets specified in the backup
policy settings and the number of disconnected replica sets, details of the session performance, amount of
read, processed and transferred data.
• Detailed statistics for every protected replica sets processed within the session: processing duration
details, backup data size, amount of read and transferred data, list of warnings and errors (if any).
TIP
You can also set up Veeam Backup & Replication to send reports automatically by email. To learn more, see
Enabling Email Reporting.
In addition, you can enable and configure custom notification settings for a specific protection group or
application backup policy. This may be useful if you want to change subject, notification rules or list of
recipients for some reports.
You can specify custom notification settings for a specific protection group. For details, see Advanced Settings.
IMP ORTANT
It is recommended to create a full backup immediately after you restore a database. All subsequent log or
differential backups of the restored database will be based on this full backup. This action helps prevent
potential data loss.
• The backup policy that created the backup must be present in Veeam Backup & Replication.
• To restore to another location under another user account, the account must have the Restore operator or
Backup administrator role on the Veeam backup server.
• To restore to another location, you must perform the restore operation on the target server, where you
want to place the restored instance or collection.
To restore MongoDB data, Veeam Backup & Replication uses Veeam Explorer for MongoDB for restore
operations. To learn more about restore operations, see the following sections in Veeam Explorers User Guide:
3. Restoring Instance
In the storage settings, you can also set the GFS (Grandfather-Father-Son) retention scheme. This scheme
allows you to store MongoDB backups for long periods of time — for weeks, months and years. To learn more,
see the Long-Term Retention Policy (GFS) section in the Veeam Backup & Replication User Guide.
Also, you can manually delete backups from a backup repository using the Veeam Backup & Replication console.
For details, see Deleting Backups Manually Using Veeam Backup & Replication Console.
When you submit a support case, attach a file containing logs related to Veeam Backup & Replication and Veeam
Agent for Linux operations.
veeamconfig grablogs
Veeam Agent will collect logs, export them to an archive file with the name
veeam_logs_<date>_<time>.tar.gz, and save the archive to the current working directory.
For example: