[TUTORIAL] How to install Proxmox Backup Client under Ubuntu%

Why not just download it into a password tool? Then keep the password DB safe+replicated to another system and that's it. Can even be automated using APIs if done frequently (different encryption keys per client while providing customers their encryption key as well).
 
Are there more formats than text? I could not find it in the man-page or the documentation
Code:
proxmox-backup-client key paperkey [<path>] [OPTIONS]

Generate a printable, human readable text file containing the encryption key.

This also includes a scanable QR code for fast key restore.

<path> : <string>
    Key file. Without this the default key's will be used.

Optional parameters:

--output-format text|html
    Paperkey output format
--subject <string>
    Include the specified subject as title text.

https://pbs.proxmox.com/docs/command-syntax.html#proxmox-backup-client
 
Hi,

we worked around some linking/dependency issues and with version 1.0.8 the dependencies required got reduced, so that it now installs on Bullseye, Ubuntu 20.xy versions and possible other Debian derivatives just fine.

Bash:
wget http://download.proxmox.com/debian/pve/dists/buster/pvetest/binary-amd64/proxmox-backup-client_1.0.8-1_amd64.deb

# checksum verification
sha256sum proxmox-backup-client_1.0.8-1_amd64.deb
f812593f8f1895fc5cbd5c8b6ec1120a4f863739c7c23aa0f2c15b0f7c59033a  proxmox-backup-client_1.0.8-1_amd64.deb

apt update
apt install ./proxmox-backup-client_1.0.8-1_amd64.deb
On Ubuntu 21.04 it's also work. Thank you.
Code:
gleb@ip3:/tmp$ sudo apt install ./proxmox-backup-client_1.1.6-2_amd64.deb
[sudo] пароль для gleb:
Чтение списков пакетов… Готово
Построение дерева зависимостей… Готово
Чтение информации о состоянии… Готово         
Заметьте, вместо «./proxmox-backup-client_1.1.6-2_amd64.deb» выбирается «proxmox-backup-client»
Будут установлены следующие дополнительные пакеты:
  libfuse3-3 qrencode
Предлагаемые пакеты:
  fuse3
Следующие НОВЫЕ пакеты будут установлены:
  libfuse3-3 proxmox-backup-client qrencode
Обновлено 0 пакетов, установлено 3 новых пакетов, для удаления отмечено 0 пакетов, и 3 пакетов не обновлено.
Необходимо скачать 100 kB/2 899 kB архивов.
После данной операции объём занятого дискового пространства возрастёт на 12,7 MB.
Хотите продолжить? [Д/н]
Пол:1 /tmp/proxmox-backup-client_1.1.6-2_amd64.deb proxmox-backup-client amd64 1.1.6-2 [2 799 kB]
Пол:2 http://ru.archive.ubuntu.com/ubuntu hirsute/universe amd64 libfuse3-3 amd64 3.10.2-2build1 [75,3 kB]
Пол:3 http://ru.archive.ubuntu.com/ubuntu hirsute/universe amd64 qrencode amd64 4.1.1-1 [25,2 kB]
Получено 100 kB за 1с (188 kB/s)     
Выбор ранее не выбранного пакета libfuse3-3:amd64.
(Чтение базы данных … на данный момент установлено 219642 файла и каталога.)
Подготовка к распаковке …/libfuse3-3_3.10.2-2build1_amd64.deb …
Распаковывается libfuse3-3:amd64 (3.10.2-2build1) …
Выбор ранее не выбранного пакета qrencode.
Подготовка к распаковке …/qrencode_4.1.1-1_amd64.deb …
Распаковывается qrencode (4.1.1-1) …
Выбор ранее не выбранного пакета proxmox-backup-client.
Подготовка к распаковке …/proxmox-backup-client_1.1.6-2_amd64.deb …
Распаковывается proxmox-backup-client (1.1.6-2) …
Настраивается пакет qrencode (4.1.1-1) …
Настраивается пакет libfuse3-3:amd64 (3.10.2-2build1) …
Настраивается пакет proxmox-backup-client (1.1.6-2) …
Обрабатываются триггеры для man-db (2.9.4-2) …
Обрабатываются триггеры для libc-bin (2.33-0ubuntu5) …
 
is still the above the best way to install the Proxmox Backup Client on Ubuntu 20.04 LTS?

I've tried the official doc as in https://pbs.proxmox.com/docs/package-repositories.html#apt-based-proxmox-backup-client-repository but I get a weird

Code:
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://download.proxmox.com/debian/pbs-client buster InRelease' doesn't support architecture 'i386'

after I added the repo:

Code:
echo "deb http://download.proxmox.com/debian/pbs-client buster main" > /etc/apt/sources.list.d/pbs-client.list
wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
apt update

This is the client

Code:
root@vpn:~# cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

root@vpn:~# uname -a
Linux vpn 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
 
Last edited:
mmmh, I see I had multiarc enabled, I fixed it this way

Code:
dpkg --print-foreign-architectures
i386

so I removed it with this way

Code:
# Note that you need to remove all packages of that architecture before doing the following:
dpkg --remove-architecture i386

then the apt installation instruction cited in the Doc https://pbs.proxmox.com/docs/installation.html#client-installation and https://pbs.proxmox.com/docs/package-repositories.html#apt-based-proxmox-backup-client-repository works great on my Ubuntu 20.04:

Code:
apt-get install proxmox-backup-client


thanks
is still the above the best way to install the Proxmox Backup Client on Ubuntu 20.04 LTS?

I've tried the official doc as in https://pbs.proxmox.com/docs/package-repositories.html#apt-based-proxmox-backup-client-repository but I get a weird

Code:
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://download.proxmox.com/debian/pbs-client buster InRelease' doesn't support architecture 'i386'

after I added the repo:

Code:
echo "deb http://download.proxmox.com/debian/pbs-client buster main" > /etc/apt/sources.list.d/pbs-client.list
wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
apt update

This is the client

Code:
root@vpn:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

root@vpn:~# uname -a
Linux vpn 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
 
What about ubuntu 18 and ealier?

Code:
root@u18:~# cat /etc/issue
Ubuntu 18.04.5 LTS \n \l

root@u18:~# apt update
Hit:1 http://ru.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://ru.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                     
Get:3 http://ru.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                           
Hit:4 http://repo.zabbix.com/zabbix/5.0/ubuntu bionic InRelease
Get:5 http://ru.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2,099 kB]
Get:6 http://ru.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,736 kB]
Fetched 4,012 kB in 2s (2,210 kB/s)                                                 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

root@u18:~# apt-cache search libfuse
libfuse-dev - Filesystem in Userspace (development)
libfuse2 - Filesystem in Userspace (library)
golang-github-hanwen-go-fuse-dev - Native Go bindings for the FUSE kernel module
libfuse-perl - Perl bindings for FUSE (Filesystems in USErland

then try to install with libfuse2 getting dependency problems: proxmox-backup-client depends on libfuse3-3
 
Code:
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://download.proxmox.com/debian/pbs-client buster InRelease' doesn't support architecture 'i386'

after I added the repo:

Code:
echo "deb http://download.proxmox.com/debian/pbs-client buster main" > /etc/apt/sources.list.d/pbs-client.list
wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
apt update


Since the pbs-client repository is only compiled for amd64 you need to limit the sources.list entry to only amd64. Use the following instead.

Code:
echo "deb [arch=amd64] http://download.proxmox.com/debian/pbs-client buster main" > /etc/apt/sources.list.d/pbs-client.list
 
  • Like
Reactions: leesteken
Is there anyway to get the debian package from proxmox anymore? The repository listed above now requires authentication.

NVM, Works fine through apt. Just not a browser.
 
Last edited:
I'd like to resurrect this thread to post a better way, at least in some cases.

Tested on Mint Victoria, which is based on Ubuntu Jammy (22.04). I couldn't install proxmox-backup-client because only 1.4.8 of libzstd1 was available.

The fix is to add a repo to sources.list that has 1.5.2, and use apt preferences to restrict that repo to only source libzstd1. If we don't do this, then we suddenly have 1000 packages updateable, and we're liable to hose our system.

It is indeed risky to update even just libzstd1, but so far I'm fine, YMMV, no warranty implied.

/etc/apt/preferences.d/proxmox-libzstd1.pref
Code:
# proxmox-backup-client 3.0.2 requires libzstd1 >=1.5.2

# Don't install from ubuntu kinetic
Package: *
Pin: release n=kinetic
Pin-Priority: -100

# Install from ubuntu kinetic
Package: libzstd1
Pin: release n=kinetic
Pin-Priority: 900

Ansible playbook:
YAML:
---
- name: Pin libzstd1 to ubuntu kinetic (22.10)
  copy:
    src: proxmox-libzstd1.pref
    dest: /etc/apt/preferences.d/proxmox-libzstd1.pref
    owner: root
    group: root
    mode: 0644

- name: Add ubuntu kinetic (22.10) repository
  apt_repository:
    repo: deb http://old-releases.ubuntu.com/ubuntu kinetic main
    state: present

- name: Add Proxmox GPG repo key
  apt_key:
    url: http://download.proxmox.com/debian/proxmox-release-bookworm.gpg
    state: present

- name: Add Proxmox backup client repository
  apt_repository:
    repo: deb http://download.proxmox.com/debian/pbs-client bookworm main
    state: present

- name: Install Proxmox backup client
  apt:
    pkg:
      - libzstd1
      - proxmox-backup-client
    state: latest
    update_cache: true
    autoclean: true
 
Last edited:
That reminds me: On nix, proxmox-backup-client is available. Related, proxmove (for migrating VMs between non-clustered hosts) is also there.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!