PowerShell script exchange
Post Reply
Leo0601
Enthusiast
Posts: 88
Liked: 8 times
Joined: Oct 13, 2020 1:40 pm
Full Name: Leo
Contact:

Add-VBRBackupRepository : failed to connect installer service

Post by Leo0601 »

Hi Experts,

I am trying to create veeam repository in Veeam 12 via powershell, I am getting the below error.
"Add-VBRBackupRepository : [domain.name.net] failed to connect installer service.

Below is my code. Could someone please help to fix this issue

$repo = Get-VBRBackupRepository -Name "Default Backup Repository"
Add-VBRBackupRepository -Folder D:\IMS_VM_BACKUP -Type WinLocal

I am looking forward to hearing from you.

Regards
Leo
david.domask
Veeam Software
Posts: 2639
Liked: 612 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Add-VBRBackupRepository : failed to connect installer service

Post by david.domask » 1 person likes this post

Hi Leo,

The error response is not expected, and sounds like there's some issue preventing a connection to the Installer Service -- this handles Veeam's management of the services/components.

Regrettably, it won't be possible to troubleshoot why it cannot connect over the forums, so please open a Support Case as noted when creating a topic. Be sure to include logs for Support to review. (Use the 3rd radio button to export from hosts, select the Veeam server itself to export logs from)

As a sanity check though, can you please rescan the Repository in question; does it also produce an error during rescan?
David Domask | Product Management: Principal Analyst
oleg.feoktistov
Veeam Software
Posts: 2021
Liked: 673 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Add-VBRBackupRepository : failed to connect installer service

Post by oleg.feoktistov » 1 person likes this post

Hi Leo,

The first troubleshooting step you can do from your side is to update your Windows backup server (that is added as a managed one in your VBR console) through Powershell once again as Installer service is deployed in scope of a server (Windows or Linux) update/add:

Code: Select all

$server = Get-VBRServer -Type Local
Set-VBRWinServer -Server $server
Add-VBRBackupRepository -Folder 'C:\Backup' -Type WinLocal
Try this and open a support case if it doesn't help.

Best regards,
Oleg
Leo0601
Enthusiast
Posts: 88
Liked: 8 times
Joined: Oct 13, 2020 1:40 pm
Full Name: Leo
Contact:

Re: Add-VBRBackupRepository : failed to connect installer service

Post by Leo0601 »

@david.domask
Hi David,

Thanks much. I have installed Veeam Installer SVC from the link which you have shared. Then it started the Veeam installer service. Its helpful and It help me to fix the other cmdlets issue I have faced.
Leo0601
Enthusiast
Posts: 88
Liked: 8 times
Joined: Oct 13, 2020 1:40 pm
Full Name: Leo
Contact:

Re: Add-VBRBackupRepository : failed to connect installer service

Post by Leo0601 »

@oleg.feoktistov

Hi Oleg,

Your logic help me to fix the issue which I have reported. Thanks much. Its the fourth time you help to fix the issue. Thanks again.

Much appreciated ::)
Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests