SQL Server upgrade from 2008 R2 to 2012 - sql-server

This morning I had a discussion with my boss about the SQL Server upgrade from 2008 R2 to 2012.
I was explaining to him that we can detach or do a backup from SQL Server 2008, and then re-attach or restore the data in SQL Server 2012. Then, he asked me 3 questions in which I have absolutely no idea (what he was asking)?
How do you upgrade the Database Engine?
How do you upgrade the SQL Server Reporting Service?
Can you run both SQL Server 2008 and 2012 side by side?
My assumption was that once you upgrade or install the new instance SQL Server 2012, everything else should be taken care of, or am I wrong?

Related

Snapshot for different SQL Server Version

Can I create a snapshot from SQL Server 2012 on a SQL Server 2008 R2 Server?
The goal is to build reporting and queries without locking the live database.
I need only a DB copy (Getdate()-1)
No, the SQL Server 2012 snapshot has specific SQL Server 2012 features in it that are not compatible with SQL Server 2008 R2. These are incompatibilities that you will not see. They are deep in the SQL Server engine. You cannot do this.
It's a similar concept to trying to restore a SQL Server 2012 database backup to a SQL Server 2008 R2 instance. The higher database version cannot backstep to a lower version.
You need to use a SQL Server of the same level or higher (I believe or higher) for your snapshot server.

Team foundation server, SQL Server Management Studio

We restored our TFS 2013 database backups on separate data tier with SQL Server 2012. Now I am trying to add these databases to TFS server (it's a sandpit tier), where I have a SQL Server 2008 R2 version. While running app tier wizard, I added SQL instance but it is throwing an error:
TF400860: the current version of following service is not supported registry Version 5, min version 5
Both servers have same version of TFS (TFS 2013.5)
Can anyone advise how to fix this?
The minimum SQL version for 2013 is SQL 2012 with SP1 https://www.visualstudio.com/en-us/docs/setup-admin/requirements
The minimum SQL server requirement for TFS 2013 is SQL server 2008 R2 (SP1).
The solution for this error is, we need to change the SQL server instance availability group as primary by logging in to same server
We have 4 data tiers, which are in sync, I tried it and I got it with SQL version 2008 R2. No need of SQL version 2012 or higher.
Thanks

SQL Server express backup

Can I use a SQL Server Express database backup file to restore that database on a full fledged version of SQL Server. I am particularly looking at SQL Server 2008 Express to SQL Server 2012 Enterprise. And if so how?
Lets be clear about one thing first, SQL Server Express , Standard and Enterprise are the Editions.
SQL Server 2005 , 2008, 2008 R2 and 2012 are SQL Server versions.
Now coming to your question whether you can restore a database from 2008 Express to 2012 Enterprise?
The Simple Answer would be YES you can.
A couple of things to keep in mind.
SQL Server Editions has no limitation you can backup and restore databases from one Edition to another without any restrictions (Except SQL Server Express which can only accommodate databases upto 10 GB). Other than this size limitation in SQL Server express, all is good.
Whereas SQL Server Versions has a very strict limitation, You can go up 3 versions but cannot go down at all.
For example if you had taken a backup on SQL Server 2008 (regardless of Edition) you can restore this backup onto a SQL Server 2008, 2008 R2 , 2012 and I think also on 2014. But you cannot restore this onto a SQL Server 2005.
I hope the explanation clears some confusions.

Can i Upgrade SQL server 2008r2 express to sql server 2014 Developer edition

I currently have SQL server 2008 R2 Express installed for my QA/Dev environment on Amazon EC2 instance.
Now my database is growing beyond the 10GB limitation of Express edition, so am planning to buy SQL server 2014 Developer edition.
So can i upgrade my SQL Express 2008 R2 to SQL server 2014 Developer Edition, if yes what is the procedure?
Yes you can upgrade. Check this Upgrades from Earlier Versions to SQL Server 2014
Yes you can Upgrade Sql-Server 2008r2 to 2014 developer edition.
First of all restoring backup will not upgrade your database. So,
1) Microsoft SQL Server 2014 installation setup provide options to upgrade your database either from 2008 R2 or from 2012. This will preform all the process and provide information if your database is upgradeable or you required to make some changes to your old database. After that you can proceed to upgrade database from 2008 R2 to 2014.
My recommendation would be to install SQL Server 2014 instance and then backup and migrate database from SQL Server 2008 R2 to SQL Server 2014
2) There are other third party tools that will preform all the necessary processes and messaging before upgrade.
You can get complete installation details here :
http://www.mssqltips.com/sqlservertip/3245/quick-guide-to-upgrading-to-sql-server-2014/
Yes, you can upgrade it. You are not written your service pack of sqlserver. Here is the link to what and how to upgrade to Sqlserver2014.
Before doing this type of task always ready for rever, so take backup and restore any other pc.
This will give the whole up-gradation details
https://msdn.microsoft.com/en-us/library/bb677622.aspx
http://searchsqlserver.techtarget.com/tip/SQL-Server-upgrade-paths-What-to-do-before-during-after-upgrading
SQL Server 2012 SP1
SQL Server 2008 R2 SP2
SQL Server 2008 SP3
SQL Server 2005
http://sqlmag.com/sql-server-2014/migrating-sql-server-2014
https://msdn.microsoft.com/en-us/library/cc707783.aspx
https://msdn.microsoft.com/en-us/library/ms143393.aspx

Opening database .bak file in SQL Server 2008 R2

Here is the error I am getting:
the database was backed up on a server running version 8.00.2050. That version is incompatible with this server, which is running version 11.00.2218. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server.
I understand that this .bak file is not going to be compatible with SQL Sserver 2008 r2, since I looked up what version of SQL Server that particular version is, and it's SQL Server 2000. But is there a third party solution for this? I tried installing SQL Server 2000 and it doesn't install.
11.00.2218 is SQL Server 2012, not SQL Server 2008 R2.
In order to restore a SQL Server 2000 database to SQL Server 2012, you need to first restore it on a 2005, 2008 or 2008 R2 server, back it up from there, then restore it to the SQL Server 2012 server.
You can do this by:
Installing an Evaluation Edition of any of those versions
Finding an existing instance already installed elsewhere
Installing Express Edition as long as (a) database size < 10GB and (b) you're not using any features not supported in Express

Resources