x
login about faq Site discussion (meta-askssc)

Could not retrieve backup settings for primary ID in log shipping

Hi,

I am doing log shipping between two amazon ec2 instances running windows server 2008 R2.

The sql server version is Sql server 2008 R2 standard edition

Both the instances are in the same domain and i can access the shared folders between the intances.

The sql server service account, agent service account are all running under domain account.

When i activate log shipping (with stand by mode restore in secondary server), the inital backup gets restored on the secondary.

After that the backup operation is getting failed and i get the following error message.

* Error: Could not retrieve backup settings for primary ID 'xxxxxx-xxxx-xxxx-xxxx-4d772cd7337e'.(Microsoft.SqlServer.Management.LogShipping) *

* Error: Failed to connect to server IP-0A7653F2.(Microsoft.SqlServer.ConnectionInfo) *

****** Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server.********

The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(.Net SqlClient Data Provider) * ----- END OF TRANSACTION LOG BACKUP -----**

Please help me on this..

Thanks,

Sarathy

more ▼

asked Oct 05 '12 at 01:22 PM in Default

vijayasarathy gravatar image

vijayasarathy
11 2

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

the error came after restore the Full back on secondry server or while taking the log backup on primary server...

more ▼

answered Oct 05 '12 at 01:33 PM

basit 1 gravatar image

basit 1
439 36 54 80

The initial backup got restored in secondary server and then the subsequent backup job in primary server got failed.

Oct 05 '12 at 02:13 PM vijayasarathy
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x49

asked: Oct 05 '12 at 01:22 PM

Seen: 291 times

Last Updated: Oct 05 '12 at 03:21 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.