Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 97
  • Last Modified:

Unable to save backupfiles to other server using Maintenance plan

I created a maintenance plan that backs up multiple DB’s and saves the .bak files to a shared drive.  In maintenance plan destination I gave the path to the shared drive and ran the plan it failed. However if I change the path to local drive it works fine. I checked the user permissions and they look fine. Do I have to do anything different in the maintenance plan to work ?
0
Svlss
Asked:
Svlss
1 Solution
 
Marten RuneSQL Expert/Infrastructure ArchitectCommented:
check firewall on reciecing server, if no entrys there, enable auditing on the folder you are accessing. This will tell you where the problem lies.
Note: the account that needs permission is the SQL Agent Service account.
if this account is localadmin, i e system, then it lacks network permissions. Change to a domain service account! (using SSCM)
0
 
ste5anSenior DeveloperCommented:
The most common reasons:

1. Your destination path uses a mapped drive letter like T:\SomePath\. SQL Server runs under its own account or LocalSystem. Both may not have this drive mapping. Symptom: "The system cannot find the path specified."

2. Your destination path is an UNC path like \\backupserver\sharename\SomePath\. SQL Server runs under its own account or LocalSystem. Both may not have the necessary permissions to this path. Symptom: "Operating system error 5(Access is denied.)."
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
Check who's the owner of the backup job and verify if that user has write permission on the share.
0
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.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now