Solved

SQL Restoration failed, why ?

Posted on 2014-03-20
6
344 Views
Last Modified: 2014-03-30
This is using a MS Windows 2008 with MS SQL 2008 R2, as a production DB server. Another server, using MS Windows 2003 with MS SQL 2008 R2, act as a DC and standby DB server. There is an important DB - ABC, is running in production, and a backup was scheduled to run every night. The backup was ran successfully.

Now, we want to verify that the standby server can be promoted as a production server when this original db production server is down. So, we did a test, by copy one of the *.bak file to this server, and select "restore Db", and follow the procedure. However, attempt to restore failed with following error:

 ITLE: Microsoft SQL Server Management Studio
------------------------------

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------
ADDITIONAL INFORMATION:

The media family on device 'C:\TradarBE_backup_2014_03_20_000039_0605782.bak' is incorrectly formed. SQL Server cannot process this media family.
RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServer&EvtID=3241&LinkId=20476

------------------------------
BUTTONS:

Please advise
0
Comment
Question by:MichaelBalack
  • 3
  • 2
6 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 39941856
please confirm that you checked that the .bak file was properly copied, and if you did a FTP, was not transferred using ANSI, but BINARY mode...

other than that, the reason could be that the backup was configured to write to several files, and not just one.
you may want to try with a new, fresh, dedicated backup file
0
 
LVL 69

Expert Comment

by:ScottPletcher
ID: 39943586
Also, make sure the SQL Service Packs and Patches/Hotfixes/etc. are at exactly the same level on both servers.  (Technically I guess the machine on which you restore could be a later version, but definitely not an earlier version.)
0
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39956772
Hi ScottPletcher,

Will check it.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Author Comment

by:MichaelBalack
ID: 39964712
Hi ScottPletcher,

You are right. Production server is using MS SQL 2008 R2 w/SP 2 (10.50.4000.0), while the standby server is using MS SQL 2005 RTM (9.00.1399.06). So, does this means that I have to upgrade the standby server with MS SQL 2008 R2 w/SP2? BTW, can I upgrade directly?
0
 
LVL 69

Accepted Solution

by:
ScottPletcher earned 500 total points
ID: 39965398
Yes, if you want to restore data from the prod server to the standby server, the standby server must be at least up to the version and patch level of the prod server.

Yes, generally you should be able to upgrade directly to SQL 2008, then apply SP2, esp. if you don't have existing objects on the standby server you need to upgrade.
0
 
LVL 1

Author Closing Comment

by:MichaelBalack
ID: 39965662
Great!
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now