Backup based on tags

rastablondi

Member
Oct 5, 2020
4
1
23
47
Hi Proxmox community,

Is ist possible to control the PBS backup based on tags for vm's?

Example:
vm101 - tag: debian, fileserver, weekly
vm102 - tag: windows, ad, daily
vm103 - tag debian, test, none

Our idea:
PBS shall read the tags of the vm's automatically and perform the backup of the vm's accordingly.

Background:
The same function we have relaized today with vmware and VEEAM.
Due to migration ideas from vmware to PROXMOX PVE+PBS we would like to use the same function in the future.

Benefit:
Users (withput access to PBS) can define by simple tag if vm shall participate on automatic backups.

Any idea?

Thanks!
 
@ggoller
Thank you, added +1 to the feature request with migration purpose from esxi+veeam to proxmox+pbs
Looking forward to an implementation in PVE+PBS
 
I didn't have an issue with Pools being exclusive.
A VM can only be in one Pool at a time.
Ok.

No, the issue for me was that there's no automated way to make VMs part of a Pool.
When somebody adds a new VM, its not in a Pool. It needs to be put there first.
There is no Pool of "everything else".
So, if you use Pools, then you give up the ability to ensure that "everything else" is backed up.
Just switching to Pools instead of a basic "back up everything" or "back up this server" means that things can possibly fall through the cracks now.

I wrote a script that runs every hour, looks for machines without a backup, and if it finds any, it adds them to my NewVMs Pool.
It would be nice if that wasn't something I needed to script for.
But I'm no scripting giant. It wasn't that hard to do.
(Honestly, although I needed to write code, it was easier to do this for PBS than a similar operation in Veeam.)
So I use Pools.
 
Last edited:
  • Like
Reactions: Ash25