To install the proxmox backup server as a VM on proxmox VE, I am using Proxmox VE version 7.0-8 and Proxmox Backup Server Version 2.0-9.
To succeed with the installation you will need to make sure that you upgrade from Proxmox VE 6x to the latest 7x version, the reason being that PVE version 6x uses a network management tool called Ifupdown version 1, and as soon as you try to install the latest proxmox backup server it tries to replace the Ifupdown with version 2 (Ifupdown2) for some reason, it hangs the installation process.
If upgrading from PVE 6x to 7x is not an option then instead create a VM with Debian’s Linux latest version and then follow my easy guide to Install Proxmox on Debian.
The backup server is going to be a critical Unit for your office/work, and It will reside as a VM on top of PVE, so by chance, if PVE crashes then you may lose your critical VMs.
Anyways coming back to the tutorial, Just go to the backup server ISO download page and select the Download button for Proxmox Backup Server 2.0 ISO Installer, this will begin the download to your desired directory, once the download is complete, its time to upload the ISO to your PVE server.
For this, log in to your PVE and then choose Server View –> Datacenter –> Choose default local storage —-> Select ISO images from the right pane—-> then select Upload button.
Once you select the Upload button a pop will generate and asking to select the desired file, now click the Select File button and browse to the directory where you have saved your downloaded ISO.
Once you find the Iso Image, Select it and then click the Upload button and this will upload the image to the PVE default local storage. Now that the ISO is uploaded, we need to know the VM hardware specifications.
Proxmox Backup Server VM Hardware Requirements
If you don’t have many backup jobs to run then choose the minimum specs.
Minimum VM specs
- 2 Cores for the cpu.
- 2 GB of Ram.
- You will need to add a separate HDD for storage(used for VM backups), while the first Hard Drive(10 Gb size) will carry the O.S for PBS (Proxmox Backup Server).
- 4 Cores for the CPU
- 8 GB for best performance, especially if you are using 1 or more TBs of Hard Drive and if not you can lower it to 4GB.
- Os HardDrive should be given atleast 10 to 15 Gbs of storage space which may be used for updates and upgardes. While Drive size for VM storage is upto you.
To create the Proxmox Backup Server VM, from Server View–>Datacenter –> top-right pane Select Create VM.
After this, the following window will open with General Section selected.
Node and VM ID are auto-generated, so let us fill in other details.
Name: I am using pbs01, you may name your VM as desired.
Start at boot: Make sure you select the check box and leave the rest at default values.
After this select the OS section.
Once you are on the OS section, select the Backup Server ISO from the list and then select the System Section.
On the System Section, don’t change anything and move to the Hard Disk section.
In the Hard Disk Section, I am using the default settings but you may choose to change the OS Disk Size as desired, and after this move to the CPU section.
In the CPU Section, Select 2 or 4 cores as per your PVE server Physical Specs, I have chosen 4. After this leave all settings at their default value and move to the Memory Section.
In the Memory section, Unselect the Ballooning Device check box, and for memory, choose any value from 2 to 8GB as per availability, I will recommend choosing 4GB if your second Hard drive ( For storing VMs ) is going to be under 1 TB in size else choose 8GB. The second Hard Drive shall be added in a separate step which will be explained later in the post.
After selecting the memory move to the Network Section.
In the Network section, I will use the default values, but you can use Vlans or Other Bridges if they are being used/defined in your PVE server.
I have highlighted the Rate Limit (MB/s), you should keep the value to be unlimited only if you back up VMs from the Host PVE server to this PBS server.
If you plan to sync your Local Backups to Remote Backup Server, then it will represent Internet Bandwidth, so tune it accordingly.
Once done with the Network Section Click Confirm Section to see the Configuration summary and then Click Finish without selecting the Check Box for Start after created, this creates a VM name pbs01 but we need to add another hard disk for backup storage.
To add additional storage go to the hardware section for your VM pbs01 (which is in the off state) and then select the Add button –> then select Hard Disk as shown in the image below.
Now add the desired size for storage, but make sure you increment 1GB to Pbs01 VM memory per Terabyte of storage.
When you add a Virtual Hard Disk, It is marked for backup, and by default, PVE backs up on the OS/System Disk, so if you add a 2 TB Virtual Disk then PVE will try to make its Backup and may run out of storage and thus crashes, so make sure to UNCHECK Backup Option and then click the Add button.
Time to start the VM and install the Backup Server.
Once you start the VM then from the top-right pane select the Console for VM, Once you see the Installer window then just select Install the Proxmox Backup Server.
After this Accept the End User License Agreement and then select the OS Hard Disk from the list as shown in the image.
Once selected then hit the Next button and you will be asked for your Country Name and Timezone, make sure your timezone is correct because this will impact your Backup schedules and Dates, and after this Hit Next and you will be asked for Administrator Password and Email, enter a strong password and confirm it, and for email make sure you enter a valid working email as this will be used to send you notifications whenever a backup fails or succeeds(depends how you configure notifications).
Once you hit the Next button then comes the Management Network Configuration Page.
Choose the Hostname (FQDN fully Qualified Domain Name), I have chosen pbs01.com.local, and for the IP Address type in your office/home network IP address and the right DNS server, and then Hit Next and you will see the summary page and if everything looks ok then Press Install button which will start the installation process.
Once the installation is complete the system will reboot itself, please do remove the ISO to avoid a continuous Installer boot after every reboot.
So if all things go well, open a browser window and type the backup server IP Address along with the default port 8007, and also make sure you type HTTPS:// before the address.
Once you press enter, you will receive the certificate warning and after proceed you will see a login page.
Just enter “root” as the username and then enter your already configured password to reach the Dashboard Section.
On the Dashboard, I have highlighted a few things such as
- Backup Server Version 2.0-4,
- Enterprise repository needs a valid subscription and
At the time of writing this post, the updated version is 2.0-9 so we need to update our backup server to the latest version, and this requires a valid subscription.
The workaround is also provided by the Proxmox Community and it is done by using the shell terminal (Command Line Interface).
Access your shell terminal and do these two steps:
- Disable the enterprise repository in pbs-eterprise.list file, the full path to this file is etc/apt/sources.list.d/pbs-enterprise.list.
To do this type nano /etc/apt/sources.list.d/pbs-enterprise, the nano editor will open the file for you, just add # sign before the following URL: deb https://enterprise.proxmox.com/debian/pbs bullseye pbs-enterprise
- Add the no-subscription repository in the sources.list file at the /etc/apt/sources.list, once done you will be able to update and upgrade the distribution.
To do this just type the following command on the shell terminal.
echo deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription >> /etc/apt/sources.list
Once the repository is added, then you are ready to update and upgrade your proxmox distribution.
Just type this and press enter:
apt-get update -y
after this type and press enter:
apt-get dist-upgrade -y
The upgrade process will take a good 10 minutes to finish, after the process is completed, reboot your VM from the shell terminal by typing reboot and then hit enter.
Once the VM is rebooted, access your dashboard and notice the highlighted changes shown in the image.
So we are done upgrading our distribution to the latest version, it is time to configure our storage for backups, and to do this we need to configure a Datastore.
A Datastore points to a “location on storage” that stores backup files. In Proxmox Backup Server, a Datastore is created on ZFS storage type. To create ZFS storage, from the left pane select Storage/Disks–>ZFS–>Create ZFS then this will open another settings window, now add the following settings as shown in the image.
Once you are done with the settings then click OK and this will create a Datastore named “vmbkp01“.
Once the Datastore is created, then to finalize the installation, it needs to be added as storage to proxmox ve, here is how you will add backup server storage to proxmox ve?
To learn more about storing backups, here is an easy guide on How To Backup Local VMs to Proxmox Backup Server?
Furthermore, here is an easy guide to Install Proxmox Backup Server On The Cloud.