Quantcast
Viewing all articles
Browse latest Browse all 7627

Issues moving from 2012 to 2014

We're starting our migration from SQL Server 2012 to 2014 and are running into some issues moving databases.

- SQL 2012 is running on Windows 2008. New servers with Windows 2012R2 are being used for SQL 2014
- On SQL 2012, data is stored at M:\. On SQL 2014, data will be stored at M:\Data.
- The plan has been to backup each database one at a time, copy the .bak file, then restore on new server.
- I am local Admin on Windows server and SysAdmin in SQL Server. I have full rights to all drives.
- I have tried running SSMS as Administrator and still get the same issue
- I can create an empty db.
- I created an empty db and successfully imported the data from SQL2012.

Here's the problem:

- When I attempt to restore, I get message "The backup set holds a backup of a database other than the existing <name> database". I can get past this if I do "WITH REPLACE". However, this throws another error, "The operating system returned the error '5(Access is denied.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'M:\<databaseName>.mdf'.

Anyone have insight into what's happening? How can we do a restore of data? Import is fine for small databases, but will take some time for large ones.


Craig Berntson
MCSD, Visual C# MVP
INETA Community Speaker
www.craigberntson.com


Viewing all articles
Browse latest Browse all 7627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>