September 23rd, 2013, 01:21 PM
Need Help w/ Back Up Compatiblity
Hey guys I'm working with on a project where I've been tossed into the deep end. I know close to nothing about SQL but I am otherwise computer savy. I'm hoping my cohorts on the internet (you all) could assist and tell me if what I got here is something easily fixable or something that's going to be complex.
Whe I try to restore the database in question I get this error:
From what I gather the backup was created on a newer version of SQL and the version I'm running is older. Is my only option to upgrade to the newer version? Or perhaps is there a trick to get like changing the extension or something like that. A full blown upgrade is going to be expensive and time consuming, I'm looking for a quick work around to get this DB up and restored. Any ideas?
September 23rd, 2013, 03:37 PM
Google came forth with the answer I was looking for, below is the solution I used if you find yourself in a similar situation.
1. Install an instance of SQL 2008 R2 on one machine and SQL 2008 on another
2. Open SQL Server Management Studio R2
3. Select your source Database
4. Select Tasks>Generate Scripts.
5. Select 'Script entire database and all database objects', press 'Next'
6. Select 'Save to File' and click on the 'Advanced' button
7. Select 'Script for Server Version' and select the version you want: 200/2005/2008
8. Select 'Type of data to Script' and select Schema/Data/both
9. Click 'OK',Next and do it!
10. Copy the resulting file to the target machine with SQL 2008 [or whatever]
11. Log onto your SQL Management Studio and open the copied .sql file... be aware that there may be limitations on the file size.
12. There may also be issues with the order that the .SQL file inserts the data into the target database and if there are FK constraints in place, this could be an issue.... simply re-order the insert lists.
13. Once the .sql file is organized, parse it [just to sure], and then execute.