Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 Administration
»
downgrade a database from sql2008 64-bit to...
11 posts, Page 1 of 2
1
2
»»
downgrade a database from sql2008 64-bit to sql2005 32-bit
Rate Topic
Display Mode
Topic Options
Author
Message
tvu4251
tvu4251
Posted Wednesday, March 17, 2010 8:08 AM
SSC Rookie
Group: General Forum Members
Last Login: Thursday, February 14, 2013 1:04 PM
Points: 30,
Visits: 651
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
vidya_pande
vidya_pande
Posted Wednesday, March 17, 2010 8:19 AM
SSC Eights!
Group: General Forum Members
Last Login: Monday, June 04, 2012 5:00 PM
Points: 891,
Visits: 225
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
HowardW
HowardW
Posted Wednesday, March 17, 2010 8:41 AM
Ten Centuries
Group: General Forum Members
Last Login: 2 days ago @ 10:22 AM
Points: 1,037,
Visits: 7,695
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
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Wednesday, March 17, 2010 8:55 AM
SSC-Dedicated
Group: Administrators
Last Login: Yesterday @ 11:20 AM
Points: 31,437,
Visits: 13,752
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
tvu4251
tvu4251
Posted Wednesday, March 17, 2010 9:16 AM
SSC Rookie
Group: General Forum Members
Last Login: Thursday, February 14, 2013 1:04 PM
Points: 30,
Visits: 651
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
Jeffrey Williams 3188
Jeffrey Williams 3188
Posted Wednesday, March 17, 2010 6:47 PM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Friday, May 17, 2013 11:21 AM
Points: 4,317,
Visits: 9,216
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
tvu4251
tvu4251
Posted Wednesday, March 17, 2010 7:27 PM
SSC Rookie
Group: General Forum Members
Last Login: Thursday, February 14, 2013 1:04 PM
Points: 30,
Visits: 651
this is for a customer that is anxious to try sql2008, but the app is not quite 100% upgradable yet.
Post #885173
Jeffrey Williams 3188
Jeffrey Williams 3188
Posted Wednesday, March 17, 2010 7:31 PM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Friday, May 17, 2013 11:21 AM
Points: 4,317,
Visits: 9,216
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
SQLRNNR
SQLRNNR
Posted Wednesday, March 17, 2010 10:17 PM
SSCoach
Group: General Forum Members
Last Login: 2 days ago @ 10:25 AM
Points: 18,754,
Visits: 12,337
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 2008
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
SQLRNNR
SQLRNNR
Posted Wednesday, March 17, 2010 10:37 PM
SSCoach
Group: General Forum Members
Last Login: 2 days ago @ 10:25 AM
Points: 18,754,
Visits: 12,337
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 2008
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 »
11 posts, Page 1 of 2
1
2
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.