October 31, 2013 at 12:45 pm
Can someone help me on this..
For testing,I've configured logshpping on same server (primary and secondary are in same instance)..
LSCOPY job keeps failing saying permission denied..I've given share access to the folder and SQL agent service account is local admin on the server..not sure what other permissions needs to be given..
Error:
Copying log backup files. Primary Server: 'test1', Primary Database: 'Testdb', Backup Source Directory: '\\test1\I$\Logbackup', Backup Destination Directory: 'I:\Secondarylogbackups'
*** Error: Access to the path '\\test1\I$\Logbackup' is denied.(mscorlib) ***
----- END OF TRANSACTION LOG COPY -----
October 31, 2013 at 10:59 pm
'\\test1\I$\Logbackup', does I$ has permission for service account or you have given the path worngly?
is it something like this '\\test1\Logbackup'
Regards
Durai Nagarajan
November 1, 2013 at 7:06 am
thanks..Path is correct..But when I removed 'I$', it seems to be working..
Service account has Local admin privileges on the server..Do you know why it was showing access denied when I$ was included
November 3, 2013 at 11:31 am
Firstly, don't use administrative shares for file\folder access, create a new share at the appropriate folder level and ensure you set the following for the account the SQL Server agent service runs under
Share permissions
NTFS security permissions
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
November 4, 2013 at 12:06 pm
Perry Whittle (11/3/2013)
Firstly, don't use administrative shares for file\folder access, create a new share at the appropriate folder level and ensure you set the following for the account the SQL Server agent service runs underShare permissions
NTFS security permissions
+1 here... your service account (running SQL Server) does not have rights to utilize the administrative share. As mentioned above, create a new share granting rights to the SS service account.
Kurt
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
November 5, 2013 at 12:14 am
You must grant share permissions on the share itself and ntfs permissions on the folders\files. Where the 2 combine the most restrictive applies, this is the default when creating a new folder and sharing it.
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply