Converting a 15 GB SQL Server 2005 Workgroup DB into SQL Server Express 2008 R2

Posted on 2014-12-22
Last Modified: 2014-12-31
I support an application that uses SQL Server Express 2008 R2 as the DB for the less expensive edition of the product.

A new client has an older version of the more expensive edition and purchased the less expensive edition when they bought their upgrade. They then asked me to help with the upgrade.

The previous DB is mostly docs and was stored in SQL Server 2005 Workgroup. The backup is 15 GB.

Is there any way to convert that backup into SQL Server Express 2008 R2? I tried to use the apps Restore function and it didn’t work…

Thanks very much,

Question by:243johnm
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1

Author Comment

ID: 40514150
Thanks Robby. 10 GB is the maximum DB size: the docs should go into Filestream and not count against the DB size...


Assisted Solution

by:Robby Swartenbroekx
Robby Swartenbroekx earned 166 total points
ID: 40514157
ah, ok.
Then you need to remove the table with the docs in the SQL 2005 standaard instance and then you can detach the database and attach it to 2008 express (first do a shrink, so it drops below the 10Gb limit).
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

LVL 51

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 167 total points
ID: 40514612
First of all you need to migrate all data from MSSQL 2005 to MSSQL 2008R2 Express leaving the doc column, so you can have all data without passing the 10GB limit.
Then after you moved the documents to the filestream folder you need to update the table to link the records to the respective documents.
If you don't have SSIS installed then you need to do this by creating a linked server and manually scripting the procedures.
LVL 69

Assisted Solution

by:Scott Pletcher
Scott Pletcher earned 167 total points
ID: 40518911
>>  I tried to use the apps Restore function and it didn’t work… <<

That's very vague.  What error message?  Did you use change the file paths to match the new server?  Did you make sure the FILESTREAM path was available exactly as it was on the old server?  I don't know if even that will work but it should at least have a chance of working.

When dealing with multiple tables, you have easy ways around the 10GB limit.  It's much more difficult to get around if a single table is near or over 10GB by itself.

Author Comment

ID: 40519075
Thanks all.

Robby & Victor: those solutions are way beyond my knowledge of SQL!
Scott: this is the message that the apps restore function returned: "Problems encountered when trying to restore SQL Database DB_Name". Looking in the logs, there was nothing helpful!


Accepted Solution

243johnm earned 0 total points
ID: 40519089
I received some assistance a couple of days ago from someone who had the same problem with the app we both support. His solution:

Install a trial of SQL Server 2008 with an instance name other than one used already and with Filestream enabled.
Restore the SQL backup into SQL Server 2008.
Run a script he gave me that removed the docs from the docs table, put them into Filestream and then deleted the docs table.
SQL Backup of that DB
Restore into SQL Server 2008 R2 Express.
Uninstall the trial.

His process worked: the 15+ GB SQL Server 2005 DB turned into a 120 MB SQL Server 2008 R2 Express DB with 15 GB of docs in Filestream!

Thanks again everyone who tried to help me with this issue!

LVL 69

Expert Comment

by:Scott Pletcher
ID: 40519091

Thanks for the follow-up info, very interesting.

Author Closing Comment

ID: 40525163
Took several days for someone with knowledge of the app to help me out ... but this solution worked!

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor ( Top Charts is a view in which you can set seve…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question