Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


downgrade a database from sql2008 64-bit to sql2005 32-bit


downgrade a database from sql2008 64-bit to sql2005 32-bit

Author
Message
tvu4251
tvu4251
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
Points: 30 Visits: 665
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.
vidya_pande
vidya_pande
SSC Eights!
SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)

Group: General Forum Members
Points: 919 Visits: 242
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



HowardW
HowardW
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1413 Visits: 9892
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.
Steve Jones
Steve Jones
SSC-Forever
SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)

Group: Administrators
Points: 40288 Visits: 18846
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
My Blog: www.voiceofthedba.com
tvu4251
tvu4251
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
Points: 30 Visits: 665
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.
Jeffrey Williams 3188
Jeffrey Williams 3188
SSCarpal Tunnel
SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)

Group: General Forum Members
Points: 4990 Visits: 9848
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 opportunities brilliantly disguised as insurmountable obstacles.

How to post questions to get better answers faster
Managing Transaction Logs

tvu4251
tvu4251
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
Points: 30 Visits: 665
this is for a customer that is anxious to try sql2008, but the app is not quite 100% upgradable yet.
Jeffrey Williams 3188
Jeffrey Williams 3188
SSCarpal Tunnel
SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)

Group: General Forum Members
Points: 4990 Visits: 9848
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? w00t

Jeffrey Williams
Problems are opportunities brilliantly disguised as insurmountable obstacles.

How to post questions to get better answers faster
Managing Transaction Logs

SQLRNNR
SQLRNNR
SSC-Insane
SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)

Group: General Forum Members
Points: 22583 Visits: 18259
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? w00t


I would sure hope so.w00t



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


SQL RNNR

Posting Performance Based Questions - Gail Shaw

SQLRNNR
SQLRNNR
SSC-Insane
SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)

Group: General Forum Members
Points: 22583 Visits: 18259
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, MVP


SQL RNNR

Posting Performance Based Questions - Gail Shaw

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search