Skip to main content

Proxmox Backup Server 1.X to 2.X 更新

Proxmox Backup Server 已經釋放出新版的 2.0 版,改版內容如下或者連到官方看修改什麼內容 官方 wiki 公告內容

官方最新消息 Proxmox Backup Server 2.0 available

此版改版內容


Released 13. July 2021

  • Based on Debian Bullseye (11)
  • Kernel 5.11
  • ZFS 2.0

  • Changelog Overview

    • Tape Backup:
      • Matured from technology preview to the first stable release
      • Improve restore flexibility, allowing you to select multiple snapshots for one restore job
      • Read chunks sorted by inode on backup, to leverage improved read speed on slow spinning disks with increased sequential access
  • Backend:

    • Support for Single-Sign-On (SSO) with the new OpenID Connect access realm type

      You can integrate external authorization servers, either using existing public services or your own identity and access management solution, for example, Keycloak or LemonLDAP::NG.

    • ACME/Let's Encrypt integration with stand-alone and DNS Plugins, for easy deployment of trusted certificates

    • Improved caching for proxmox-backup-client map

    • Single file-restore support for VMs that use ZFS or LVM internally

    • Support setting an HTTP proxy for package updates and subscription check requests

  • Enhancements in the web interface (GUI):

    • Make dashboard status panel more detailed, showing, among other things, uptime, Kernel version, CPU info and a high level repository status overview.

    • New Repository management panel in the Administration tab shows an in-depth status and a list of all configured repositories.

      Basic repository management, for example, activating or deactivating a repository, is also supported.

    • ACME/Let's Encrypt GUI integration

    • Support setting comments on a backup group

    • Updated ExtJS JavaScript framework to latest GPL release 7.0

    • Improved translations, including:

      • Arabic
      • French
      • German
      • Japanese
      • Polish
      • Turkish
  • Installer:

    • Rework the installer environment to use switch_root instead of chroot, when transitioning from initrd to the actual installer.

      This improves module and firmware loading, and slightly reduces memory usage during installation.

    • Automatically detect HiDPI screens, and increase console font and GUI scaling accordingly. This improves UX for workstations with Proxmox VE (for example, for passthrough).

    • Improve ISO detection:

      • Support ISOs backed by devices using USB Attached SCSI (UAS), which modern USB3 flash drives often do.
      • Linearly increase the delay of subsequent scans for a device with an ISO image, bringing the total check time from 20s to 45s. This allows for the detection of very slow devices, while continuing faster in general.
    • Use zstd compression for the initrd image and the squashfs images.

    • Update to busybox 1.33.1 as the core-utils provider.

  • Known Issues

  • Network: Due to the updated systemd version, and for most upgrades, the newer kernel version (5.4 to 5.11), some network interfaces might change upon reboot:

    • Some may change their name. For example, due to newly supported functions, a change from enp33s0f0 to enp33s0f0np0 could occur.

      We observed such changes with high-speed Mellanox models.

    • Bridge MAC address selection has changed in Debian Bullseye - it is now generated based on the interface name and the machine-id (5) of the system.

      Note that by default, Proxmox Backup Server does not uses a Linux Bridge for networking, so most setups are unaffected.

  • Upgrade from 1.1

See Upgrade from 1.1 to 2.x

1.x版更新到2.x版


  • 先把現行的 1.X 更新到最新版本
apt update
apt dist-upgrade
  • 重啟該主機
reboot -nf
  • 備份設定檔 /etc/proxmox-backup
tar czf "pbs1-etc-backup-$(date -I).tar.gz" -C "/etc" "proxmox-backup"
更新來源庫

  • 更新來源庫 sources.list
sed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sources.list
  • 更新訂閱版來源庫 pbs-enterprise.list ,如果沒有用訂閱版來源庫,記要進去註解
sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/pbs-repo.list

因 BUBU 的環境是在 Debian 環境下進行 PBS 服務安裝,因此需要安裝密鑰後續安裝會有問題無法正常更新

  • 安裝密鑰
wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
  • 驗證密鑰 SHA512
sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
  • 驗證密鑰
md5sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
  • 更新來源庫
apt update
更新前先停止服務

systemctl stop proxmox-backup-proxy.service proxmox-backup.service
更新服務
  • 開始更新 PBS 服務
apt update
apt dist-upgrade
  • 更新完重啟主機
systemctl reboot
啟動服務

  • 啟動 PBS 服務
systemctl start proxmox-backup-proxy.service proxmox-backup.service
  • 查看 PBS 狀態
systemctl status proxmox-backup-proxy.service proxmox-backup.service



參考相關網頁