安装PBS Client

配置proxmox源

wget https://enterprise.proxmox.com/debian/proxmox-release-系统代号.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-系统代号.gpg

更新镜像源

apt update

安装proxmox-backup-client软件包

apt install proxmox-backup-client

示例

~# wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.
d/proxmox-release-bookworm.gpg
--2026-02-20 17:02:39--  https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg
Resolving enterprise.proxmox.com (enterprise.proxmox.com)... 103.76.41.50, 2400:ed00:3::3
Connecting to enterprise.proxmox.com (enterprise.proxmox.com)|103.76.41.50|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1187 (1.2K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg’

/etc/apt/trusted.gpg.d/proxmo 100%[=================================================>]   1.16K  --.-KB/s    in 0s

2026-02-20 17:02:40 (562 MB/s) - ‘/etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg’ saved [1187/1187]

~# apt update
Get:1 http://download.proxmox.com/debian/pbs-client bookworm InRelease [2668 B]
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Get:3 http://download.proxmox.com/debian/pbs-client bookworm/main amd64 Packages [22.2 kB]
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease
Fetched 24.8 kB in 1s (24.1 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
253 packages can be upgraded. Run 'apt list --upgradable' to see them.

~# apt install prox
proxmox-archive-keyring               proxmox-offline-mirror-dbgsym         proxychains4
proxmox-backup-client                 proxmox-offline-mirror-docs           proxycheck
proxmox-backup-client-dbgsym          proxmox-offline-mirror-helper         proxytrack
proxmox-backup-client-static          proxmox-offline-mirror-helper-dbgsym  proxytunnel
proxmox-backup-client-static-dbgsym   proxsmtp
proxmox-offline-mirror                proxychains
root@ser086320013023:~# apt install proxmox-backup-client
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libqrencode4 qrencode
The following NEW packages will be installed:
  libqrencode4 proxmox-backup-client qrencode
0 upgraded, 3 newly installed, 0 to remove and 253 not upgraded.
Need to get 3549 kB of archives.
After this operation, 16.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://download.proxmox.com/debian/pbs-client bookworm/main amd64 proxmox-backup-client amd64 3.4.7-1 [3498 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble/universe amd64 libqrencode4 amd64 4.1.1-1build2 [25.0 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble/universe amd64 qrencode amd64 4.1.1-1build2 [26.1 kB]
Fetched 3549 kB in 2s (1539 kB/s)
Selecting previously unselected package libqrencode4:amd64.
(Reading database ... 85858 files and directories currently installed.)
Preparing to unpack .../libqrencode4_4.1.1-1build2_amd64.deb ...
Unpacking libqrencode4:amd64 (4.1.1-1build2) ...
Selecting previously unselected package qrencode.
Preparing to unpack .../qrencode_4.1.1-1build2_amd64.deb ...
Unpacking qrencode (4.1.1-1build2) ...
Selecting previously unselected package proxmox-backup-client.
Preparing to unpack .../proxmox-backup-client_3.4.7-1_amd64.deb ...
Unpacking proxmox-backup-client (3.4.7-1) ...
Setting up libqrencode4:amd64 (4.1.1-1build2) ...
Setting up qrencode (4.1.1-1build2) ...
Setting up proxmox-backup-client (3.4.7-1) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
needrestart is being skipped since dpkg has failed


~# proxmox-backup-client
Error: no command specified.
Possible commands: backup, benchmark, catalog, change-owner, garbage-collect, group, help, key, list, login, logout, map, mount, namespace, prune, restore, snapshot, status, task, unmap, version

Usage:

proxmox-backup-client backup {<backupspec>} [OPTIONS]
proxmox-backup-client benchmark [OPTIONS]
proxmox-backup-client catalog dump <snapshot> [OPTIONS]
proxmox-backup-client catalog shell <snapshot> <archive-name> [OPTIONS]
proxmox-backup-client change-owner <group> <new-owner> [OPTIONS]
proxmox-backup-client garbage-collect [OPTIONS]
proxmox-backup-client group forget <group> [OPTIONS]
proxmox-backup-client help [{<command>}] [OPTIONS]
proxmox-backup-client key change-passphrase [<path>] [OPTIONS]
proxmox-backup-client key create [<path>] [OPTIONS]
proxmox-backup-client key create-master-key
proxmox-backup-client key import-master-pubkey <path>
proxmox-backup-client key import-with-master-key [<path>] --encrypted-keyfile <string> --master-keyfile <string> [OPTIONS]
proxmox-backup-client key paperkey [<path>] [OPTIONS]
proxmox-backup-client key show [<path>] [OPTIONS]
proxmox-backup-client key show-master-pubkey [<path>] [OPTIONS]
proxmox-backup-client list [OPTIONS]
proxmox-backup-client login [OPTIONS]
proxmox-backup-client logout [OPTIONS]
proxmox-backup-client map <snapshot> <archive-name> [OPTIONS]
proxmox-backup-client mount <snapshot> <archive-name> <target> [OPTIONS]
proxmox-backup-client namespace create [<ns>] [OPTIONS]
proxmox-backup-client namespace delete [<ns>] [OPTIONS]
proxmox-backup-client namespace list [<ns>] [OPTIONS]
proxmox-backup-client prune <group> [OPTIONS]
proxmox-backup-client restore <snapshot> <archive-name> <target> [OPTIONS]
proxmox-backup-client snapshot files <snapshot> [OPTIONS]
proxmox-backup-client snapshot forget <snapshot> [OPTIONS]
proxmox-backup-client snapshot list [<group>] [OPTIONS]
proxmox-backup-client snapshot notes show <snapshot> [OPTIONS]
proxmox-backup-client snapshot notes update <snapshot> <notes> [OPTIONS]
proxmox-backup-client snapshot protected show <snapshot> [OPTIONS]
proxmox-backup-client snapshot protected update <snapshot> <protected> [OPTIONS]
proxmox-backup-client snapshot upload-log <snapshot> <logfile> [OPTIONS]
proxmox-backup-client status [OPTIONS]
proxmox-backup-client task list [OPTIONS]
proxmox-backup-client task log <upid> [OPTIONS]
proxmox-backup-client task stop <upid> [OPTIONS]
proxmox-backup-client unmap [<name>]
proxmox-backup-client version [OPTIONS]