Veeam Backup & Replication updates can be installed in the unattended mode.
To install a Veeam Backup & Replication update, perform the following steps:
The script that installs Veeam Backup & Replication updates must be run with elevated privileges (run as Administrator).
- Download the installation archive for the Veeam Backup & Replication update from the Latest Updates page.
- 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.
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 1 to enable automatic upgrade.
You want to install the Veeam Backup & Replication update with the following options:
- Path to the update installation file: C:\Temp\veeam_backup_220.127.116.1153.update4a_setup.exe
- Silent install: enabled
- Noreboot: enabled
- Path to the 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\veeam_backup_18.104.22.16853.update4a_setup.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.