Error while doing Log Shipping using MSSQL 2008 R2

Hello there,

I am trying to setup log shipping between 2 database which are in the same network but different server machine. I mean one is on 192.168.0.2 and the other one is on 192.168.0.15. I setup the log shipping and the folders on the respective servers for backup and copy of the backup file. But it seems the secondary server does not have access to the folder on the primary server where it needs to copy the backup file in its own folder. How can i setup this authentication. I prefer to use the database authentication rather then windows as my network is a simple workgroup and not using Active directory or domain setup. Please help.

cheers
Zolf

Date		9/21/2015 11:50:38 AM
Log		SQL Server (Current - 9/21/2015 11:54:00 AM)

Source		Logon

Message
Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. [CLIENT: 192.168.0.2]

Open in new window


1
zolfAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zolfAuthor Commented:
I get this error

Save Log Shipping Configuration

- Backing up primary database [pooy] (Success)

- Restoring backup to secondary database [192.168.0.15].[kaizenpoo] (Error)
      Messages
      * SQL Server Management Studio restore database 'pooy' (Microsoft SQL Server Management Studio)
      
      ------------------------------
      ADDITIONAL INFORMATION:
      
      An exception occurred while executing a Transact-SQL statement or batch. (SqlManagerUI)
      
      ------------------------------
      
      Cannot open backup device '\\192.168.0.2\Z$\Primary Backup\pooy.bak'. Operating system error 5(failed to retrieve text for this error. Reason: 15100).
      RESTORE FILELIST is terminating abnormally. (Microsoft SQL Server, Error: 3201)
      
      For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=3201&LinkId=20476
      

- Saving secondary destination configuration [192.168.0.15].[kaizenpooy] (Stopped)

- Saving primary backup setup (Stopped)

- Rolled Back (Success)



0
compdigit44Commented:
AS listed in the following article..try adding the SQL account to "Access this computer from network" Policy under Local Security Policy -> Local Policies -> User Rights Assignment -> Access this computer from network"

http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/12/19/error-message-quot-login-failed-the-login-is-from-an-untrusted-domain-and-cannot-be-used-with-windows-authentication-quot.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vitor MontalvãoMSSQL Senior EngineerCommented:
Are the both MSSQL instances having the same user for SQL Server and SQL Agent accounts?
0
zolfAuthor Commented:
thanks,got it at last
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.