I have a SQL Server database on my server and I've taken a backup of it. When I try to restore it to a local machine it is throwing me an error and the process is terminating abnormally,
I have created a new empty database in my local machine and trying to restore the .bak
into this database with the following code:
RESTORE FILELISTONLY FROM DISK = 'C:\Users\user\Documents\Downloads\LiveDB.bak'
To get LogicalName for both datafile and logfile and I got the error as follows:
Msg 3241, Level 16, State 13, Line 1
The media family on device 'C:\Users\user\Documents\Downloads\LiveDB.bak' is incorrectly formed. SQL Server cannot process this media family.
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.
What is this error causing?
If this is the wrong way to restore a database from a backup file, can someone tell me the step by step procedure to get it working.
Thanks in advance.