?
Solved

SQL Restoration failed, why ?

Posted on 2014-03-20
6
Medium Priority
?
369 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
[X]
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
  • 3
  • 2
6 Comments
 
LVL 143

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:Scott Pletcher
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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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:
Scott Pletcher earned 2000 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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.
Suggested Courses

801 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