Separate user accounts for special use cases

Apr 13, 2023
4
0
6
Hello,

I am currently preparing my first Proxmox VE server for a customer.

As I do not yet have in-depth Linux knowledge, I would like to ask the following: Is there a "best practices" guide that explains how to set up two separate user accounts for the following use cases?

1. Veeam Backup (please don't ask why I’m not using Proxmox Backup)

An account that has permissions exclusively for performing backups and restores via Veeam.


2. Remote shutdown command

An account that has only the permission to connect to the Proxmox VE host (e.g., from an uninterruptible power supply/UPS) and execute a script that shuts down the VMs followed by the host itself. I have already prepared the script, and it works as intended when run via SSH.

Best regards - Olaf
 
An account that has permissions exclusively for performing backups and restores via Veeam.
I have no idea how Veeam does backup nowadays. Find that out and then you get an answer to the question.

In case of vzdump or PBS, you would schedule regular backups in PVE as admin, if you want to do manual backups or restores, you would setup a user that can do that, but as already set, I don't know if that works with Veeam. It's not properl integrated if you're used to PVE internal backup.

An account that has only the permission to connect to the Proxmox VE host (e.g., from an uninterruptible power supply/UPS) and execute a script that shuts down the VMs followed by the host itself. I have already prepared the script, and it works as intended when run via SSH.
As only root can shutdown a machine, the term user does not apply here. I would recommend to use an SSH key that ONLY can run the shutdown command. Look into the command option in authorized_keys. Why do you need a script to shutown the VMs? That is normally done automatically.
 
i don't use Veeam Backup, so i ask the ki, chatgpt and he meens:

"For standard virtual machines, Veeam Backup & Replication runs very reliably on Proxmox VE, though there are still noticeable limitations and common pitfalls. Because Veeam implements Proxmox integration using a dedicated plug-in and Linux worker VMs, it still lacks some convenience features compared to VMware vSphere or the native Proxmox Backup Server (PBS).

Functional Limitations

  • No support for LXC containers. Veeam's Proxmox integration can only back up full virtual machines. If you use LXC containers, you must back them up using PBS or install a Veeam Agent inside the container.
  • Restricted storage support. According to the official Veeam documentation on limitations, VMs stored on BTRFS, custom storage, and directly attached iSCSI drives are not supported. The target storage must also natively support snapshots.
  • Missing Proxmox automations. Veeam cannot dynamically select VMs based on Proxmox Resource Pools. It also ignores the Proxmox setting to exclude individual disks (backup=0), so you must manually deselect disks inside the Veeam job settings.
  • Fewer backup options. Features like reverse incremental backups or custom pre-freeze and post-thaw scripts at the hypervisor level are not available for Proxmox.
Common Real-World Issues
  • Extra resource usage and startup delays. Veeam spins up temporary worker VMs on the Proxmox host for backups, which use 6 vCPUs and 6 GB of RAM by default. Booting these workers delays the start of every backup job by about one to two minutes.
  • Performance tuning on Ceph and ZFS. User reports on Reddit show that throughput can vary significantly depending on the storage backend. Changing the worker VM's CPU type from host to x86-64-v2 or adjusting the disk cache mode often resolves slow transfer speeds.
  • QEMU Guest Agent errors. If the QEMU Guest Agent is missing or outdated inside a guest VM, backups frequently fail during the virtual disk preparation phase. On certain Linux or BSD systems, you also need to disable Application-Aware Processing to avoid errors.
  • Powered-off VMs in High Availability clusters. If a VM is powered off and its HA state in Proxmox is set to "Stopped," the NBD connection will fail during backup unless you manually edit the configuration file (LockVmOnBackup).
  • Dependencies during Proxmox updates. After major Proxmox upgrades (such as moving to Proxmox VE 9), API or disk errors occasionally occur until Veeam releases a compatible update for its separate Proxmox plug-in.
When It Is Still Worth Using
If you already run a Veeam infrastructure, manage mixed hypervisor environments, or are migrating from VMware to Proxmox, backing up standard KVM virtual machines works reliably. In pure Proxmox environments with many LXC containers, Proxmox Backup Server is usually the simpler choice."
 
Last edited: