<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Unable to restore backup from 2008 R2 to 2008</title>
	<atom:link href="http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/</link>
	<description>Making SQL do what we want it to do.</description>
	<lastBuildDate>Sat, 06 Aug 2011 03:28:56 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mike G</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-6289</link>
		<dc:creator>Mike G</dc:creator>
		<pubDate>Sun, 24 Jul 2011 05:44:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-6289</guid>
		<description>@Adam, agreed - MS probably could release a hotfix for 2008 to allow it to restore 2008R2 databases.  But they probably weighed up the cost of this dev cycle, vs getting a tech writer to publish a note saying &#039;you can&#039;t restore 2008R2 databases to 2008&#039; - and went with the latter.

I&#039;m always very leery about changing, and mixing, SQL Server versions!  Maybe not as much as changing/mixing OS, but I have hit the odd nasty problem by assuming that SQL vX will be near enough the same as SQL vX.1. They are different products that require a planned upgrade, even if that plan is short.</description>
		<content:encoded><![CDATA[<p>@Adam, agreed &#8211; MS probably could release a hotfix for 2008 to allow it to restore 2008R2 databases.  But they probably weighed up the cost of this dev cycle, vs getting a tech writer to publish a note saying &#8216;you can&#8217;t restore 2008R2 databases to 2008&#8242; &#8211; and went with the latter.</p>
<p>I&#8217;m always very leery about changing, and mixing, SQL Server versions!  Maybe not as much as changing/mixing OS, but I have hit the odd nasty problem by assuming that SQL vX will be near enough the same as SQL vX.1. They are different products that require a planned upgrade, even if that plan is short.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike G</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-6288</link>
		<dc:creator>Mike G</dc:creator>
		<pubDate>Sun, 24 Jul 2011 05:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-6288</guid>
		<description>My understanding is that, say, a 2008R2 database in 80 compatibility mode was still a 2008R2 database, but with an emulation layer across it to make it behave like SQL 2000.  Otherwise MS would basically have to include ALL of SQL 2000 within 2008R2, to make it compatible from the byte level up.

I&#039;ve certainly been burned before with databases that stopped working from 2005 to 2008, compatibility setting or no, because the optimizer changed and queries that used to run fast suddenly took minutes to run.

Are you able to take a SQL 2008 database set to 80 compatibility level and restore it on a SQL 2000 box?  I have no idea, but I&#039;d assume not.  From memory, even 2008SP1 databases wouldn&#039;t back-restore to 2008.

Hmm, a backport via scripting shouldn&#039;t be unreasonable even for large databases (though agreed, 200GB would be pushing it a lot!) - or backport the schema and use SSIS or linked server queries to bring the data across.  Slow but you&#039;ll get there in the end.

Guess the main thing though - start by assuming that the upgrade will fail and that downgrades via backup/restore will NOT work, and then TEST before doing anything irrevocable.  Also assume that if your dev environment is 2008R2 and prod is 2008, then even if migration works fine, you&#039;ll end up with nasty, subtle incompatibilities that don&#039;t show up til the demo for the CEO...</description>
		<content:encoded><![CDATA[<p>My understanding is that, say, a 2008R2 database in 80 compatibility mode was still a 2008R2 database, but with an emulation layer across it to make it behave like SQL 2000.  Otherwise MS would basically have to include ALL of SQL 2000 within 2008R2, to make it compatible from the byte level up.</p>
<p>I&#8217;ve certainly been burned before with databases that stopped working from 2005 to 2008, compatibility setting or no, because the optimizer changed and queries that used to run fast suddenly took minutes to run.</p>
<p>Are you able to take a SQL 2008 database set to 80 compatibility level and restore it on a SQL 2000 box?  I have no idea, but I&#8217;d assume not.  From memory, even 2008SP1 databases wouldn&#8217;t back-restore to 2008.</p>
<p>Hmm, a backport via scripting shouldn&#8217;t be unreasonable even for large databases (though agreed, 200GB would be pushing it a lot!) &#8211; or backport the schema and use SSIS or linked server queries to bring the data across.  Slow but you&#8217;ll get there in the end.</p>
<p>Guess the main thing though &#8211; start by assuming that the upgrade will fail and that downgrades via backup/restore will NOT work, and then TEST before doing anything irrevocable.  Also assume that if your dev environment is 2008R2 and prod is 2008, then even if migration works fine, you&#8217;ll end up with nasty, subtle incompatibilities that don&#8217;t show up til the demo for the CEO&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slavius</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-6214</link>
		<dc:creator>Slavius</dc:creator>
		<pubDate>Fri, 22 Jul 2011 07:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-6214</guid>
		<description>Mike, you&#039;re confusing SQL Server version and database compatibility level. We&#039;re using databases in 80 compatibility level on servers running SQL 2000, 2005, 2008 and 2008R2.  There is no way for us to misuse functions whatever SQL server we want to downgrade. Why the heck shouldn&#039;t we be able to restore it from 2008R2 to earlier versions? Size of these databases varies from 5 to 200GB, exporting scripts is not an option!</description>
		<content:encoded><![CDATA[<p>Mike, you&#8217;re confusing SQL Server version and database compatibility level. We&#8217;re using databases in 80 compatibility level on servers running SQL 2000, 2005, 2008 and 2008R2.  There is no way for us to misuse functions whatever SQL server we want to downgrade. Why the heck shouldn&#8217;t we be able to restore it from 2008R2 to earlier versions? Size of these databases varies from 5 to 200GB, exporting scripts is not an option!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Bean</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-1267</link>
		<dc:creator>Adam Bean</dc:creator>
		<pubDate>Mon, 29 Nov 2010 20:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-1267</guid>
		<description>I agree Mike, R2 is a new release, but the actual databases themselves and supporting objects have not changed all that much to as where they couldn&#039;t simply apply a backwards compatibility script post restore.</description>
		<content:encoded><![CDATA[<p>I agree Mike, R2 is a new release, but the actual databases themselves and supporting objects have not changed all that much to as where they couldn&#8217;t simply apply a backwards compatibility script post restore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike G</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-1254</link>
		<dc:creator>Mike G</dc:creator>
		<pubDate>Sun, 28 Nov 2010 22:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-1254</guid>
		<description>@Cliff - I really don&#039;t get what you&#039;re complaining about here.  Down version restores have NEVER worked, and with good reason - if they did, someone would indeed try to downgrade their SQL server as a Disaster Recovery option and then discover that their application uses some of the functionality of the new version and nothing works.

It&#039;s not like it&#039;s even hard to just script out the schema and data to downgrade.  But I really don&#039;t have much sympathy here, if you put the latest toys on your dev box, don&#039;t expect anything to work when you try to move your stuff across to the older stuff that&#039;s running elsewhere.

Frankly I&#039;m astonished why anyone would expect to be able to go from a later to an earlier version of SQL via backup/restore.  Is it the naming that is confusing you, maybe?  SQL SERVER 2008 R2 IS A NEW VERSION, not a service pack!  In other news, no you can&#039;t go from 2008 R2 to SQL Server 6.5 either...</description>
		<content:encoded><![CDATA[<p>@Cliff &#8211; I really don&#8217;t get what you&#8217;re complaining about here.  Down version restores have NEVER worked, and with good reason &#8211; if they did, someone would indeed try to downgrade their SQL server as a Disaster Recovery option and then discover that their application uses some of the functionality of the new version and nothing works.</p>
<p>It&#8217;s not like it&#8217;s even hard to just script out the schema and data to downgrade.  But I really don&#8217;t have much sympathy here, if you put the latest toys on your dev box, don&#8217;t expect anything to work when you try to move your stuff across to the older stuff that&#8217;s running elsewhere.</p>
<p>Frankly I&#8217;m astonished why anyone would expect to be able to go from a later to an earlier version of SQL via backup/restore.  Is it the naming that is confusing you, maybe?  SQL SERVER 2008 R2 IS A NEW VERSION, not a service pack!  In other news, no you can&#8217;t go from 2008 R2 to SQL Server 6.5 either&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliff Buckley</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-3</link>
		<dc:creator>Cliff Buckley</dc:creator>
		<pubDate>Thu, 08 Oct 2009 00:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-3</guid>
		<description>Sometimes I just hate Microsoft. They make some things so easy then go slackjawed with other things. It&#039;s somewhat understandable with as many developers and pieces/parts they have working in SQL, but backups? Disaster recovery should be thier first focus, then feature enhancements and bug fixes.</description>
		<content:encoded><![CDATA[<p>Sometimes I just hate Microsoft. They make some things so easy then go slackjawed with other things. It&#8217;s somewhat understandable with as many developers and pieces/parts they have working in SQL, but backups? Disaster recovery should be thier first focus, then feature enhancements and bug fixes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

