May 18, 2011 at 4:37 am
SQL 2008 R2 on win 2008 R2 , with mixed mode authentication
Backup exec 2010 R3 (may 2011)
mydomain\s-bexec (service account for BACKUP EXEC)
Basically I am ready to lose the plot with symantec for their dreadful admin guide - section sql logon account prvilieges needed.
http://www.symantec.com/business/support/index?page=content&id=HOWTO21793
Its far too vague, and they need to assume the person reading it is not an SQLDBA.
its states:
"The windows user account must have been granted the sysadmin role on the sql instance.
in the backup selection list apply that logon account to the windows server sql is installed on and not to the acutal sql instance"
i read that the account should have db owner and sysadmin roles but i'm finding this frustrating since i have already given the s-bexec account :
Local Admin group membership
Backup Operators membership
Logon as a service
SQL Security Added user domain\s-bexec in logons
Also gave it sysadmin role and dbowner via the Management Studio console to each DB
and then when i go to test the Backup Selection List Credentials in Backupexec console it fails with
"the logon account provided does not have the appropriate privileges to backup."
under the sql server Roles i open the sysadmin role and i can see the domain\s-bexec account..
surely this should be enough and would apply to all existing DB and any new Db in the future, for this logon.
im pulling my hair out at this point... :crazy: even tried adding that logon to some of the other roles...
Really need help with this ... and after we get to bottom of it im going to post a how to here and on the symantec backupexec forums so no oneelse has to suffer the same frustration... :crazy:
May 18, 2011 at 7:39 am
Third party backup products do require sysadmin membership. You might want to open up profiler, set it up to pickup failed logins, exceptions and user error messages and then run the test. That'll tell you what account is running and what exactly it is failing on.
K. Brian Kelley
@kbriankelley
May 18, 2011 at 9:28 am
Barry
are you able to check the SQL Server logs on the instance you are trying to backup the databases on
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs"
May 18, 2011 at 10:56 am
Perry Whittle (5/18/2011)
Barryare you able to check the SQL Server logs on the instance you are trying to backup the databases on
never done it before, will have a look, if you can point me in right direction cheers.
May 18, 2011 at 12:10 pm
In Management Studio, Object Explorer, you have a Management folder. Click that, and in there is the "SQL Server Logs" folder.
There are also logs under SQL Server Agent.
May 19, 2011 at 8:19 am
K. Brian Kelley (5/18/2011)
Third party backup products do require sysadmin membership. You might want to open up profiler, set it up to pickup failed logins, exceptions and user error messages and then run the test. That'll tell you what account is running and what exactly it is failing on.
Hi Brian, thanks for that. Got it running while the selecetion test was being done.
TextDATA for Audit Login, while the account (NTUSername & LoginName are s-bexec , dom\s-bexec)
-- network protocol: TCP/IP
set quoted_identifier on
set arithabort off
set numeric_roundabort off
set ansi_warnings on
set ansi_padding on
set ansi_nulls on
set concat_null_yields_null on
set cursor_close_on_commit off
set implicit_transactions off
set language us_english
set dateformat mdy
set datefirst 7
set transaction isolation level read committed
this is followed by a Audit Logout.
then i realised i wasnt seeing all the event type so i enabled a few more than mention and filtered by NTLOGONNAME s-bexec.
Now im seeing User Error Message :
Changed database context to 'BEDB'.
followed by: Changed language setting to us_english.
could the issue be related to regional /localisation settings?
May 19, 2011 at 9:23 am
No, those are normal. If you do the same thing against a development SQL Server and login using SSMS, you'll see the same thing. Any other errors being reported? You're obviously connecting, and connecting with the account you thought it was.
K. Brian Kelley
@kbriankelley
May 19, 2011 at 4:00 pm
have you checked the sql server logs
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs"
May 20, 2011 at 8:20 am
Log File Viewer -> SQL Server - Current
For today shoe these errors:
3041, Sev 16, State 1
18204, Sev 16, State 1
I also see the BAckupDiskFile: CreateMedia for the x:\symantec\data\BEDB.bak' failed to create. OS Err 5 ( access denied),
but i believe that to be a separate issue.
Under SQL SERver Agent - Current :
nothing major there other than from 2 days ago:
[396 ] idle cpu condition undefined
[260] unable to start mail session - no profile defined
[364] messenger service not started.
May 20, 2011 at 8:29 am
OK, you've got an NTFS permission issue. You need to make sure your SQL Server and SQL Server Agent account have read-write access to that folder on your X drive.
John
May 20, 2011 at 8:29 am
barry reilly (5/20/2011)
I also see the BAckupDiskFile: CreateMedia for the x:\symantec\data\BEDB.bak' failed to create. OS Err 5 ( access denied),
Ensure the SQL Server service account has permissions on x:\symantec\data because that's likely the account being used if it's originating from within SQL Server. Otherwise, it's using the proxy account, but I would doubt that.
K. Brian Kelley
@kbriankelley
May 20, 2011 at 8:47 am
John Mitchell-245523 (5/20/2011)
OK, you've got an NTFS permission issue. You need to make sure your SQL Server and SQL Server Agent account have read-write access to that folder on your X drive.John
yep, secondary to the main issue and not related.
May 20, 2011 at 8:59 am
So those accounts have the correct permissions and you still get the error?
K. Brian Kelley
@kbriankelley
Viewing 13 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy