November 10, 2018 at 7:02 am
I am trying to restore a database from a backup (.bak) file which is in shared folder where the instance has all access privileges. That shared folder is different from the DATA folder where the original .mdf file is kept. Now when I am trying to restor, it brings an error showing that Access is denied to DATA folder.
I want to know why it needs access to DATA folder if I am restoring from a backup? Why it needs the original .mdf file? and access to that folder?
Thanks for your time!
November 10, 2018 at 7:10 am
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2018 at 9:34 pm
I had this issue in SQL Server 2012. I fixed my issue by enabling 'Relocate all files to folder' option under the 'File' section in Restore Database.
Or may be you have already restored the database previously and you didn't check the checkbox of 'Overwrite existing database' in your restore wizard.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply