Tips for running Veeam on a Hyper-V host

April 4, 2021

I've been using the free version of Veeam Backup & Replication to backup the VMs in my home IT environment. It's a great tool that is easy to configure, but I've encountered a problem where the Veeam services do not start automatically when the server is rebooted. This may be due to the fact that I am running Veeam on the Hyper-V host, which is an unsupported configuration by Veeam. Although this is not the best practice, it is the best arrangement for the resources I have in my environment. To resolve the autostart issue, I wrote a PowerShell script that checks for any stopped Veeam services and starts them. I then created a scheduled task that runs this script on startup. Here is the text to the script:



get-service 'MSSQL$VEEAMSQL2016' | Where {$_.Status -eq 'Stopped'} | start-service

get-service 'SQLTELEMETRY$VEEAMSQL2016' | Where {$_.Status -eq 'Stopped'} | start-service

get-service -name veeam* | Where {$_.Status -eq 'Stopped'} | start-service



So far, the results have been perfect, and all Veeam services successfully start after rebooting the server. If you're interested in using this in your environment, you can download the script from my GitHub page here.