Solved

How to setup log shipping

Posted on 2009-04-06
1
1,959 Views
Last Modified: 2012-05-06
I am trying to setup log shipping from one SQL2008 server to another SQL2008 server for disaster recovery purposes. I had read instructions and all seems to setup well, but I keep getting the error below on the primary server.  I am not positive I have everything setup correctly as this is my first time setting this up, but I followed directions found on the net and they seemed straight forwards. Connectivity between the two servers seems fine, but the primary never writes out the first log even.  I did notice a new file was created in the log directory on the secondary server called. "databasenamedatnumbers.tuf"   I am not sure what the TUF file is? But the database name is the one I am testing with so I am sure it is signifigant.

Thanks
Joe

Message
2009-04-06 13:45:01.19      *** Error: Could not retrieve backup settings for primary ID 'aec07870-0176-4225-8b53-ca2d152d81c0'.(Microsoft.SqlServer.Management.LogShipping) ***
2009-04-06 13:45:01.19      *** Error: The specified agent_id AEC07870-0176-4225-8B53-CA2D152D81C0 or agent_type 0 do not form a valid pair for log shipping monitoring processing.(.Net SqlClient Data Provider) ***
2009-04-06 13:45:01.19      *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***
2009-04-06 13:45:01.19      *** Error: The specified agent_id AEC07870-0176-4225-8B53-CA2D152D81C0 or agent_type 0 do not form a valid pair for log shipping monitoring processing.(.Net SqlClient Data Provider) ***
2009-04-06 13:45:01.21      *** Error: Could not cleanup history.(Microsoft.SqlServer.Management.LogShipping) ***
2009-04-06 13:45:01.21      *** Error: The specified agent_id AEC07870-0176-4225-8B53-CA2D152D81C0 or agent_type 0 do not form a valid pair for log shipping monitoring processing.(.Net SqlClient Data Provider) ***
2009-04-06 13:45:01.21      ----- END OF TRANSACTION LOG BACKUP   -----

Exit Status: 1 (Error)
0
Comment
Question by:staticman4414
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 32

Accepted Solution

by:
Brendt Hess earned 250 total points
ID: 24091551
There are a few possible issues that can cause this that I know of.  Security is one - is the agent's security sufficient to access the log directories on all of the servers?  Setting the SQL Server agent to use a domain account, and ensuring that the domain account has the needed privs is the best way to handle this case.

Other issues can crop up if you add an additional secondary, or if you are working on a cluster.  See the link below for concise descriptions of these issues:

http://social.msdn.microsoft.com/forums/en-US/sqlreplication/thread/634851b4-d6e6-4f76-bfa3-5bd9dae6de77/
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question