Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
pascal_jimi
Posting Yak Master
167 Posts |
Posted - 2015-01-13 : 07:36:20
|
hi all my friendsI have a problemmy old server to work sql2000but now was give sql2012I made a backup and want to open in 2012 sql serverbut just sql 2000 bak file in 2012 give me a error I do not have a 2005 or 2008and what I can do anwhat advice eats?and who can then open and attach a new backup here in 2005 or 2008to the article in the eating loginUTB can something meshat during Recovery Tools?Link file in google + -------- https://drive.google.com/file/d/0B1xDKe0aB-MqejNabjV1aDdDZ00/view?usp=sharingThank you very muchhttp://sql-az.tr.gg/ |
|
Ifor
Aged Yak Warrior
700 Posts |
Posted - 2015-01-13 : 07:53:11
|
I think SQL2008R2 is the latest version that will open a SQL2000 backup, so:1. Download SQL2008R2 Express and install it.2. Restore SQL2000 backup to SQL2008R2 Express.3. Backup the DB from SQL2008R2 Express.4. Restore the SQL2008R2 Express backup into SQL2012.An alternative would be to:1. script the DB from SQL20002. apply the the script to SQL20123. from SQL2012, import the data from SQL2000 |
|
|
pascal_jimi
Posting Yak Master
167 Posts |
Posted - 2015-01-13 : 08:10:50
|
thanksbut how can i give all scripts db 2000?http://sql-az.tr.gg/ |
|
|
pascal_jimi
Posting Yak Master
167 Posts |
Posted - 2015-01-15 : 01:54:35
|
friends1 --- I discovered this beautiful bey on sql server 2008 r22 --- again made a new backup3 --- and recorded skprit on sql 2012use mastergoRESTORE DATABASE [new] FROM DISK = N'C: \ Program Files \ Microsoft SQL Server \ MSSQL11.MSSQLSERVER \ MSSQL \ Backup \ 15yanvar.bak 'WITH FILE = 1,MOVE N'ats342 'TO N'C: \ Program Files \ Microsoft SQL Server \ MSSQL11.MSSQLSERVER \ MSSQL \ DATA \ ats342.mdf', MOVE N'ats342_log 'TO N'C: \ Program Files \ Microsoft SQL Server \ MSSQL11.MSSQLSERVER \ MSSQL \ DATA \ ats342_log.ldf ', NOUNLOAD, REPLACE, STATS = 10goand also get the errorMsg 3169, Level 16, State 1, Line 1The database was backed up on a server running version 8.00.2039. That version is incompatible with this server, which is running version 11.00.2100. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server.Msg 3013, Level 16, State 1, Line 1RESTORE DATABASE is terminating abnormally.http://sql-az.tr.gg/ |
|
|
pascal_jimi
Posting Yak Master
167 Posts |
Posted - 2015-01-15 : 02:36:49
|
I know 8.00.2039 ---version it is sql 2000 but no 2008but now was new backup from sql server 2008 r2and was liked open in sql 2012was use this scriptuse mastergoRESTORE DATABASE [new] FROM DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\yenibacup.bak' WITH FILE = 1, MOVE N'ats342' TO N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ats342.mdf', MOVE N'ats342_log ' TO N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ats342_log.ldf', NOUNLOAD, REPLACE, STATS = 10gobut now give me a error message Msg 1834, Level 16, State 1, Line 1The file 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ats342.mdf' cannot be overwritten. It is being used by database 'ats342'.Msg 3156, Level 16, State 4, Line 1File 'ats342' cannot be restored to 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ats342.mdf'. Use WITH MOVE to identify a valid location for the file.Msg 1834, Level 16, State 1, Line 1The file 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ats342_log.ldf' cannot be overwritten. It is being used by database 'ats342'.Msg 3156, Level 16, State 4, Line 1File 'ats342_log' cannot be restored to 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ats342_log.ldf'. Use WITH MOVE to identify a valid location for the file.Msg 3119, Level 16, State 1, Line 1Problems were identified while planning for the RESTORE statement. Previous messages provide details.Msg 3013, Level 16, State 1, Line 1RESTORE DATABASE is terminating abnormallyhttp://sql-az.tr.gg/ |
|
|
|
|
|
|
|