Solved

SQL Restoration failed, why ?

Posted on 2014-03-20
6
355 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: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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

777 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