ProxMox backup server as a VM or on bare metal?

mailinglists

Renowned Member
Mar 14, 2012
641
67
93
HI guys,

i'm about to start playing with PM backup server.

I have it currently installed on bare metal. I noticed, that it can not be a part of cluster, and got me thinking, is there any reason not to install it just as a VM in PM itself?
I see only advantages.
 
Hi,

you can do that but you will add coupling between the cluster (one of the backup sources) and the backup server (the target), which may become an issue on outages. Further, it will share IO, memory and CPU resources with other VMs, this may not be ideal for both, the PBS and the other guests on the Proxmox VE host (during backup times you could have increased load spikes).

Proxmox Backup Server has no cluster concept, but you can add other PBS servers as remote and configure a sync job to pull backups from them efficiently for off-site backups.
 
Last edited:
Hi T.,
thank you for your reply.

As I do not plan to run any other VMs except for backup VM, i will kindly ask you to elaborate on "add coupling between the cluster (one of the backup sources) and the backup server (the target), which may become an issue on outages".

What kind of issue can arise on what kind of outages from this coupling?
How does that differ from the same issue arising with usual PM hosts and their guests?

Using it as a VM on a dedicated node, allows me to move the backup service to another (possibly bigger) node easily and to get another vote for my cluster quorum, where cluster is two production nodes (with replication) and third node for backup.
 
  • Like
Reactions: Tmanok
As I do not plan to run any other VMs except for backup VM, i will kindly ask you to elaborate on "add coupling between the cluster (one of the backup sources) and the backup server (the target), which may become an issue on outages".

What kind of issue can arise on what kind of outages from this coupling?

You double the operating systems used, doubling outage risks from Operating system issues (not a 100% true calcualation, but to give you an idea).
Putting your Backup system, which may be the most important during a outage or other issues, means that if the PVE host does not boots anymore you're need to first debug that before getting even to start checking out the backup VM. Simpler setups, meaning less complexity below the backup service here, should be prioritized to minimze the things which can fail between you and the backup.

How does that differ from the same issue arising with usual PM hosts and their guests?

Other VMs on PVE hosts do not host backups. A similar coupling could be described with using a VM as a firewall/router for the whole system, also the physical PVE hosts it runs on. While it can work out, you have a bigger risk as on an outage you need to bootstrap the network from the outside, which maybe hard - especially if you could only connect over that (now dead) network.

Using it as a VM on a dedicated node, allows me to move the backup service to another (possibly bigger) node easily and to get another vote for my cluster quorum, where cluster is two production nodes (with replication) and third node for backup.

I'd then rather suggest installing Proxmox Backup Server and Proxmox VE along side on the same host, without CT or VM separation. Here, if the host boot really fails, you could always just use a PBS ISO + a USB drive and install it there to get a running backup server with all your data (provided that was on another storage than the OS) again up and running.
If you need to move to a bigger server you could then use the native remote sync feature of the PBS.

So, my point is, you won't gain actually something from using a VM for PBS in the described scenarios and there are some situation where it may even hurt.

If you'd use a redundant shared storage like a ceph setup just for the backup data one could argue that having a VM, which then can be migrate lightweight and fast (no storage migration).
But, then you naturally would need to handle the extra complexity of a separate redundant storage setup, which can also bring complexity and bootstrap on outage issues with it.

TL;DR: it normally will work OK, but not provide much benefits. On the other hand, reducing layers for such critical things can help in some situations.
 

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!