PowerShell script exchange
Post Reply
inoisikoiski
Influencer
Posts: 17
Liked: never
Joined: Apr 12, 2019 9:55 am
Full Name: Inoi Visp
Contact:

RestoreVESQLDatabaseCmdlet permission

Post by inoisikoiski »

Hi,

I am using the cmdlet and trying to use a service account. I have given it dbcreator role on the sql instance and is an administrator on veeam and sql server.

+ FullyQualifiedErrorId : Failed to get access to SQL Server TestSQL123.,Veeam.SQL.PowerShell.RestoreVESQLDatabaseCmdlet

What else am i missing?

Thanks
Polina
Veeam Software
Posts: 2969
Liked: 704 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: RestoreVESQLDatabaseCmdlet permission

Post by Polina » 1 person likes this post

Hi Inoi,

As per the documentation, for restore, the account must be granted the sysadmin role on the target server.
inoisikoiski
Influencer
Posts: 17
Liked: never
Joined: Apr 12, 2019 9:55 am
Full Name: Inoi Visp
Contact:

Re: RestoreVESQLDatabaseCmdlet permission

Post by inoisikoiski »

Thanks Polina!
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests