Veeam Agent Configurator 2 2 Reference
Veeam Agent Configurator 2 2 Reference
Version 2.2
Reference
July, 2018
© 2018 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 intellectual 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:
Please read the End User Software License Agreement before using the accompanying software program(s).
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, please visit our Customer Center Portal at
www.veeam.com/support.html 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 offices location, please visit
www.veeam.com/contacts.html.
Online Support
If you have any questions about Veeam products, you can use the following resources:
This document describes the features included in the Veeam Agent Configurator. It also provides usage examples
and gives step-by-step instructions that will help you better understand how to install the Veeam Agent
Configurator and monitor your Veeam Backup infrastructure, services and jobs.
Intended Audience
The document is intended for backup administrators and other IT professionals who plan to deploy and use
Veeam Agent Configurator. This guide assumes that you have a good understanding of Veeam Backup &
Replication and VMware vSphere.
Revision 2 7/16/2018 Document is reviewed for for Veeam Agent Configurator version 2.2.
Revision 1 9/1/2016 Initial version of the document for Veeam Agent Configurator.
You can use Veeam Agent Configurator to perform the following activities:
Veeam Agent Configurator comes with Veeam Agent for Microsoft Windows. The
Veeam.Agent.Configurator.exe file is placed in the product folder on the computer protected with Veeam
Agent for Microsoft Windows, by default, C:\Program Files\Veeam\Endpoint Backup.
where:
Output XML files contain the current application settings and backup job configuration exported from
Veeam Agent for Microsoft Windows.
Input XML files contain application settings and backup job configuration that must be set up in Veeam
Agent for Microsoft Windows.
Application settings and backup job configuration data is always saved to a single XML file. By default, the file is
located in the C:\ProgramData\Veeam\Endpoint\!Configuration\ folder on the machine where Veeam
Agent for Microsoft Windows is installed. However, you can use a file stored in a custom location.
<?xml version="1.0"?>
<ExecutionResult ExitCode="0" Version="2.0.0.689">
<Data>
<ApplicationSettings LogoText="Veeam Agent" LastCheckForUpdates="04/12/2017 01:31:07"
ServiceProviderMode="False" LockDownMode="False"
DisableBackupOverMeteredConnection="True" ShowBackupDuration="False"
ThrottleBackupActivity="True" DisableControlPanelNotification="True"
DisableScheduledBackups="False" CheckUpdates="True" CryptId="00000000-0000-0000-0000-
000000000000" CryptType="10"/>
<JobInfo CryptId="00000000-0000-0000-0000-000000000000" CryptType="10">
<SourceInfo>
<EpDiskFilter BackupUserFolders="True" BackupSystemState="False" BackupMode="2">
<Drive FilterType="1">
<VolumeOrPartitionId MountPoint="C:\" Type="1"/>
<IncludeFolders>
<String value="C:\Users"/>
</IncludeFolders>
<ExcludeFolders/>
</Drive>
<IncludeMasks/>
<ExcludeMasks/>
</EpDiskFilter>
</SourceInfo>
<TargetInfo Type="1" RelativePath="VeeamBackup\" DriveName="C:\"/>
<StorageInfo BlockSize="3" CompressionLevel="5">
<Encryption Enabled="False"/>
</StorageInfo>
<RetentionInfo RestorePointsCount="14"/>
<CacheInfo Enabled="False"/>
<GuestInfo>
<Applications Enabled="True" ProcessTransactionLogs="True">
<Sql Mode="1">
<Credentials Password="" UserName=""/>
<Backup Enabled="False" ExpireDays="15" BackupMinutes="15" Expirable="True"/>
</Sql>
<Oracle Mode="0" AccountType="0" SizeGB="10" LifetimeHours="24">
<Credentials Password="" UserName=""/>
<Backup Enabled="False" ExpireDays="15" BackupMinutes="15" Expirable="True"/>
</Oracle>
<SharePoint>
<Credentials Password="" UserName=""/>
</SharePoint>
<Script Mode="0" PostThawPath="" PreFreezePath="">
<Credentials Password="" UserName=""/>
</Script>
</Applications>
<Indexing Type="3" Enabled="False">
<IncludedFolders/>
<ExcludedFolders>
If you need to specify one of these characters in property values, you must replace it with the appropriate string.
< <
> >
& "
' '
" "
If the command executes successfully, Veeam Agent Configurator reports exit code 0 (Success).
If the command fails to execute successfully, Veeam Agent Configurator reports a corresponding error
code and problem description.
Command execution can complete with the following statuses and alerts:
You target the backup job at a shared folder that requires user authentication.
You target the backup job at a Veeam backup repository that requires user authentication.
You enable application-aware processing for the backup job and need to provide credentials for a
database administrator account (Microsoft SQL Server, Microsoft SharePoint or Oracle), or credentials for
a user account under which pre-freeze and post-thaw scripts are executed.
Veeam Agent Configurator lets you provide user credentials in two ways:
You can provide user credentials in the input XML file. This method can be used for all credentials
records that you need to specify in the backup job configuration. For more information, see How User
Credentials are Encrypted.
You can provide user credentials in parameters to the -import command. This method can be used
only if you plan to change the backup target to a Veeam backup repository, and the Veeam backup
repository requires user authentication. For more information, see Import.
NOTE:
User credentials for a Veeam backup repository can be provided in parameters to the -import command and
in the input XML file. Veeam Agent Configurator handles conflict situations in the following way:
If user credentials are provided in the command parameters and in the input XML file, Veeam
Agent Configurator uses credentials from the command parameters.
If user credentials are provided only in the input XML file, Veeam Agent Configurator uses
credentials from the input XML file.
If user credentials are provided neither in the command parameters nor in the input XML file,
Veeam Agent Configurator uses credentials that were previously specified in the backup job
configuration.
When you set up the backup job configuration, you can encrypt user credentials with one of encryption methods
that Veeam Agent Configurator supports. In the input XML file, you must provide the encrypted credentials
strings and define which method is used for data encryption. During job configuration import, Veeam Agent
Configurator decrypts the credentials with the necessary decryption method.
1. Encrypt the password. The user name is not encrypted; you must provide it as a text string encoded in
the Base64 format.
You must encrypt the user password in the following way:
If the user password starts with the 'SHA256HEX:' prefix followed by a space ( ), Veeam Agent Configurator
considers the remaining part of the string to be a password hash in the hexadecimal format.
2. In the input XML file, provide the user name encoded in the Base64 format and encrypted user
password.
3. In the CryptType parameter of the input XML file, define the method that Veeam Agent Configurator
must use to decrypt the user password. For more information, see Supported Encryption Methods.
<?xml version="1.0"?>
<JobInfo CryptType="10">
<TargetInfo Type="3" RemoteRepositoryName="Default Backup Repository"
ServerPort="10001" ServerName="backupserver01.tech.local">
<ServerCredentials Password="UGFzc3dvcmQ="
UserName="c3J2MDZcQWRtaW5pc3RyYXRvcg=="/>
...
</JobInfo>
NOTE:
During configuration export, Veeam Agent for Microsoft Windows does not store password values to the
output XML file.
Base64 encoding 10 Default value at Veeam Agent for Microsoft Windows configuration export.
DES 20 Data is encrypted with the standard DES encryption algorithm. For more
information, see https://msdn.microsoft.com/en-
us/library/system.security.cryptography.des(v=vs.110).aspx.
ProtectedData 30 Data is encrypted with the standard ProtectedData mechanism. Data can
CurrentUser be decrypted only by the user who encrypted it. For more information,
see https://msdn.microsoft.com/en-us/library/2fh8203k(v=vs.110).aspx.
ProtectedData 31 Data is encrypted with the standard ProtectedData mechanism. Data can
LocalMachine be decrypted only on the machine where it was encrypted. For more
information, see https://msdn.microsoft.com/en-
us/library/2fh8203k(v=vs.110).aspx.
To let Veeam Agent Configurator know which method you used for data encryption, you must specify the method
type in the CryptType parameter. For example, if you have encrypted the user password using the DES
algorithm, you must define value 20 in the CryptType parameter:
<?xml version="1.0"?>
<JobInfo CryptType="20">
…
</JobInfo>
To display information about all available Veeam Agent Configurator commands, use the following
syntax:
Veeam.Agent.Configurator.exe /?
Veeam.Agent.Configurator.exe -<command> /?
For example, the Veeam.Agent.Configurator.exe -import /? command displays information about the
-import command in the command prompt.
Command Description
Prerequisites
You must obtain a license file and store it on the local drive of the machine where Veeam Agent for Microsoft
Windows is installed or in a network shared folder.
Syntax
Veeam.Agent.Configurator.exe -license /f: [/w] [/s]
Parameters
Parameter Optional/Required Description
Example of Use
This example installs the veeam_license.lic license file stored in the \\Fileserver\license\ shared
folder and sets the product edition to Workstation.
Syntax
Veeam.Agent.Configurator.exe -import [/f:] [/u:] [/p:]
Parameters
Parameter Optional/Required Description
Example of Use
This example imports application settings and configuration of the backup job from the C:\Veeam\Config.xml
file. The backup target is changed to the Veeam backup repository that can be accessed under a user account
with the following credentials:
Username: Veeam
Password: 1234
NOTE:
For security purposes, Veeam Agent Configurator does not export password values to the output XML file.
Prerequisites
The backup job must be configured on the machine. If the backup job is not configured, Veeam Agent
Configurator reports an error in the command output XML file and does not export the application settings and
job configuration.
Syntax
Veeam.Agent.Configurator.exe -export [/f:]
Parameters
Parameter Optional/Required Description
/f: Optional Path to the exported configuration. If the target folder does not exist, Veeam Agent
Configurator will create it.
Example of Use
This example exports the application data and backup job configuration to the Configuration.xml file in the
C:\Veeam\ folder.
Application settings — general Veeam Agent for Microsoft Windows settings specified at the application
level. You can use this section to disable or enable backup over metered connections, throttle backup
activities and so on.
Backup job settings — backup job configuration. You can use this section to modify backup job settings
such as backup type, backup target, scheduling settings and so on.
General settings
Notification settings
General Settings
Parent Tag Parameter Description
LogoText Text displayed at the top left corner of the Control Panel of Veeam Agent
for Microsoft Windows. By default, the 'Veeam Agent' text is displayed.
CryptType This parameter is used if you configure email notifications settings, and
the SMTP server requires authentication.
EmailReport Parent tag that encapsulates information about email notification settings
in Veeam Agent for Microsoft Windows.
Notification Parameter describing if email notifications are enabled in Veeam Agent for
Microsoft Windows. Possible values:
Header Parent tag that encapsulates information about the header in email
notifications.
From Email address from which Veeam Agent for Microsoft Windows sends
email notifications.
To Email address at which Veeam Agent for Microsoft Windows sends email
notifications.
Subject Subject of email notifications. You can use the following variables in the
subject:
%ComputerName%
%JobResult%
%CompletionTime%
Conditions Parent tag that encapsulates information about conditions in which Veeam
Agent for Microsoft Windows sends email notifications.
Failure Parameter describing if Veeam Agent for Microsoft Windows must send an
email notification in case the backup job completes with the Failed status.
Possible values:
Warning Parameter describing if Veeam Agent for Microsoft Windows must send an
email notification in case the backup job completes with the Warning
status. Possible values:
Success Parameter describing if Veeam Agent for Microsoft Windows must send an
email notification in case the backup job completes with the Success
status. Possible values:
Credentials This tag is used only if the SMTP server requires authentication.
Username This parameter is used only if the SMTP server requires authentication.
User name of the account used to connect to the SMTP server. The user
name is specified as a text string encoded in the Base64 format.
Password This parameter is used only if the SMTP server requires authentication.
Example
This example runs the Import command and loads the following parameters from the
C:\Veeam\Configuration.xml input XML file:
Veeam Agent for Microsoft Windows notifications in the Control Panel are disabled.
<?xml version="1.0"?>
<Data>
<ApplicationSettings DisableBackupOverMeteredConnection="False"
ThrottleBackupActivity="True" DisableControlPanelNotification="True"/>
</Data>
General information
Backup scope
Backup target
Storage settings
Retention settings
Application-aware settings
Scheduling settings
CryptType Encryption method used to encrypt the user password. For more
information, see Encryption of User Credentials.
For example:
<?xml version="1.0"?>
<JobInfo CryptType="20">
…
</JobInfo>
SourceInfo Parent tag that encapsulates information about the backup scope.
EpDiskFilter Parent tag that encapsulates information about the backup mode.
Drive This tag is used only for volume-level and file-level backup modes.
FilterType This parameter is used only for volume-level and file-level backup modes.
0 — volume-level backup.
1 — file-level backup.
VolumeOrPartitionId This parameter is used only for volume-level and file-level backup modes.
MountPoint
Mount point of the backed up volume or volume on which backed up
folders are located. In the value, the volume name is specified, for
example: C:\.
Path This parameter is used only for volume-level and file-level backup modes.
Note: The Path parameter is not available in the output XML file.
However, you can use it in the input XML file.
IncludeFolders This tag is used only for volume-level and file-level backup modes.
String value This parameter is used only for volume-level and file-level backup modes.
ExcludeFolders This tag is used only for hybrid file-level backup (backup that includes
computer volumes and folders with files).
Parent tag that encapsulates paths to folders that are excluded from the
backup.
String value This parameter is used only for hybrid file-level backup (backup that
includes computer volumes and folders with files).
Parameter describing folders that are excluded from the backup, for
example: C:\ProgramData.
Parent tag that encapsulates masks of files that are included in the
backup.
Mask of files that are included in the backup, for example: *.docx. To
provide several masks, use separate string value parameters.
Parent tag that encapsulates masks of files that are excluded from the
backup.
String value This parameter is used only for the file-level backup.
Mask of files that are excluded from the backup, for example: *.avi. To
provide several masks, use separate string value parameters.
<?xml version="1.0"?>
<JobInfo CryptType="10">
<SourceInfo>
<EpDiskFilter BackupUserFolders="False" BackupSystemState="False" BackupMode="1">
<Drive FilterType="0">
<VolumeOrPartitionId MountPoint="D:\" Type="1"/>
<IncludeFolders>
<String value="D:\"/>
</IncludeFolders>
<ExcludeFolders/>
</Drive>
<IncludeMasks/>
<ExcludeMasks/>
</EpDiskFilter>
</SourceInfo>
...
</JobInfo>
Example 2
You want to back up the C:\Documents folder, user personal files and exclude all TXT files from it. The input
XML file will contain the following parameters:
<?xml version="1.0"?>
<JobInfo CryptType="10">
<SourceInfo>
<EpDiskFilter BackupUserFolders="True" BackupSystemState="False" BackupMode="2">
<Drive FilterType="1">
<VolumeOrPartitionId MountPoint="C:\" Type="1"/>
<IncludeFolders>
<String value="C:\Documents"/>
<String value="C:\Users"/>
</IncludeFolders>
<ExcludeFolders/>
</Drive>
<VolumeOrPartitionId MountPoint="" Type="1" Path="\\?\Volume{422b9636-8907-11e3-
93e7-806e6f6e6963}"/>
<IncludeMasks/>
<ExcludeMasks>
<String value="*.TXT"/>
</ExcludeMasks>
</EpDiskFilter>
</SourceInfo>
...
</JobInfo>
General settings
General Settings
Parent Tag Parameter Description
TargetInfo Parent tag that encapsulates information about the backup target.
NOTE:
Due to the limitations of the Microsoft OneDrive platform you cannot set Microsoft OneDrive as a backup job
target with Veeam Agent Configurator. The Microsoft OneDrive target is available only in the output XML file.
You cannot use it in the input XML file.
TargetInfo Parent tag that encapsulates information about the backup target.
DriveName Name of a volume where backup files must be stored, for example: C:\.
VolumeID GUID path of a volume where backup files must be stored, for example:
{26a37f5a-c4a6-4ae4-b724-4a36df814334}.
Note: The VolumeID parameter is not available in the output XML file.
However, you can use it in the input XML file.
RelativePath Path to a folder where backup files must be stored, for example: Backup\
TargetInfo Parent tag that encapsulates information about the backup target.
Path Path to a shared folder where backups must be stored, for example:
\\172.17.25.73\Backups.
CredentialsInfo This tag is used only if you plan to store backup files in a shared folder
that requires user authentication.
UserName This parameter is used only if you plan to store backup files in a shared
folder that requires user authentication.
User name for access to the shared folder. The user name is specified as a
text string encoded in the Base64 format.
Password This parameter is used only if you plan to store backup files in a shared
folder that requires user authentication.
Password for access to the shared folder. The password is encrypted. For
more information, see Encryption of User Credentials.
TargetInfo Parent tag that encapsulates information about the backup target.
ServerName Name of the backup server that manages the target Veeam backup
repository.
ServerPort Port used for communication between the machine on which Veeam Agent
for Microsoft Windows is installed and Veeam backup server. By default,
port 10001 is used.
RemoteRepositoryId GUID path of the cloud backup repository where backup files are stored,
for example: {88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec}.
RemoteRepository Name of the backup repository, for example: Backup Volume 01.
Name
ServerCredentials This tag is used only if you plan to store backup files on a Veeam backup
repository that requires user authentication.
User name for access to the Veeam backup repository. The user name is
specified as a text string encoded in the Base64 format.
Password This parameter is used only if you plan to store backup files on a Veeam
backup server that requires user authentication.
TargetInfo Parent tag that encapsulates information about the backup target.
ServerName Full DNS name or IP address of the default cloud gateway over which
backup data is transported to the cloud backup repository.
Beside the default gateway, you can specify a list of additional cloud
gateways in the GateList parameter. Veeam Agent for Microsoft
Windows uses additional cloud gateways if the default cloud gateway is
inaccessible.
ServerPort TCP/IP port over which user backup servers must communicate with the
cloud gateway. By default, port 6180 is used.
GateList List of additional cloud gateway servers and ports over which backup data
is transported to the cloud backup repository. Veeam Agent for Microsoft
Windows uses additional cloud gateways if the default cloud gateway is
inaccessible.
RemoteRepositoryId GUID path of the cloud backup repository where backup files must be
stored, for example: {fcaaef5e-6f9d-4311-96f0-8005518df1b8}.
UserName User name for access to the cloud backup repository. The user name is
specified as a text string encoded in the Base64 format.
Password Password for access to the cloud backup repository. The password is
encrypted. For more information, see Encryption of User Credentials.
Example 1
You want to back up data to the Backups folder on the D:\ drive on the computer. The input XML file will
contain the following parameters:
<?xml version="1.0"?>
<JobInfo CryptType="10">
<TargetInfo Type="1" RelativePath="Backups\" DriveName="D:\"/>
</JobInfo>
Example 2
You want to back up data to the \\fileserver01\Backups shared folder. The shared folder requires
authentication, and you use the following user account to access it:
Username: TECH\Administrator
Password: Password
<?xml version="1.0"?>
<JobInfo CryptType="10">
<TargetInfo Type="2" Path="\\fileserver01\Backups">
<CredentialsInfo UserName="VEVDSFxBZG1pbmlzdHJhdG9y" Password="UGFzc3dvcmQ="/>
</TargetInfo>
</JobInfo>
Example 3
You want to back up data to the BackupVolume01 backup repository configured on the
backup01.tech.local backup server. You use the following credentials to access the backup server:
Username: TECH\Administrator
Password: Password
<?xml version="1.0"?>
<JobInfo CryptType="10">
<TargetInfo Type="3" RemoteRepositoryName="BackupVolume01" ServerPort="10001"
ServerName="backup01.tech.local">
<ServerCredentials Password="UGFzc3dvcmQ="
UserName="VEVDSFxBZG1pbmlzdHJhdG9y"/>
</TargetInfo>
</JobInfo>
Example 4
You want to back up data to the Cloud01 backup repository accessed over the following gateway servers:
BlockSize Size of data blocks that Veeam Agent for Microsoft Windows uses to
process data. Possible values:
CompressionLevel Compression level for the resulting backup file. Possible values:
0 — compression is disabled.
4 — dedupe-friendly compression. Recommended for
deduplicating storage appliances and external WAN
accelerators.
5 — optimal compression. Provides the best compression to
performance ratio and lowest CPU usage.
6 — high compression. Provides additional 10% compression
ratio over optimal, at the cost of 10x higher CPU usage.
9 — extreme compression. Provides additional 3%
compression ratio over high, at the cost of 2x higher CPU
usage.
Enabled Parameter specifying if Veeam Agent for Microsoft Windows must encrypt
the resulting backup file. Possible values:
Key This tag is used if you select to encrypt the resulting backup file.
Password This parameter is used if you select to encrypt the resulting backup file.
Password that is used to encrypt the resulting backup file. The password
must be encoded in the Base64 format.
Hint for the password used to encrypt the resulting backup file. The hint
must be encoded in the Base64 format.
Example
You want to use dedupe-friendly compression, and encrypt the resulting backup file with the following password:
Password: Password
<?xml version="1.0"?>
<JobInfo CryptType="10">
<StorageInfo BlockSize="3" CompressionLevel="4">
<Encryption Enabled="True">
<Key Password="UGFzc3dvcmQ=" Hint="U3RhbmRhcmQgcGFzc3dvcmQ="/>
</Encryption>
</StorageInfo>
</JobInfo>
RetentionInfo Parent tag that encapsulates information about retention policy settings.
Example
You use the Server edition and want to keep 20 restore points in the backup chain on the backup target. The
input XML file will contain the following parameters:
<?xml version="1.0"?>
<JobInfo CryptType="10">
<RetentionInfo RestorePointsCount="20"/>
</JobInfo>
CacheInfo Parent tag that encapsulates information about local backup cache
settings.
SizeGB This parameter is used only if you plan to use local backup cache.
Size of local backup cache specified in GB. If the size of local backup
cache is 1024-fold, Veeam Agent for Microsoft Windows automatically
converts the value to TB.
StopJobsIfNeeded This tag is used only if you plan to use local backup cache.
If you need to update settings for the backup job for which local backup
cache settings are already configured, you must first disable the backup
job. To do this, you can use StopJobsIfNeeded parameter. With this
parameter set to True, Veeam Agent Configurator disables the backup
job, updates the job settings and re-enables the job after that.
Possible values:
Location This tag is used only if you plan to use local backup cache.
Type This parameter is used only if you plan to use local backup cache.
DriveName This parameter is used only if you plan to use local backup cache.
Name of a volume where local backup cache must be stored, for example:
D:\.
GUID path of a volume where local backup cache must be stores, for
example: {26a37f5a-c4a6-4ae4-b724-4a36df814334}.
Note: The VolumeID parameter is not available in the output XML file.
However, you can use it in the input XML file.
RelativePath This parameter is used only if you plan to use local backup cache.
Path to a folder where local backup cache must be stored, for example:
Cache\
Example
You want store local backup cache in the D:\Cache folder, and the cache size is 10 GB.
<JobInfo>
<CacheInfo Enabled="True" SizeGB="10">
<Location Type="1" RelativePath="Cache" DriveName="D:\"/>
</CacheInfo>
</JobInfo>
General settings
Oracle settings
General Settings
Parent Tag Parameter Description
Sql Parent tag that encapsulates information about transaction logs settings
for Microsoft SQL Server.
Mode Parameter describing how Veeam Agent for Microsoft Windows processes
transaction logs for Microsoft SQL Server. Possible values:
Note: If you do not specify the Mode parameter but set the Enabled
parameter in the Backup tag to True, transaction log backup will be
enabled.
Backup This tag is used only if you set the Mode parameter to 3 (Veeam Agent for
Microsoft Windows periodically backs up transaction logs).
Enabled This parameter is used only if you set the Mode parameter to 3 (Veeam
Agent for Microsoft Windows periodically backs up transaction logs).
Note: If you do not specify the Enabled parameter but set the Mode
parameter to 3, transaction log backup will be enabled.
BackupMinutes This parameter is used only if you set the Mode parameter to 3 (Veeam
Agent for Microsoft Windows periodically backs up transaction logs).
Periodicity with which Veeam Agent for Microsoft Windows must back up
transaction logs (in minutes). By default, Veeam Agent for Microsoft
Windows backs up transaction logs every 15 minutes.
ExpireDays This parameter is used only if you set the Mode parameter to 3 (Veeam
Agent for Microsoft Windows periodically backs up transaction logs) and
set the Expirable parameter to True (delete transaction log backups
after N days).
Retention policy settings for transaction log backups (in days). By default,
Veeam Agent for Microsoft Windows removes from the backup target
transaction log backups that are older than 15 days.
Credentials This tag is used only if you want to use impersonation and connect to the
Microsoft SQL Server under the database administrator account.
UserName This parameter is used only if you want to use impersonation and connect
to the Microsoft SQL Server under the database administrator account.
Password This parameter is used only if you want to use impersonation and connect
to the Microsoft SQL Server under the database administrator account.
Oracle Settings
Parent Tag Parameter Description
Oracle Parent tag that encapsulates information about transaction logs settings
for Oracle.
AccountType This parameter is used only if you want Veeam Agent for Microsoft
Windows to connect to an Oracle database under a specific account.
0 — Oracle account
1 — Microsoft Windows account
LifetimeHours This parameter is used if you set the Oracle parameter to 1 (Veeam
Agent for Microsoft Windows truncates transaction logs that are older
than N hour).
SizeGB This parameter is used if you set the Oracle parameter to 2 (Veeam
Agent for Microsoft Windows truncates transaction logs whose size is over
N GB).
Size of transaction logs that must be truncated (in GB). By default, Veeam
Agent for Microsoft Windows truncates transaction logs whose size is over
10 GB.
Backup Parent tag that encapsulates information about transaction logs backup
settings for Oracle.
Enabled Parameter specifying if Veeam Agent for Microsoft Windows must back up
transaction logs. Possible values:
BackupMinutes Periodicity with which Veeam Agent for Microsoft Windows must back up
transaction logs (in minutes). By default, Veeam Agent for Microsoft
Windows backs up transaction logs every 15 minutes.
ExpireDays This parameter is used only if you set the Expirable parameter to True
(delete transaction log backups after N days).
Retention policy settings for transaction log backups (in days). By default,
Veeam Agent for Microsoft Windows removes transaction log backups that
are older than 15 days from the backup target.
Credentials This tag is used only if you want Veeam Agent for Microsoft Windows to
connect to an Oracle database under a specific account.
UserName This parameter is used only if you want Veeam Agent for Microsoft
Windows to connect to an Oracle database under a specific account.
User name of the account under which Veeam Agent for Microsoft
Windows must connect to the Oracle database. The user name is
specified as a text string encoded in the Base64 format.
Password This parameter is used only if you want Veeam Agent for Microsoft
Windows to connect to an Oracle database under a specific account.
Password of the account under which Veeam Agent for Microsoft Windows
must connect to the Oracle database. The password is encrypted. For
more information, see Encryption of User Credentials.
SharePoint Parent tag that encapsulates information about settings for Microsoft
SharePoint Server.
Credentials Parent tag that encapsulates information about credentials of the account
used to connect to Microsoft SharePoint Server.
UserName User name of the account used to connect to Microsoft SharePoint Server.
The user name is specified as a text string encoded in the Base64 format.
Script Parent tag that encapsulates information about custom script settings.
Mode Parameter describing if Veeam Agent for Microsoft Windows must run
custom scripts and how it must process script execution results. Possible
values:
PreFreezePath This parameter is used if you set the Mode parameter to 1 or 2 (run a
pre-freeze script).
PostThawPath This parameter is used if you set the Mode parameter to 1 or 2 (run a
post-thaw script).
Credentials This tag is used only if you need to run custom scripts under a specific
account, for example, an account that has Administrator permissions.
UserName This parameter is used only if you need to run custom scripts under a
specific account.
User name of the account under which custom scripts must be run. The
user name is specified as a text string encoded in the Base64 format.
Password This parameter is used only if you need to run custom scripts under a
specific account.
Password of the account under which custom scripts must be run. The
password is encrypted. For more information, see Encryption of User
Credentials.
Indexing Parent tag that encapsulates information about file indexing settings.
Enabled Parameter specifying if Veeam Agent for Microsoft Windows must index
files and folders. Possible values:
IncludedFolders This tag is used only if the Indexing parameter is set to 1 (Veeam Agent
for Microsoft Windows indexes the content of folders included in the
indexing scope).
String value This parameter is used only if the Indexing parameter is set to 1
(Veeam Agent for Microsoft Windows indexes the content of folders
included in the indexing scope).
ExcludedFolders This tag is used only if the Indexing parameter is set to 2 (Veeam Agent
for Microsoft Windows does not index the content of folders excluded
from the indexing scope).
Parent tag that encapsulates information about folders excluded from the
indexing scope.
String value This parameter is used only if the Indexing parameter is set to 2
(Veeam Agent for Microsoft Windows does not index the content of
folders excluded from the indexing scope).
<?xml version="1.0"?>
<JobInfo CryptType="10">
<GuestInfo>
<Applications ProcessTransactionLogs="True">
<Sql Mode="3">
<Backup Enabled="True" ExpireDays="20" BackupMinutes="15" Expirable="True"/>
</Sql>
</GuestInfo>
</JobInfo>
Example 2
You want the backup job to index files in Documents 2015 and Documents 2016 folders. The input XML file
will contain the following parameters:
<?xml version="1.0"?>
<JobInfo CryptType="10">
<GuestInfo>
<Indexing Type="2">
<IncludedFolders>
<String value="D:\Folder1"/>
<String value="D:\Folder2"/>
</IncludedFolders>
</Indexing>
</GuestInfo>
</JobInfo>
Example 3
You want the backup job to run pre-freeze.cmd and post-thaw.cmd scripts, and want to ignore script
errors. The input XML file will contain the following parameters:
<?xml version="1.0"?>
<JobInfo CryptType="10">
<GuestInfo>
<Applications ProcessTransactionLogs="True" Enabled="True">
<Script Mode="1" PostThawPath="C:\scripts\post-thaw.cmd"
PreFreezePath="C:\scripts\pre-freeze.cmd"/>
</Applications>
</GuestInfo>
</JobInfo>
CompletionMode Action that is performed when the backup job is complete. Possible
values:
AtStorageAttach Parameter describing if the backup job must start when the backup
target is connected to the computer — external target disk is attached,
shared folder becomes accessible and so on. Possible values:
ResumeMissedBackup Parameter describing what actions Veeam Agent for Microsoft Windows
must perform if the machine was powered off when backup was
scheduled, and the backup was missed. Possible values:
AtLock Parameter describing if the backup job must start when the user locks
the computer. Possible values:
True — backup job starts when the user locks the computer.
False — backup job does not start when the user locks the
computer.
True — backup job starts when the user logs off the
computer.
False — backup job does not start when the user logs off
the computer.
EjectRemovableStorage Parameter describing if Veeam Agent for Microsoft Windows must eject
OnceBackup the removable storage (backup target) when the backup job session
IsCompleted completes. Possible values:
LimitBackupsFrequency Parameter limiting the frequency of backup job sessions in the specified
interval. Possible values:
MaxBackupsFrequency This parameter is used only if you have selected to limit the frequency
of backup job sessions.
Time interval (in minutes, hours or days) during which a new backup job
session must not be started, for example, 30.
FrequencyTimeUnit This parameter is used only if you have selected to limit the frequency
of backup job sessions.
Units of time for the time interval limiting the frequency of backup job
sessions.
Possible values:
0 — minutes
1 — hours
2 — days
DailyInfo Parent tag that encapsulates information about daily scheduling settings.
Kind Days of week on which the backup job must run. Possible values:
List of days on which you want to run the backup job. Possible values:
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Time Time at which the backup job must start. The time is specified in the
following format: mm/dd/yyyy hh:mm:ss.
Note: Veeam Agent Configurator ignores the date part and uses the
time part only.
Example
You want to enable backup on the following events: user logout and computer lock. The input XML file will
contain the following parameters:
<?xml version="1.0"?>
<JobInfo CryptType="10">
<ScheduleInfo AtLock="True" AtLogOff="True"/>
</JobInfo>
General settings
RunManually Parameter specifying if the backup job must be run manually or started
automatically by schedule. Possible values:
UseBackupWindow Parameter describing if the backup window is set for the backup job.
Possible values:
If you set this parameter to True, you must specify backup window
settings.
DailyInfo Parent tag that encapsulates information about daily scheduling settings.
Kind Days of week on which the backup job must run. Possible values:
List of days on which you want to run the backup job. Possible values:
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Entries in the list are separated with a comma followed by a space (, ), for
example: Days="Sunday, Monday, Tuesday, Wednesday,
Thursday, Friday, Saturday".
Time Time at which the backup job must start. The time is specified in the
following format: hh:mm.
Months List of months on which the backup job must run. Possible values:
January
February
March
April
May
June
July
August
September
October
November
December
0 — Sunday
1 — Monday
2 — Tuesday
3 — Wednesday
4 — Thursday
5 — Friday
6 — Saturday
Week This parameter is used if you want to run the backup job on the Nth day
of the Nth week in the month.
Numerical order of the week on which you want to run the backup job.
Possible values:
If you set the Week parameter value to 6, you must also specify the
DayOfMonth parameter value.
DayOfMonth This parameter is used if you want to run the backup job on a specific
date.
Date in a month on which you want to run the backup job. Possible
values: 1-30 (or 1-31, depending on the month length). For example, if
you want to run the backup job on the 24th of every month, you must set
the DayOfMonth parameter to 24.
Time Time at which the backup job must start. The time is specified in the
following format: hh:mm.
Time Periodicity with which the backup job must start. The time interval for
periodicity is specified in the following format: hhh:mm.
For example, if you want to run the backup job every 30 minutes, you
must set the Time parameter to 000:30. If you want to run the backup
job every 2 hours, you must set the Time parameter to 002:00. If you
want to run the backup job every 5 days, you must set the Time
parameter to 120:00.
Minutes Exact time within an hour when the backup job must start.
For example, if you want to run the backup job every hour and start on
the 30th minute of the hour, for example, at 1:30 AM, 2:30 AM, 3:30 AM,
4:30 AM and so on, you must set the Time parameter to 001:00 and
Minutes parameter to 30.
Kind This parameter is used if you specify permitted or prohibited hours for the
backup job.
Method of setting permitted hours for the backup job. Possible values:
Days This tag is used if you specify permitted or prohibited hours for the
backup job.
<Weekday> Intervals This tag is used if you specify permitted or prohibited hours for the
backup job.
<Days>
</Days>
Note: If there are more prohibited hours intervals than permitted hours
intervals, Veeam Agent Configurator will export information about
prohibited hours when you run the SaveConfiguration command, and
vice versa.
Schedule This tag is used if you specify permitted or prohibited hours for the
backup job.
Method of setting permitted hours for the backup job. Possible values:
Days This tag is used if you specify permitted or prohibited hours for the
backup job.
<Weekday> Intervals This tag is used if you specify permitted or prohibited hours for the
backup job.
Intervals of permitted or prohibited hours for the backup job. The interval
of hours is specified for every week day in the following format:
<Days>
</Days>
Note: If there are more prohibited hours intervals than permitted hours
intervals, Veeam Agent Configurator will export information about
prohibited hours when you run the SaveConfiguration command, and
vice versa.
SyntheticFull Parent tag that encapsulates information about synthetic full backups
created with the backup job.
Enabled Parameter specifying if the backup job must periodically create synthetic
full backups. Possible values:
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Entries in the list are separated with a comma followed by a space (, ), for
example: Days="Sunday, Monday, Tuesday, Wednesday,
Thursday, Friday, Saturday".
ActiveFull Parent tag that encapsulates information about active full backups created
with the backup job.
Enabled Parameter specifying if the backup job must periodically create active full
backups. Possible values:
Kind Mode in which the backup job creates active full backups. Possible values:
DailyInfo This parameter is used if you want to create active full backups on specific
days of week.
Parent tag that encapsulates information about daily settings for active
full backups.
List of days on which the backup job must create active full backups.
Possible values:
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Entries in the list are separated with a comma followed by a space (, ), for
example: Days="Sunday, Monday, Tuesday, Wednesday,
Thursday, Friday, Saturday".
MonthlyInfo This parameter is used if you want to create active full backups on a
specific day every month.
Parent tag that encapsulates information about monthly settings for active
full backups.
Months This parameter is used if you want to create active full backups on a
specific day every month.
List of months on which the backup job must create active full backups.
Possible values:
January
February
March
April
May
June
July
August
September
October
November
December
Entries in the list are separated with a comma followed by a space (, ), for
example: Months="January, February, March, April, May,
June, July, August, September, October, November,
December".
Day on which the backup job must create an active full backup. Possible
values:
0 — Sunday
1 — Monday
2 — Tuesday
3 — Wednesday
4 — Thursday
5 — Friday
6 — Saturday
Week This parameter is used if you want to create active full backups on a
specific day every month.
Numerical order of week on which the backup job must create an active
full backup. Possible values:
RetryInfo Parent tag that encapsulates information about job retry settings.
Times Number of times for which Veeam Agent for Microsoft Windows must
retry a backup job. By default, Veeam Agent for Microsoft Windows retries
the backup job 3 times.
TimeoutMinutes Time interval between job retries in minutes. By default, the time interval
is 10 minutes.
BackupWindow Parent tag that encapsulates information about the backup window set for
the job.
If the backup job exceeds the specified window, the job will be
terminated.
Days Parent tag that encapsulates information about the backup window for
the backup job.
<Weekday> Intervals Intervals of permitted or prohibited hours for the backup job. The interval
of hours is specified for every week day in the following format:
<Days>
</Days>
Note: If there are more prohibited hours intervals than permitted hours
intervals, Veeam Agent Configurator will export information about
prohibited hours when you run the SaveConfiguration command, and
vice versa.
On week days, the backup job must not start between 6:00 AM to 6:00 PM.
<?xml version="1.0"?>
<JobInfo CryptType="10">
<ScheduleInfo Type="4" RunManually="False">
<ContinuouslyInfo>
<Schedule Kind="1">
<Days>
<Monday Intervals="06-18"/>
<Tuesday Intervals="06-18"/>
<Wednesday Intervals="06-18"/>
<Thursday Intervals="06-18"/>
<Friday Intervals="06-18"/>
</Days>
</Schedule>
</ContinuouslyInfo>
</ScheduleInfo>
</JobInfo>
Example 2
You want to run the backup job daily at 12:00 AM, and set up the following backup window for the job:
On Monday through Thursday, the backup job must not run between 6:00 AM to 6:00 PM.
On Friday, the backup job must not run between 6:00 AM and 4:00 PM.
<?xml version="1.0"?>
<JobInfo CryptType="10">
<ScheduleInfo Type="1" UseBackupWindow="True" RunManually="False">
<DailyInfo Kind="0" Days="Sunday, Monday, Tuesday, Wednesday, Thursday, Friday,
Saturday" Time="00:00:00"/>
<BackupWindow Kind="1">
<Days>
<Monday Intervals="06-18"/>
<Tuesday Intervals="06-18"/>
<Wednesday Intervals="06-18"/>
<Thursday Intervals="06-18"/>
<Friday Intervals="06-16"/>
</Days>
</BackupWindow>
</ScheduleInfo>
</JobInfo>
StatisticsInfo Parent tag that encapsulates information about the job statistics.
LastPointSize Size of the latest restore point created by the backup job.
TotalSize Total size of all restore points created by the backup job.
For example:
<?xml version="1.0"?>
<StatisticsInfo LastPointSize="66110443520" TotalSize="66110443520"
AverageDuration="00:18:19.3320000"/>
…
1. Prepare a configuration file with the backup job and application settings. To facilitate creation of the
configuration file, set up the necessary backup job and application settings on a machine protected with
Veeam Agent for Microsoft Windows, and export the configuration to a file with the Export command:
2. For security purposes, Veeam Agent for Microsoft Windows does not export password values. If you use
credentials in the configuration, for example, to store backups on a backup repository that requires
authentication, open the configuration file and provide passwords in place of "Enter the password
here" placeholders.
3. Place the configuration file to a network shared folder accessible from the machine on which you plan to
install and configure Veeam Agent for Microsoft Windows. In this example, the configuration file is placed
to the \\fileserver01\Veeam folder.
4. Place the Veeam Agent for Microsoft Windows setup file to a network shared folder accessible from the
machine on which you plan to install and configure Veeam Agent for Microsoft Windows. In this example,
the setup file is placed to the \\fileserver01\Veeam folder.
5. Run the unattended install command to install Veeam Agent for Microsoft Windows on the machine.
Veeam Agent for Microsoft Windows uses the following codes to report about the installation results:
1000 — Veeam Agent for Microsoft Windows has been successfully installed.
1001 — prerequisite components required for Veeam Agent for Microsoft Windows have been
installed on the machine. Veeam Agent for Microsoft Windows has not been installed. The
machine needs to be rebooted.
1101 — Veeam Agent for Microsoft Windows has been installed. The machine needs to be
rebooted.
6. If you want Veeam Agent for Microsoft Windows to operate in the Workstation or Server mode, place a
license file to a network shared folder accessible from the machine on which you plan to install and
configure Veeam Agent for Microsoft Windows. In this example, the license file is placed to the
\\fileserver01\Veeam folder.
7. Prepare a script that will install Veeam Agent for Microsoft Windows in the unattended mode, import the
backup job configuration and application settings on the target machine. The sample script below
performs the following actions:
b. Imports backup job configuration and application settings from the configuration file.
@echo --- Importing Backup Job Configuration and Application Settings ---
If the script executes successfully, Veeam Agent Configurator will report error code 0 for each command in the
script.