Proxmox Backup Client how to install it on Ubuntu 22.04

download debian file from: http://download.proxmox.com/debian/pbs-client/dists/bullseye/main/

the correct file to choose is: proxmox-backup-client-static_3.4.7-1_amd64.deb 

go to the folder where you downloaded it and run it with:

sudo apt install ./proxmox-backup-client-static_3.4.7-1_amd64.deb

create a hidden folder on your home where you will store the login credentials for the Proxmox Backup Server on which you will save the backups.

in my case I created the following in my home directory with

mkdir .config/proxmox-backup-client/root@192.168.123.124:8007

inside it create the .config file containing the configuration for accessing the PBS

in my case i named it SERVERHP.cfg

nano SERVERHP.cfg

populate it with the following data:

user=root@pam (user who has access to PBS)
password=”password” (the password you use to access PBS without the quotes)
fingerprint=”serverpringerfing” (PBS fingerprint you use to access PBS without the quotes)

save CTRL+O exit CTRL+X

To create the backup you need to run from the command line

Let’s say I want to create a backup of the /mnt/CONDIVISA folder and I want to name the backup “condivisa” (the name of the backup we will create must be expressed with the .pxar extension)

  • in my case the datastore on PBS is called “SERVERHP”
  • PBS has ip 192.168.123.124
  • I chose the “host” backup mode which is recommended for an instant test backup

(without sudo command)

proxmox-backup-client backup condivisa.pxar:/mnt/CONDIVISA \
–repository root@pam@192.168.123.124:SERVERHP \
–backup-type host

Tags:

Comments

Lascia un commento