How to Restore a database SQL Server 2008 R2?

Alvaro Iark 20 Reputation points
2023-06-29T23:22:41.9166667+00:00

Hi all,

I'm trying to migrate an old SQL Server 2008 R2 to another SQL Server 2008 R2 but whenever I try it returns this error:

TITLE: 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 'E:\BKPBANK\P11_PRD.bak' is incorrectly formed. SQL Server cannot process this media family.

RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241)

For help, click: https://docs.microsoft.com/sql/relational-databases/errors-events/mssqlserver-3241-database-engine-error

------------------------------

BUTTONS:

OK

------------------------------

The installer is the same, the SP3 I applied, it's the same, the only difference between the versions is the (Hypervisor) on the newer server, I imagine maybe it's because the server is virtualized with Proxmox.

See the @@version of each one:

Old Server:

Microsoft SQL Server 2008 R2 (SP3) - 10.50.6000.34 (X64) Aug 19, 2014 12:21:34 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.3 <X64> (Build 17763: )

New Server:

Microsoft SQL Server 2008 R2 (SP3) - 10.50.6000.34 (X64) Aug 19, 2014 12:21:34 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.3 <X64> (Build 17763: ) (Hypervisor)

Anyone can help me how can I solve this problem?

Best Regards,

mano

SQL Server Other
{count} votes

Accepted answer
  1. Anonymous
    2023-06-30T03:00:03.7+00:00

    Hi @Alvaro Iark

    2008 is a very old version.

    Based on the error message, I found a post that you can refer to, maybe it can help you.

    https://www.stellarinfo.com/blog/sql-database-error-3241-restore-headeronly/

    Best regards,

    Percy Tang

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2023-06-30T05:00:40.9833333+00:00

    I'm trying to migrate an old SQL Server 2008 R2 to another SQL Server 2008 R2

    You try to migrate from "very old" (and out-of-support) to also the same very old one?

    The media family on device 'E:\BKPBANK\P11_PRD.bak' is incorrectly formed.

    That message can have at least 2 causes

    • The backup file is corrupt and can't be read
    • The backup is from a newer SQL Server and can't be read/restore to an older version
    1 person found this answer helpful.

  2. Alvaro Iark 20 Reputation points
    2023-07-13T13:19:16.7666667+00:00

    Very thanks, the problem really was in the corrupted backup, initially they assured that everything was ok, but later we identified that this was the problem.

    Thanks for all.

    Best Regards,

    Alvaro

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.