Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 95
  • 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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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