Veeam Backup & Replication Updates can be installed in the unattended mode.
To install a Veeam Backup & Replication Update, perform the following steps:
Step 2 is performed in the unattended mode.
The script installing Veeam Backup & Replication Updates must be run with elevated privileges (run as Administrator).
- Download the installation archive for the Veeam Backup & Replication Update from https://www.veeam.com/updates.html.
- Extract the executable file from the downloaded archive.
- Save the extracted file locally on the backup server where you plan to install the update, or place it in a network shared folder.
To install the Veeam Backup & Replication Update on the backup server, use the following command syntax:
%patch% [/silent][/noreboot][/log <log_path>][VBR_AUTO_UPGRADE=1]
The command has the following parameters:
Specifies a path to the Update installation file on the backup server or in a network shared folder.
Sets the user interface level to “no”, which means no user interaction is needed during installation.
Suppresses reboot if reboot is required during the Veeam Backup & Replication Update installation.
Specifies a full path to the log file for the Veeam Backup & Replication Update installation.
Starts automatic upgrade for existing components in the backup infrastructure. Set this parameter to 1 to enable components upgrade.
Automatic components upgrade is performed after the Veeam Backup Service on the backup server is started.
You want to install the Veeam Backup & Replication Update with the following options:
- Path to the Update installation file: C:\Temp\VeeamBackup_Replication_22.214.171.1243_Update1.exe
- Silent install: enabled
- Noreboot: enabled
- Path to log file: C:\Logs\veeam.log
- Components auto upgrade: enabled
The command to install the Veeam Backup & Replication Update will be the following:
C:\Temp\VeeamBackup_Replication_126.96.36.1993_Update1.exe /silent /noreboot /log C:\Logs\veeam.log VBR_AUTO_UPGRADE=1
You can use the last exit code to verify if the installation process has completed successfully.
- In cmd.exe, use the %ERRORLEVEL% variable to check the last exit code.
- In Microsoft Windows PowerShell, use the $LastExitCode variable to check the last exit code.
Veeam Backup & Replication does not provide any confirmation about the results of automatic components upgrade. To check if components have been successfully upgraded, use the Veeam Backup & Replication console.