Skip to content

⬆️ How to Upgrade

tigattack edited this page Dec 5, 2026 · 1 revision

Requirements

  • An existing VeeamNotify installation on your Veeam server, with a config\conf.json file.
  • PowerShell running as Administrator.

For a new installation, see How to Install.

Upgrade Methods

Both options install the latest stable release by default. The installer validates your existing config against the target release, keeps the file unchanged, and leaves Veeam job hooks alone. It prints the backup path for the previous installation and its logs.

Before upgrading, wait for your Veeam jobs to finish and close any File Explorer windows showing the VeeamNotify directory or its subfolders. Run the upgrade from an open PowerShell session outside the installation directory.

Option 1: Download and run with one command

📝 Note: Inspect Installer.ps1 before running this command. It downloads and executes the installer directly.

  1. Launch PowerShell as Administrator on your Veeam server.
  2. Run the following command:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; & ([scriptblock]::Create((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/tigattack/VeeamNotify/main/Installer.ps1'))) -Upgrade

Option 2: Download and run the installer manually

  1. Download Installer.ps1 and save it outside the VeeamNotify directory.
  2. Open PowerShell as Administrator and run the following commands, replacing the path with where you saved the script:
Set-ExecutionPolicy Bypass -Scope Process -Force
Unblock-File -LiteralPath 'C:\path\to\Installer.ps1'
& 'C:\path\to\Installer.ps1' -Upgrade

Custom install location or release

If you installed outside C:\VeeamScripts, pass -InstallParentPath with the directory containing VeeamNotify. To select a published release, pass its exact tag with -Version. These options work with either method.

& 'C:\path\to\Installer.ps1' -Upgrade -InstallParentPath 'D:\Scripts' -Version 'v2.2.0'

Troubleshooting

  • Configuration is incompatible: The installer stops before replacing the existing installation. Compare your config\conf.json with the target release’s config\schema.json and config\conf.example.json, correct the reported fields, and retry. The error hints don’t show config values.
  • Windows denies the directory rename: Check that no VeeamNotify process is running and that no terminal or Explorer window is open inside the installation directory. Retry from outside it.
  • The installer can’t clean up staging: The warning gives you the directory to remove. It may contain a copy of conf.json.

Roll Back

With no Veeam jobs running, move the current VeeamNotify directory aside. Rename the backup directory printed by the installer back to VeeamNotify under the same parent directory. The existing job hooks point to that path, so you don’t need to redeploy them.

Clone this wiki locally