-
- Lurker
- Posts: 2
- Liked: 1 time
- Joined: Aug 12, 2021 3:15 pm
- Full Name: Kevin
- Contact:
Agent Use on Virtual Machines
Hello,
I searched around for a while but couldn't find the information I was looking for. What would be the benefits of utilizing agent-based backups on a virtual machine, instead of just using a "normal" backup job? I recently took over responsibility of a veeam deployment, both vmware and hyper-v, and saw some VMS that have agent-based backups configured.
Thanks for the help!
I searched around for a while but couldn't find the information I was looking for. What would be the benefits of utilizing agent-based backups on a virtual machine, instead of just using a "normal" backup job? I recently took over responsibility of a veeam deployment, both vmware and hyper-v, and saw some VMS that have agent-based backups configured.
Thanks for the help!
-
- Veeam Software
- Posts: 3626
- Liked: 608 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: Agent Use on Virtual Machines
Hi Kevin,
Agent-based backup is typically used due to some host-based processing limitations on hypervisor side, for example RDM virtual disks in physical mode, independent disks on VMware or pass-through disks on Hyper-V.
Thanks!
Agent-based backup is typically used due to some host-based processing limitations on hypervisor side, for example RDM virtual disks in physical mode, independent disks on VMware or pass-through disks on Hyper-V.
Thanks!
-
- Lurker
- Posts: 2
- Liked: 1 time
- Joined: Aug 12, 2021 3:15 pm
- Full Name: Kevin
- Contact:
Re: Agent Use on Virtual Machines
Thanks! I will take a look and see if any of those exist. Appreciate the quick assistance.
-
- Product Manager
- Posts: 9848
- Liked: 2607 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Agent Use on Virtual Machines
Another reason, application backup on Linux VMs
PostgreSQL or MySQL databases are our reason.
PostgreSQL or MySQL databases are our reason.
Product Management Analyst @ Veeam Software
-
- Enthusiast
- Posts: 71
- Liked: 14 times
- Joined: Jul 06, 2018 3:44 am
- Full Name: Moopere
- Contact:
Re: Agent Use on Virtual Machines
The main reason I use agents is that the VM's move about, hosted on this host on one day and another host on a different day. I'm interested in backing up the VM, not the host, so I simply target the VM network name and don't need to care much where exactly its currently living.
-
- Novice
- Posts: 3
- Liked: never
- Joined: Feb 21, 2018 4:26 pm
- Contact:
Re: Agent Use on Virtual Machines
if you have VMs which share disk for clustering purposes is another reason to go with an agent
-
- Veeam Legend
- Posts: 945
- Liked: 221 times
- Joined: Jul 19, 2016 8:39 am
- Full Name: Michael
- Location: Rheintal, Austria
- Contact:
-
- Veteran
- Posts: 1045
- Liked: 209 times
- Joined: Oct 02, 2017 7:28 pm
- Full Name: Herbert Szumovski
- Contact:
Re: Agent Use on Virtual Machines
Maybe I misunderstand something here, but why do you need an agent for this ?Moopere wrote: ↑Aug 16, 2021 3:15 am The main reason I use agents is that the VM's move about, hosted on this host on one day and another host on a different day. I'm interested in backing up the VM, not the host, so I simply target the VM network name and don't need to care much where exactly its currently living.
Veeam doesn't care where the VM runs, it is just backed up, regardless on which ESX or HyperV server it's currently running.
-
- Novice
- Posts: 4
- Liked: 1 time
- Joined: Jun 15, 2018 2:31 pm
- Full Name: Jennifer Smith
- Contact:
Re: Agent Use on Virtual Machines
Another reason: we have a single VM hosted by a separate entity as part of their VMWare hypervisor. Obviously we don't have privs (or need!) to back up their entire server, just our one single VM. (This is about to bite us licensing-wise when we finally upgrade to v11, as we have socket licenses...)
-
- Product Manager
- Posts: 9848
- Liked: 2607 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Agent Use on Virtual Machines
Since Veeam V10, you have one complimentary license per each socket (max 6 per vbr server). If you don‘t have added the vsphere environment to the veeam server, this free gifted license can be used for the agent.bite us licensing-wise when we finally upgrade to v11, as we have socket licenses
Product Management Analyst @ Veeam Software
-
- Enthusiast
- Posts: 71
- Liked: 14 times
- Joined: Jul 06, 2018 3:44 am
- Full Name: Moopere
- Contact:
Re: Agent Use on Virtual Machines
With unlimited licenses and unlimited storage space the above would be a valid path, and one I'd take. As things are however, backing up copies of offline VM's consumes licenses and storage and I don't care about these offline VM's in any case.Herbert Sz wrote: ↑Aug 16, 2021 9:43 am Maybe I misunderstand something here, but why do you need an agent for this ?
Veeam doesn't care where the VM runs, it is just backed up, regardless on which ESX or HyperV server it's currently running.
The added advantage I've had to use a few times for no additional effort is the ability to restore these agent backups to hardware (as in V2P) - doesn't happen very often certainly, but when a case arises its quite convenient.
-
- Product Manager
- Posts: 9848
- Liked: 2607 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Agent Use on Virtual Machines
I do not understand that. If you do vm backups, you don‘t have to backup everything.With unlimited licenses and unlimited storage space the above would be a valid path, and one I'd take. As things are however, backing up copies of offline VM's consumes licenses and storage and I don't care about these offline VM's in any case.
You have the free will to choose which vms you want to backup. You don‘t have to backup each vm, online or offline.
https://helpcenter.veeam.com/docs/backu ... ml?ver=110
Product Management Analyst @ Veeam Software
-
- Enthusiast
- Posts: 71
- Liked: 14 times
- Joined: Jul 06, 2018 3:44 am
- Full Name: Moopere
- Contact:
Re: Agent Use on Virtual Machines
@Mildur,
But why would anyone want to do it that way? Unless I'm missing something really basic:
- VM's found consume licenses unless specifically excluded
- Fiddling around with excluding VM's on individual hosts is surely powers of magnitude more time consuming than simply installing the managed agent onto a VM directly and from that point not caring about which host is running it.
I don't actually see an advantage to doing it in the recommended way (all VM's on all protected hosts) unless one were running massive VM farms and needed to back up all VM's no matter their state. I also get the advantage of being able to V2P easily which is seldom but sometimes required.
Ultimately, if one owns the VM's in question, and assuming no interoperability problems in having an additional agent service running on the VM it seems like there is no measurable downside. Backup Exec among others, has an option to not back up 'unpowered' VM's which works in the same way. The question has been asked on the forums before to include this functionality but the response, to my knowledge, has always been to run the agent.
Production VM's are always powered on and should always be backed up no matter where they are. They can be restored to a VM or to hardware as required and one can move them about in a server farm without any real thought.
If on the other hand one has more than enough licenses to cover all possibilities, and/or don't own the VM's that are being run (ie, providing a hosting platform) then sure, agentless is really the only (sane) way to do it.
But why would anyone want to do it that way? Unless I'm missing something really basic:
- VM's found consume licenses unless specifically excluded
- Fiddling around with excluding VM's on individual hosts is surely powers of magnitude more time consuming than simply installing the managed agent onto a VM directly and from that point not caring about which host is running it.
I don't actually see an advantage to doing it in the recommended way (all VM's on all protected hosts) unless one were running massive VM farms and needed to back up all VM's no matter their state. I also get the advantage of being able to V2P easily which is seldom but sometimes required.
Ultimately, if one owns the VM's in question, and assuming no interoperability problems in having an additional agent service running on the VM it seems like there is no measurable downside. Backup Exec among others, has an option to not back up 'unpowered' VM's which works in the same way. The question has been asked on the forums before to include this functionality but the response, to my knowledge, has always been to run the agent.
Production VM's are always powered on and should always be backed up no matter where they are. They can be restored to a VM or to hardware as required and one can move them about in a server farm without any real thought.
If on the other hand one has more than enough licenses to cover all possibilities, and/or don't own the VM's that are being run (ie, providing a hosting platform) then sure, agentless is really the only (sane) way to do it.
-
- Product Manager
- Posts: 9848
- Liked: 2607 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Agent Use on Virtual Machines
You don't have to choose "everything".But why would anyone want to do it that way? Unless I'm missing something really basic:
- VM's found consume licenses unless specifically excluded
- Fiddling around with excluding VM's on individual hosts is surely powers of magnitude more time consuming than simply installing the managed agent onto a VM directly and from that point not caring about which host is running it.
Choose the one VM to backup and you don't need to exclude anything.
Never ever.
It takes 5 seconds to choose this vm. This is not time consuming.
https://helpcenter.veeam.com/docs/backu ... ml?ver=110
Product Management Analyst @ Veeam Software
-
- Enthusiast
- Posts: 71
- Liked: 14 times
- Joined: Jul 06, 2018 3:44 am
- Full Name: Moopere
- Contact:
Re: Agent Use on Virtual Machines
I thought I'd come back to this old thread as I recently had a site with some internal migration going on and the opportunity to do some test scenario's without interfering with production popped up.
I can see why using the Virtual Infrastructure backup type would be convenient, you install at the hypervisor level and all the VM's, or the chosen VM's from that specific hypervisor get backed up. No need to care about who owns what or how many there are. For shared infrastructure this is probably the only reasonable way to do backups.
However, the use-case I argued for in the body of this thread still seems to stand and for the site migration I was engaged with this time around I ended up going back to the agent-inside-vm model.
- There are three hosts and the VM's get moved arbitrarily between them. I don't want to have to fiddle with backups, or remember to fiddle with them, every time a VM moves
- There are Hyper-v replica's. There is no value that I can see in backing up an offline replica. Doing so just doubles the repository space required and also the backup window. Removing the replica's from the backup involves, as above, adjusting the backup job every time something changes ... the live or offline replica changing role for example.
- There are a bunch of VM's that are unimportant for DR purposes. There really is no need to waste licenses, storage or time backing these up. Whilst I realise you can exclude them, again, exclusion appears to be performed at the hypervisor level. So, 3 hypervisors, say 20 VM's (that need to be excluded), thats 60 VM's to manage and of course they are moving about between hypervisors and being deleted and added constantly. With the agent inside the VM model, you install an agent into those VM's that are critical for DR and ignore the rest.
If you could specify VM's at the VM name level, across the site, and/or exclude switched off VM's from backups (which would take care of Hyper-v replica's) then I'd probably have a different view.
I can see why using the Virtual Infrastructure backup type would be convenient, you install at the hypervisor level and all the VM's, or the chosen VM's from that specific hypervisor get backed up. No need to care about who owns what or how many there are. For shared infrastructure this is probably the only reasonable way to do backups.
However, the use-case I argued for in the body of this thread still seems to stand and for the site migration I was engaged with this time around I ended up going back to the agent-inside-vm model.
- There are three hosts and the VM's get moved arbitrarily between them. I don't want to have to fiddle with backups, or remember to fiddle with them, every time a VM moves
- There are Hyper-v replica's. There is no value that I can see in backing up an offline replica. Doing so just doubles the repository space required and also the backup window. Removing the replica's from the backup involves, as above, adjusting the backup job every time something changes ... the live or offline replica changing role for example.
- There are a bunch of VM's that are unimportant for DR purposes. There really is no need to waste licenses, storage or time backing these up. Whilst I realise you can exclude them, again, exclusion appears to be performed at the hypervisor level. So, 3 hypervisors, say 20 VM's (that need to be excluded), thats 60 VM's to manage and of course they are moving about between hypervisors and being deleted and added constantly. With the agent inside the VM model, you install an agent into those VM's that are critical for DR and ignore the rest.
If you could specify VM's at the VM name level, across the site, and/or exclude switched off VM's from backups (which would take care of Hyper-v replica's) then I'd probably have a different view.
-
- Product Manager
- Posts: 9848
- Liked: 2607 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Agent Use on Virtual Machines
Hi Moopere
Thanks for your thoughts.
Names are not optimal for tracking an object. A name can be changed by the administrator. To track an object, a unique, unchangeable value must be used.
With HyperV, we can track a vm only when you use a Cluster or SCVMM.
Thanks for your thoughts.
What happens, if someone decides to give another VM the same name? What would happen to the backup chain?If you could specify VM's at the VM name level, across the site
Names are not optimal for tracking an object. A name can be changed by the administrator. To track an object, a unique, unchangeable value must be used.
With HyperV, we can track a vm only when you use a Cluster or SCVMM.
Product Management Analyst @ Veeam Software
-
- Enthusiast
- Posts: 71
- Liked: 14 times
- Joined: Jul 06, 2018 3:44 am
- Full Name: Moopere
- Contact:
Re: Agent Use on Virtual Machines
I think it was mentioned in the main part of the thread, but for my SMB use cases having an option to not backup VM's that are turned off would probably help the scenario I'm explaining. I realise there are caveats with that model also, but there are with any direction one chooses to take.
I also understand the danger of multiple VM's with the same name - in large environments this would be a potential problem. Again, not saying we shouldn't have hypervisor level backups available, they are eminently useful for any number of use cases and certainly if backup window, license cost and repository storage is not an issue at a site then great, backup everything all the time.
I work in the SMB space though and I haven't ever been to a site in 20 years where license cost and storage limitations (for everything, not only backup) aren't a 'hard barrier' to what I might like to do, IT wise, in a perfect world.
Having said all that. During the migration I'm speaking of in the last post I have actually hit 1x Windows Server 2012R2 legacy VM and 1x SBS2011 VM that absolutely refuse to backup using the agent. Both these VM's were previously backed up with Backup Exec agents and I think this has left some residual problem inside the VM's even though those agents are uninstalled now. So ... hypervisor level backups for those ... along with the management effort that entails.
I also understand the danger of multiple VM's with the same name - in large environments this would be a potential problem. Again, not saying we shouldn't have hypervisor level backups available, they are eminently useful for any number of use cases and certainly if backup window, license cost and repository storage is not an issue at a site then great, backup everything all the time.
I work in the SMB space though and I haven't ever been to a site in 20 years where license cost and storage limitations (for everything, not only backup) aren't a 'hard barrier' to what I might like to do, IT wise, in a perfect world.
Having said all that. During the migration I'm speaking of in the last post I have actually hit 1x Windows Server 2012R2 legacy VM and 1x SBS2011 VM that absolutely refuse to backup using the agent. Both these VM's were previously backed up with Backup Exec agents and I think this has left some residual problem inside the VM's even though those agents are uninstalled now. So ... hypervisor level backups for those ... along with the management effort that entails.
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Jun 09, 2022 12:38 pm
- Full Name: David White
- Contact:
Re: Agent Use on Virtual Machines
Yeah we use it on our ESX servers with PCI card pass through thats been turned. veeam doesnt like it.
Who is online
Users browsing this forum: No registered users and 18 guests