Veeam Backup & Replication Server
To install the Veeam Backup & Replication server, use a command with the following syntax:
msiexec.exe [/L*v "<path_to_log>"] /qn /i "<path_to_msi>" ACCEPTEULA="yes" ACCEPT_THIRDPARTY_LICENSES="1" [INSTALLDIR="<path_to_installdir >"] [VBR_LICENSE_FILE="<path_to_license_file>"] [VBR_SERVICE_USER="<Veeam_B&R_Service_account>"] [VBR_SERVICE_PASSWORD="<Veeam_B&R_Service_account_password>"] [VBR_SERVICE_PORT="<Veeam_B&R_Service_port>"] [VBR_SECURE_CONNECTIONS_PORT="<SSL_port>"] [VBR_SQLSERVER_SERVER="<SQL_server>"] [VBR_SQLSERVER_DATABASE="<database_name>"][VBR_SQLSERVER_AUTHENTICATION="0"] [VBR_SQLSERVER_USERNAME="<SQL_auth_username>"] [VBR_SQLSERVER_PASSWORD="<SQL_auth_password>"] [VBR_CHECK_UPDATES="1"][VBR_AUTO_UPGRADE="yes"] |
The command has the following parameters:
Option | Parameter | Required | Description |
---|---|---|---|
/L | *v logfile | No | Creates an installation log file with the verbose output. Specify a full path to the log file as the parameter value. A setup log file created during the previous installation is cleared. Example: /L*v "C:\ProgramData\Veeam\Setup\Temp\Logs\Backup.txt" |
/q | n | Yes | Sets the user interface level to “no”, which means no user interaction is needed during installation. |
/i | setup file | Yes | Installs the Veeam Backup & Replication server. Specify a full path to the setup file as the parameter value. Example: /i "C:\Veeam\Server.x64.msi" |
ACCEPTEULA | yes/no | Yes | Specifies if you want to accept the Veeam license agreement. Specify yes to accept the license agreement and proceed with installation. Example: ACCEPTEULA="yes" |
ACCEPT_THIRDPARTY_LICENSES | 0/1 | Yes | Specifies if you want to accept the license agreement for 3rd party components that Veeam incorporates. Specify 1 to accept the license agreement and proceed with installation. Example: ACCEPT_THIRDPARTY_LICENSES="1" |
INSTALLDIR | path | No | Installs the component to the specified location. By default, Veeam Backup & Replication uses the Backup subfolder of the C:\Program Files\Veeam\Backup and Replication\ folder. Example: INSTALLDIR="C:\Backup\" |
VBR_LICENSE_FILE | license path | No | Specifies a full path to the license file. If you do not specify this parameter, Veeam Backup & Replication will operate in the Community Edition mode. Example: VBR_LICENSE_FILE="C:\Users\Administrator\Desktop\enterprise - veeam_backup_trial_0_30.lic" |
VBR_SERVICE_USER | user | No | Specifies the account under which the Veeam Backup Service will run. The account must have full control NTFS permissions on the VBRCatalog folder where index files are stored and the Database owner rights for the configuration database on the Microsoft SQL Server where the configuration database is deployed. If you do not specify this parameter, the Veeam Backup Service will run under the LocalSystem account. Together with the VBR_SERVICE_USER parameter, you must specify the VBR_SERVICE_PASSWORD parameter. Example: VBR_SERVICE_USER="BACKUPSERVER\Administrator" |
VBR_SERVICE_PASSWORD | password | No | This parameter must be used if you have specified the VBR_SERVICE_USER parameter. Specifies a password for the account under which the Veeam Backup Service will run. Example: VBR_SERVICE_PASSWORD="1234" |
VBR_SERVICE_PORT | port | No | Specifies a TCP port that will be used by the Veeam Backup Service. By default, the port number 9392 is used. Example: VBR_SERVICE_PORT="9395" |
VBR_SECURE_CONNECTIONS_PORT | port | No | Specifies a port used for communication between the mount server and the backup server. By default, port 9401 is used. Example: VBR_SECURE_CONNECTIONS_PORT="9402" |
VBR_SQLSERVER_SERVER | SQL server\instance | No | Specifies a Microsoft SQL server and instance on which the configuration database will be deployed. By default, Veeam Backup & Replication uses the (local)\VEEAMSQL2012 server for machines running Microsoft Windows 7 or Microsoft Windows Server 2008 R2, and (local)\VEEAMSQL2016 for machines running Microsoft Windows Server 2012 or later. Example: VBR_SQLSERVER_SERVER="BACKUPSERVER\VEEAMSQL2016_MY" |
VBR_SQLSERVER_DATABASE | database | No | Specifies a name for the configuration database. By default, the configuration database is deployed with the VeeamBackup name. Example: VBR_SQLSERVER_DATABASE="VeeamBackup" |
VBR_SQLSERVER_ | 0/1 | No | Specifies if you want to use the SQL Server authentication mode to connect to the Microsoft SQL Server where the Veeam Backup & Replication configuration database is deployed. Specify 1 if you want to use the SQL Server authentication mode. If you do not specify this parameter, Veeam Backup & Replication will connect to the Microsoft SQL Server in the Microsoft Windows authentication mode (default value is 0). Together with this parameter, you must specify the following parameters: VBR_SQLSERVER_USERNAME and VBR_SQLSERVER_PASSWORD. Example: VBR_SQLSERVER_AUTHENTICATION="1" |
VBR_SQLSERVER_ | user | No | This parameter must be used if you have specified the VBR_SQLSERVER_AUTHENTICATION parameter. Specifies a LoginID to connect to the Microsoft SQL Server in the SQL Server authentication mode. Example: VBR_SQLSERVER_USERNAME="sa" |
VBR_SQLSERVER_ | password | No | This parameter must be used if you have specified the VBR_SQLSERVER_AUTHENTICATION parameter. Specifies a password to connect to the Microsoft SQL Server in the SQL Server authentication mode. Example: VBR_SQLSERVER_PASSWORD="1234" |
VBR_CHECK_UPDATES | 0/1 | No | Specifies if you want Veeam Backup & Replication to automatically check for new product patches and versions and hypervisor updates for Microsoft Hyper-V hosts. Specify 0 if you do not want to check for updates. If you do not specify this parameter, Veeam Backup & Replication will automatically check for updates (default value is 1). Example: VBR_CHECK_UPDATES="0" |
VBR_AUTO_UPGRADE | yes/no | No | Specifies if you want Veeam Backup & Replication to automatically upgrade existing components in the backup infrastructure. Veeam Backup & Replication performs automatic upgrade after the Veeam Backup Service is started on the backup server. Specify yes to enable automatic upgrade. Example: VBR_AUTO_UPGRADE="yes" |
Example
Suppose you want to install Veeam Backup & Replication with the following configuration:
- Installation log location: C:\logs\log1.txt
- No user interaction
- Path to the MSI file: E:\Veeam\Server.x64.msi
- Installation folder: D:\Program Files\Veeam
- License file location: C:\License\veeam_license.lic
- Service user account: VEEAM\Administrator
- Service user account password: 1243
- Service port: default
- TLS port: default
- Configuration database and database name: default
The command to install Veeam Backup & Replication with such configuration will have the following parameters: