RE: Restore Databse

RE: Restore Databse

 

  

See if this applies to you:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q297104

John

-----Original Message-----
From: Kaustubh Puranik [mailto:Kaustubh.[Email Address Removed]
Sent: Monday, August 18, 2003 1:13 PM
To: LazyDBA.com Discussion
Subject: RE: Restore Databse

Now I am getting the New Error :

Server: Msg 3241, Level 16, State 37, Line 1
The media family on device 'd:\datamart_feed_db_200308171906.bak' is
incorrectly formed. SQL Server cannot process this media family.
Server: Msg 3013, Level 16, State 1, Line 1
Backup or restore operation terminating abnormally.

But now I can see the .MDF and .LDF files .. I used following query...
Is
there any way to fix the above error :

Query :

restore database Datamart_feed
from disk = 'd:\datamart_feed_db_200308171906.bak' -- .bak file
location
with move 'datamart_feed_data' to 'd:\datamart_feed_Data.mdf', -- data
files
location
move 'datamart_feed_log' to 'd:\datamart_feed_Log.ldf' --- log files
location



> -----Original Message-----
> From: Julia Poddoubsky [SMTP:[Email Address Removed] Sent: Monday, August 18, 2003 2:26 PM
> To: 'Kaustubh Puranik'
> Subject: RE: Restore Databse
>
> From Query Analyzer:
>
> restore database database_name
> from disk = 'd:\***' -- .bak file location
> with move 'database_data' to 'd:***.mdf', -- data files location
> move 'database_log' to 'd:\***_log.ldf' --- log files location
>
>
>
> -----Original Message-----
> From: Kaustubh Puranik [mailto:Kaustubh.[Email Address Removed] Sent: Monday, August 18, 2003 12:02 PM
> To: 'Julia Poddoubsky'
> Subject: RE: Restore Databse
>
>
> Thanks Julia, Could you provide step by step details please ??
>
> > -----Original Message-----
> > From: Julia Poddoubsky [SMTP:[Email Address Removed] > Sent: Monday, August 18, 2003 1:58 PM
> > To: 'Kaustubh Puranik'; LazyDBA.com Discussion
> > Subject: RE: Restore Databse
> >
> > Yes, you can restore the file if your backup was not taken
> off corrupted
> > database .
> > Use either Enterprise manager or restore from Query Analyzer
> (check BOL).
> >
> > Julia
> >
> > -----Original Message-----
> > From: Kaustubh Puranik [mailto:Kaustubh.[Email Address Removed] > Sent: Monday, August 18, 2003 11:54 AM
> > To: LazyDBA.com Discussion
> > Subject: Restore Databse
> >
> >
> > Hi All,
> >
> > I am having the backup (.bak file) of my database. My existing
> > databse is
> > currupt and no longer exists into the enterprise
> > manager/database. The .MDF
> > and .LDF files are exists but are currupted. Is there any way
> > to restore the
> > database from .bak file. I never had this kind of problem
> > before so please
> > provide all details..
> >
> > Thanks a lot....
> >
> >
---------------------------------------------------------------------
> > TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
> > To unsubscribe, e-mail: mssqldba-[Email Address Removed] > For additional commands, e-mail: mssqldba-[Email Address Removed] REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To unsubscribe, e-mail: mssqldba-[Email Address Removed] additional commands, e-mail: mssqldba-[Email Address Removed]MS Sql Server LazyDBA home page