Host-based backup of VMware vSphere VMs.
Post Reply
collinp
Expert
Posts: 239
Liked: 13 times
Joined: Feb 14, 2012 8:56 pm
Full Name: Collin P
Contact:

Backup Job Groupings

Post by collinp »

I haven't found a good way to group VM's within backup jobs without using powershell. If you have a single large cluster with dozens of hosts, hundreds of datastores, dozens of Petabytes and thousands of VM's, what is the best way to group VM's without code? If I choose to pin my job to a cluster, I will have a single job with thousands of VM's. If I choose by host, then as the VM's move around to different hosts, they will produce many different backup chains. if I choose by VMware datastore, datastores are removed and added weekly and we could miss backups. Tags are good, but only if the team creating the VM remembers to add the tag. Could there be a feature in the future to create backup jobs based on Dynamic groups? So we could implement something like this - an A group for machines starting with the letter A, B group for machines starting with letter B... At this point in time we have powershell scripts dynamically creating backup jobs and adding VM's to these jobs but it would be nice to get away from maintaining a script.
collinp
Expert
Posts: 239
Liked: 13 times
Joined: Feb 14, 2012 8:56 pm
Full Name: Collin P
Contact:

Re: Backup Job Groupings

Post by collinp »

Or I could take it a step further like make a dynamic backup job that has indexing turned on for all servers larger than X terabyte. Or perform SQL backups on any vm that has *SQL* in the name. Etc.
PetrM
Veeam Software
Posts: 3626
Liked: 608 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Backup Job Groupings

Post by PetrM »

Hi Collin,

You can filter objects by name using the bottom search line in this step of the backup job creation wizard. Isn't it enough for your case, if not, may I ask you to elaborate on why it's not enough?

Thanks!
collinp
Expert
Posts: 239
Liked: 13 times
Joined: Feb 14, 2012 8:56 pm
Full Name: Collin P
Contact:

Re: Backup Job Groupings

Post by collinp »

That step looks like it is a one time selection of VM’s to put in the job by filter. I’m looking for something where as VM’s get added to vcenter, they automatically get placed into jobs based on a filter.
MarkBoothmaa
Veeam Legend
Posts: 198
Liked: 55 times
Joined: Mar 22, 2017 11:10 am
Full Name: Mark Boothman
Location: Darlington, United Kingdom
Contact:

Re: Backup Job Groupings

Post by MarkBoothmaa » 1 person likes this post

What about vmtags?
https://helpcenter.veeam.com/docs/backu ... ml?ver=110
Setup jobs grouped to tags and as you deploy VM's build adding the tag into the process.
PetrM
Veeam Software
Posts: 3626
Liked: 608 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Backup Job Groupings

Post by PetrM »

Hello,

As Collin said above:
collinp wrote:Tags are good, but only if the team creating the VM remembers to add the tag.
However, I would say that the most reliable approach is to negotiate with the team responsible for the VMs creation to always add a tag, the main purpose of the tags is to categorize objects in the virtual infrastructure. The dynamic text filter will work only if the team follows the strictly defined naming convention to create VMs, thus the likelihood that some objects are not included in the job is anyway quite high. Also, you can refer to this topic to find different examples of scripts to find VMs without tag and probably share with the team.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests