Forum Discussion
Getting Error on log ship backup job on Primary Database
Dear Team,
I've have configure Log shipping, Configuration done successfully on both side PR & DR. But after configuration when I start backup Job on Primary DB I've getting below mentioned Error and Job is failing.
Date 10/13/2022 10:30:00 AM
Log Job History (LSBackup_SWTDB)
Step ID 1
Server ABC-SWTDB
Job Name LSBackup_SWTDB
Step Name Log shipping backup log job step.
Duration 00:00:23
Sql Severity 0
Sql Message ID 0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 0
Message
2022-10-13 10:30:23.44 *** Error: Could not retrieve backup settings for primary ID 'ed3dca01-a2ef-402e-a7e4-354f444c7981'.(Microsoft.SqlServer.Management.LogShipping) ***
2022-10-13 10:30:23.44 *** Error: Failed to connect to server XYZ-SWTDB.(Microsoft.SqlServer.ConnectionInfo) ***
2022-10-13 10:30:23.44 *** 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) ***
2022-10-13 10:30:23.44 *** Error: The network path was not found() ***
2022-10-13 10:30:23.44 ----- END OF TRANSACTION LOG BACKUP -----
Exit Status: 1 (Error)