Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Transact Log Shipping Expand / Collapse
Author
Message
Posted Wednesday, September 11, 2013 11:45 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, May 9, 2014 11:26 AM
Points: 54, Visits: 109
I am trying to set up Transact Log shipping to test the theory for management. I am having trouble though on the copy portion of the steps. The file backs up and puts itself on the Sql Server in the location I specified but then on the copy function it busts. It always gives me access denied. Every where I read it says its using the sql Agent accounts. So I took both sql agent accounts and gave them the ability of full control on the NFTS permissions, but its still a no go. I can get to both share locations. Here is what the error reads every time. It looks like its the Sql agent account does not have permissions to the 1st server to copy but when I look at permissions it has them at Full control.

Backing up primary database [J6Contacts] (Success)

- Restoring backup to secondary database [ngmna3-?????-c2].[J6Contacts] (Error)
Messages
SQL Server Management Studio restore database 'J6Contacts' (Microsoft SQL Server Management Studio)

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (SqlManagerUI)

------------------------------

Cannot open backup device '\gmnA4-?????-D1\TransactionLogs\J6Contacts.bak'. Operating system error 5(Access is denied.).
RESTORE FILELIST is terminating abnormally. (Microsoft SQL Server, Error: 3201)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.5766&EvtSrc=MSSQLServer&EvtID=3201&LinkId=20476


- Saving secondary destination configuration [ngmna3-?????-c2].[J6Contacts] (Stopped)

- Saving primary backup setup (Stopped)

- Rolled Back (Success)

Post #1493832
Posted Wednesday, September 11, 2013 11:50 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, May 9, 2014 11:26 AM
Points: 54, Visits: 109
ever mind solved, needed to add permissions to share and to NTFS, hate Win 2008
Post #1493838
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse