Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

downgrade a database from sql2008 64-bit to sql2005 32-bit Expand / Collapse
Author
Message
Posted Wednesday, March 17, 2010 8:08 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, April 18, 2014 9:07 AM
Points: 30, Visits: 658
I am asked to downgrade an entire instance with several user databases from the current environment of SQL-2008 EE 64-bit down to sql-2005 EE 32-bit.

the detach/attach did not work.
The error is "the database cannot be opened because it is version 655. This server support version 611 and earlier. A downgrade path is not supported"

the backup/restore did not work either.
the error is "the media family ... is incorrectly formed. SQL Server cannot process this media family"

Is there a way to accomplish this? Thanks.
Post #884686
Posted Wednesday, March 17, 2010 8:19 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Sunday, May 11, 2014 8:07 PM
Points: 891, Visits: 235
Its not issue of 32 or 64 bit.
You can not restore 2008 database on 2005 server.

You can try doing one thing-

Change database compatibility level to 2005, then take back up and then try to restore it on 2005.
This wont work if you are using SQL Server 2008 specific features



Post #884702
Posted Wednesday, March 17, 2010 8:41 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 6:31 AM
Points: 1,191, Visits: 9,882
Nope, that won't work. Compatibility mode has nothing to do with the database version.

You cannot restore back to SQL 2005 from 2008. Your only option is to script all of the schema's from the 2008 databases into SQL 2005 equivalents and then import the data using something like SSIS.

You could reduce the amount of leg work by using a 3rd party tool to compare and sync schema and data between databases. There are several vendors that produce software of this type including Idera and Red-Gate.
Post #884736
Posted Wednesday, March 17, 2010 8:55 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 5:59 PM
Points: 31,082, Visits: 15,529
As mentioned, you can't go backwards. It's not the 32 v 64, it's the versions of the software. The compatibility level of the database doesn't matter.

The way you do this is
- script all schema and objects, run on the 2005 instance
- script all permissions, apply to 2005 server
- export all data, import into 2005 instance

You can do this yourself, but you might have FK issues, and it will take time. SQL Compare/Data Compare from Red Gate (I work for them), or any other set of compare tools, are likely worth the money if your time is valuable to get this done. However it's not a hard process, just complicated. It just has a lot of things to manage.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #884751
Posted Wednesday, March 17, 2010 9:16 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, April 18, 2014 9:07 AM
Points: 30, Visits: 658
Thank you all for your responses.
I found those out too, going through each of them.
luckily, I have and will try the Red Gate X-SQL bundle.
Hopefully, it will save me some time.

again, thanks.
This is a wonderful site.
Post #884790
Posted Wednesday, March 17, 2010 6:47 PM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Tuesday, September 23, 2014 8:31 AM
Points: 4,358, Visits: 9,537
I have to ask why this requirement to downgrade the system? Is this for a customer that has not upgraded yet or is there some other reason why you have to do this?

Normally, changing the compatibility mode will allow the clients and code to run successfully. Is that not an option here?

Just curious as to the reasons behind having to do this.


Jeffrey Williams
Problems are opportunites brilliantly disguised as insurmountable obstacles.

How to post questions to get better answers faster
Managing Transaction Logs
Post #885158
Posted Wednesday, March 17, 2010 7:27 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, April 18, 2014 9:07 AM
Points: 30, Visits: 658
this is for a customer that is anxious to try sql2008, but the app is not quite 100% upgradable yet.
Post #885173
Posted Wednesday, March 17, 2010 7:31 PM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Tuesday, September 23, 2014 8:31 AM
Points: 4,358, Visits: 9,537
tvu4251 (3/17/2010)
this is for a customer that is anxious to try sql2008, but the app is not quite 100% upgradable yet.


So, one of your customers upgraded to SQL Server 2008 and broke the application? I get that - so, are you charging them a lot of money to fix the problem?


Jeffrey Williams
Problems are opportunites brilliantly disguised as insurmountable obstacles.

How to post questions to get better answers faster
Managing Transaction Logs
Post #885174
Posted Wednesday, March 17, 2010 10:17 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Today @ 8:17 PM
Points: 17,729, Visits: 15,595
Jeffrey Williams-493691 (3/17/2010)
tvu4251 (3/17/2010)
this is for a customer that is anxious to try sql2008, but the app is not quite 100% upgradable yet.


So, one of your customers upgraded to SQL Server 2008 and broke the application? I get that - so, are you charging them a lot of money to fix the problem?


I would sure hope so.




Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #885208
Posted Wednesday, March 17, 2010 10:37 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Today @ 8:17 PM
Points: 17,729, Visits: 15,595
tvu4251 (3/17/2010)
Thank you all for your responses.
I found those out too, going through each of them.
luckily, I have and will try the Red Gate X-SQL bundle.
Hopefully, it will save me some time.

again, thanks.
This is a wonderful site.



The SQL Compare will be pretty quick. The data compare can get bogged down and be pretty slow.

Just an FYI.




Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #885218
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse