We help IT Professionals succeed at work.
Get Started

SQL server backup to CIFS share - syntax issue ?

Last Modified: 2019-11-27
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 '\\\\\\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.

Open in new window

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 ?
Watch Question
Database Analyst
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant

An Experts Exchange subscription includes unlimited access to online courses.

Get Started
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE