Hello,
I'm trying to do flat file backup of a SQL database. I'm using the NETSVC command to stop the MSSQLSERVER service before the backup and again after the backup to start the service which is working great. But I still get messages like this:
"Unable to open file. (FILE=\\SERVERNAME\D$\MSSQL7\Data\filename.mdf, EC=SHARING VIOLATION)"
There are 14 such files that produce this error in the log. All mdf and ldf files.
My question is, are there more services that I need to stop? Is what I'm trying to do even possible?
Any help will be appreciated.
TIA
-Tom
I'm trying to do flat file backup of a SQL database. I'm using the NETSVC command to stop the MSSQLSERVER service before the backup and again after the backup to start the service which is working great. But I still get messages like this:
"Unable to open file. (FILE=\\SERVERNAME\D$\MSSQL7\Data\filename.mdf, EC=SHARING VIOLATION)"
There are 14 such files that produce this error in the log. All mdf and ldf files.
My question is, are there more services that I need to stop? Is what I'm trying to do even possible?
Any help will be appreciated.
TIA
-Tom