troubleshooting Question

SQL server backup to CIFS share - syntax issue ?

Avatar of Alexandre Takacs
Alexandre TakacsFlag for Switzerland asked on
DatabasesMicrosoft SQL ServerSQL
5 Comments1 Solution93 ViewsLast Modified:
I am trying to perform an SQL server "built-in" backup (part of a maintenance plan that was working so far) to a file share.

I understand that I have to use UNC in my file path and that the user running the SQL service should have access to the share - as such I have changed the DSQL service user to a domain user.

Checking my logs I see

Failed:(-1073548784) Executing the query "BACKUP DATABASE [model] TO  DISK = N'\\\\172.16.200...." failed with the following error: "Cannot open backup device '\\\\172.16.200.253\\Backup\\SQLDB\\model\\model_backup_2019_11_25_220003_1049249.bak'. Operating system error 67(The network name cannot be found.).
BACKUP DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

Seems that it is actually an issue in finding the network share. This is how I have defined my destination :
server management
Isn't that the correct way of doing it ?
ASKER CERTIFIED SOLUTION
lcohan
Database Analyst

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros