This guide walks you through upgrading Proxmox Backup Server (PBS) from version 3.4 to 4.0, including the transition from Debian 12 (Bookworm) to Debian 13 (Trixie). Follow each step carefully to ensure a safe and successful upgrade.
proxmox-backup-manager versions
tar czf "pbs3-etc-backup-$(date -I).tar.gz" -C /etc proxmox-backup
pbs3to4 --full
Re-run after fixing any reported issues.
proxmox-backup-manager datastore update DATASTORE-ID --maintenance-mode read-only
apt update
apt dist-upgrade
proxmox-backup-manager versions
wget https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg \
-O /usr/share/keyrings/proxmox-archive-keyring.gpg
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list.d/*.list || true
grep -R "bookworm" /etc/apt/sources.list* || true
cat > /etc/apt/sources.list.d/pbs-enterprise.sources <<EOF
Types: deb
URIs: https://enterprise.proxmox.com/debian/pbs
Suites: trixie
Components: pbs-enterprise
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
cat > /etc/apt/sources.list.d/proxmox.sources <<EOF
Types: deb
URIs: http://download.proxmox.com/debian/pbs
Suites: trixie
Components: pbs-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
apt update
apt dist-upgrade
systemctl reboot
systemctl status proxmox-backup.service proxmox-backup-proxy.service
pbs3to4 --full
proxmox-backup-manager datastore update DATASTORE-ID --delete maintenance-mode
Watch the complete upgrade process in video form: