-
- Enthusiast
- Posts: 39
- Liked: 2 times
- Joined: Feb 05, 2010 4:43 pm
- Full Name: Michael Harris
- Contact:
Specifying 1 VM in a job
Hello,
I have a job configured to look at a folder in VCenter which contains about 5 vms.
Is there a way for me to run the job, but only have the job run for 1 of the 5 vms?
IE. I made changes to a particular server that I want to replicate (for testing) and I'd rather not kick off the entire job and replicate all vms.
Looking to see if that was possible.
Thanks
I have a job configured to look at a folder in VCenter which contains about 5 vms.
Is there a way for me to run the job, but only have the job run for 1 of the 5 vms?
IE. I made changes to a particular server that I want to replicate (for testing) and I'd rather not kick off the entire job and replicate all vms.
Looking to see if that was possible.
Thanks
-
- Veeam Software
- Posts: 21082
- Liked: 2116 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Specifying 1 VM in a job
Michael, how about temporarily excluding other VMs from a job?
-
- Enthusiast
- Posts: 39
- Liked: 2 times
- Joined: Feb 05, 2010 4:43 pm
- Full Name: Michael Harris
- Contact:
Re: Specifying 1 VM in a job
That would work.
Will excluding those vms "break" any tracking that Veeam does?
Will excluding those vms "break" any tracking that Veeam does?
-
- Veeam Software
- Posts: 21082
- Liked: 2116 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Specifying 1 VM in a job
No, no issues with that.
-
- Service Provider
- Posts: 181
- Liked: 48 times
- Joined: Sep 03, 2012 5:28 am
- Full Name: Yizhar Hurwitz
- Contact:
Re: Specifying 1 VM in a job
Hi.
To Veeam stuff - please consider this as a feature request.
It should be something simple - like one can do in other backup software such as VDP/VDR from VMware for example.
Thanks,
Yizhar
To Veeam stuff - please consider this as a feature request.
It should be something simple - like one can do in other backup software such as VDP/VDR from VMware for example.
Thanks,
Yizhar
-
- Veeam Software
- Posts: 21082
- Liked: 2116 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Specifying 1 VM in a job
Yes, I believe this has already been requested earlier. However, thanks for the feedback!
-
- Product Manager
- Posts: 20286
- Liked: 2258 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Specifying 1 VM in a job
If your VMs have been added to backup/replication jobs as individual objects, not as parts of container, the following script might be helpful. Firstly it will ask you to input a job name and name of VM you’re going to leave. After, that it will get VMs within the given job and exclude them all except the one previously specified:
This one includes them back:
Thanks.
Code: Select all
$Jobname = Read-Host "Input job name"
$VMToBackup = Read-Host "Input VM name"
$Job = Get-VBRJob | ?{$_.name -eq $Jobname}
$Job | Get-VBRJobObject | ?{$_.name -ne $VMtobackup} | Remove-VBRJobObject
Code: Select all
$Jobname = Read-Host "Input job name"
$Job = Get-VBRJob | ?{$_.name -eq $Jobname}
($Job | Get-VBRJobObject | ?{$_.type -eq "Exclude"}).delete()
Who is online
Users browsing this forum: david.domask, Egor Yakovlev, Google [Bot], Semrush [Bot] and 101 guests