ABOUT
This script guides you through upgrading Proxmox Backup Server from version 3.x (Debian 12 Bookworm) to version 4.0 (Debian 13 Trixie). It adjusts the Debian base sources, configures PBS 4 repositories in deb822 format, updates enterprise/no-subscription/test repos, runs a full system upgrade, and finalizes with a reboot.
infoExecute this script directly on the PBS 3.x host as root.
warningEnsure you have a verified backup of /etc/proxmox-backup before starting.
warningDo not run this on an already upgraded PBS 4.x system.
infoA reboot is strongly recommended after upgrade to activate the new kernel and services.
INSTALL
Approved local installer
DefaultDebian 13
Approved locallyRun this command in the Proxmox VE shell. It downloads the immutable approved file, verifies SHA-256, and only then executes it.
( url='https://scripts.francoisvw.com/snapshots/c19711ea1b2526bec67e34be948114e255b5a811/tools/pve/pbs4-upgrade.sh'; sha='059bed6b9eff5b53d7c79e746c31930a0ed5d4af844fa0e7fb31106cf3738d6e'; tmp="$(mktemp)" || exit; curl -fsSL "$url" -o "$tmp" && printf '%s %s\n' "$sha" "$tmp" | sha256sum -c - && bash "$tmp"; rc=$?; rm -f "$tmp"; exit "$rc" )
View approved source ↗Path tools/pve/pbs4-upgrade.shSHA-256 059bed6b9eff5b53d7c79e746c31930a0ed5d4af844fa0e7fb31106cf3738d6e LOCAL CHANGE REVIEW
Approved vs latest fetched source
Sign in with a passkey to inspect pending source changes. Approved content remains public.