Guide

Proxmox Backup Server: Installation, how it works and important news

Purpose of this guide:

This guide explains step by step, how to install and configure the brand new Proxmox Backup Server with the Proxmox VE virtualization environment. At this link (https://www.firewallhardware.it/en/proxmox-backup-server-functionalities-and-features/) you can find a description of the Proxmox Backup Server solution, such as the possibility of performing incremental backups of VMs and CTs. We will also show with a series of Video guides many interesting aspects of the Proxmox VE + Proxmox Backup Server solution.

Software environment used:

The guide is applicable to the Proxmox VE ver. 6.10 forward.
The Proxmox Backup Server solution used in this article is Beta1.

Hardware environment used:

This guide requires 2 systems:

  1. A Proxmox VE environment, (PVE) installed and running
  2. A Proxmox Backup Server environment, (PBS) that we are going to install.

The PBS environment must have 2 discs (for convenience): one for the OS and the other for backup    storage.

The two operating systems have been virtualized on this hardware platform: https://www.miniserver.it/proxmox-appliance/virtual-appliance-a3server-aluminum.html equipped with a 2TB SSD drive and 32GB of RAM.

To try the PBS solution, you can also use a ready-made and free downloadable virtual PVE solution that we have made available at this link: This is a 3-node virtual cluster configured with Ceph.

Link: https://www.firewallhardware.it/opt/proxmox/test-the-functionality-of-the-proxmox-cluster-with-ceph/

How to Install Proxmox Backup Server:

Since the installation is really very simple (like PVE), we will only cover the important steps: Once the software has been downloaded, we proceed with the installation.

Since this is a test, we will create a virtual machine. Below we post the configuration we have adopted:

Proxmox Backup
Proxmox Backup

At this point we start with the installation.

We recommend that you choose the ZFS filesystem first. The reason you can go and see it in the previous articles where we talk about the functionality of the ZFS filesystem.

Proxmox Backup

At the end of the installation we enter the console and give the commands:

apt-get update

apt-get upgrade

apt-get install qemu-guest-agent (only if you are creating a VM)

apt-get install htop iotop (we’ll need them later!)

let’s reboot and finally we can enter the GUI.

Warning: the new Proxmox Backup Server GUI responds on port 8007 and NO on 8006.

https:// <My_IP>: 8007

The graphic interface will look like the following image:

Proxmox Backup

Let’s configure the PBS:

Clicking on Disks the situation should be as follows:

Proxmox Backup

Let’s now create the storage that will host the backups: Click on Disks, ZFS and do the seg. Configuration:

Proxmox Backup

Our PBS storage will then appear in the Datastore session as follows:

Proxmox Backup

Let’s now move on to the configuration of the PVE.

Let’s configure the PVE

Let’s go to our Proxmox VE (remember that you need at least version 6.2.10) to make the necessary configurations:

let’s add the repositories as follows:

vi /etc/apt/sources.list
deb http://download.proxmox.com/debian/pbs buster pbstest
vi /etc/apt/sources.list.d/pve-enterprise.list
# deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

then we update everything and restart:

apt-get update
apt-get upgrade
reboot

After the reboot, we return to the console and install the package that will allow us to configure our PBS as Backup storage.

apt-get install proxmox-backup-server
apt-get install proxmox-backup-client

We give the following command to identify the key that will allow us to connect the 2 PBS environments with PVE:

proxmox-backup-manager cert info

the command will return an output of the type:

Proxmox Backup

what interests us will be the fingerprint, in our case: 25:93:0a:62:a9:60:b1:c2:70:40:83:69:51:e5:52:04:99:54:89:88:f5:87:df:e2:86:e9:1c:3b:55:90:94:9c

Let’s configure the PBS:

Let’s go back to the PBS and connect it to the PVE:

Click on Remotes and make the following configuration, entering in the field:

Remote and Host the IP of the PVE server

fingerprint the output (in our case): 25: 93: 0a: 62: a9: 60: b1: c2: 70: 40: 83: 69: 51: e5: 52: 04: 99: 54: 89: 88: f5: 87: df: e2: 86: e9: 1c: 3b: 55: 90: 94: 9c

The userid and password will be those of the PVE. Please note that the userid must be indicated as root @ pam, or user @ <authentication method>.

Example:

Proxmox Backup

Let’s configure PVE

Let’s go back to the PVE and go to Datacenter, click on Add and notice that a new storage device has appeared, that is Proxmox Backup Server!

Proxmox Backup

Let’s go now to configure it:
in our case the configuration will be as follows:

Proxmox Backup

Where is it:
ID: is the name you want to give to the storage resource seen by the PVE

Server: the IP of the PBS

Username: userid must be specified as root @ pam, which is user@.

Password: PBS password.

Datastore: in our case it will be backupprox. I therefore point out that it will be possible to configure multiple datastores on the same PBS with different rules. This is a very interesting feature.

Max Backup: The maximum number of backups to keep in the storage.

Fingerprint: The signature to put in this field can be obtained by going to the PBS dashboard, clicking on the “Show Fingerprint” button, copy and paste it here.

By clicking on Add, if everything has been done correctly the configuration should be completed.

By clicking on pbs, the final result should be this:

Proxmox Backup

At this point the configuration is finished, we just have to create a VM on the PVE and check that everything is working.

Note: if you have created PVE as a VM, you must go under the Options of the created VM and disable the “KVE hardware virtualization” parameter, otherwise your VM will NOT boot.

Let’s start the VM and perform a backup taking care to select our PBS as the destination:

Proxmox Backup

Let’s move now on PBS:

Once the backup is launched, let’s see what happens on the PBS

Proxmox Backup

If we relaunch the backup on the PVE, we see that under the Datastore and on the PBS Dashboard the information begins to populate.

Proxmox Backup

Obviously it will be possible to notice that the first backup will be total, while the subsequent ones will be incremental, therefore faster and thus require much less I / O both on the PVE source machine and on the PBS target storage.

To learn more about these aspects and to learn more about the use of this tool, we refer you to the videos on our youtube channel to which we invite you to subscribe to stay updated on the various insights that we regularly release.

Proxmox Backup Server: lthe new solution for incremental backup – Italian video [Part 1]

Proxmox Backup Server: the new solution for incremental backup – Italian video [Part 2]

Conclusions:

Currently the PBS solution is only at the Beta1 version, however there are really very interesting features. Despite being a Beta, therefore NOT suitable for use in production, the solution seems very stable to us.

  ti posso interessare anche