Restoring master database

  • Hi Experts,

    I want to restore master database and when i tried the RESTORE FILELISTONLY it is giving below details.

    masterV:\MSSQL10_50.SQL1\MSSQL\DATA\master.mdfDPRIMARY

    mastlogV:\MSSQL10_50.SQL1\MSSQL\DATA\mastlog.ldfLNULL

    when i tried earlier SQL failed to restart and was showing that the sql is trying to find files form V drive i dont have V drive in my system but have only C & E drive.

    Please help me with script to restore this master database.

    TIA

  • Some one please help..

    earlier i tried the command

    RESTORE DATABASE master FROM DISK = 'E:\MASTER_05172014.bak' replace

  • Restored database with above command in error log i got below..What can i do to make SQL up and running.

    2014-05-17 22:19:03.16 spid10s FCB::Open failed: Could not open file V:\MSSQL10_50.SQL1\MSSQL\DATA\model.mdf for file number 1. OS error: 3(The system cannot find the path specified.).

    2014-05-17 22:19:03.17 spid7s Server name is 'ABC\R8'. This is an informational message only. No user action is required.

    2014-05-17 22:19:03.22 spid10s Error: 5120, Severity: 16, State: 101.

    2014-05-17 22:19:03.22 spid10s Unable to open the physical file "V:\MSSQL10_50.SQL1\MSSQL\DATA\model.mdf". Operating system error 3: "3(The system cannot find the path specified.)".

    2014-05-17 22:19:03.22 spid10s Error: 945, Severity: 14, State: 2.

  • https://www.simple-talk.com/sql/backup-and-recovery/the-sql-server-instance-that-will-not-start/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanks a lot Gail.

    Where should i run this Sqlservr.exe –T3608 ,is this available in SQL 2008?

  • That article was written using SQL 2008, so yes.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanks Gail.

    From where i need to run this, I have setup.exe but not this one. Please help.

  • By default it's located at C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn

    but it depends on your installation. Have a look there first.

  • Thanks Beatrix Kiddo.

    Tried and i am getting nothing but a box and a red cross in it. I have a 2012 instance running on that now. I need to start my SQL 2008 named instance.

  • Sorry for the duplicate post.

  • Talk us through what you've done so far.

    So: have you opened a command prompt window and navigated to the location of the BINN folder for your 2008 instance?

    If you have, please post the syntax you are using to try to start the 2008 instance.

  • Beatrix Kiddo (5/21/2014)


    Talk us through what you've done so far.

    So: have you opened a command prompt window and navigated to the location of the BINN folder for your 2008 instance?

    If you have, please post the syntax you are using to try to start the 2008 instance.

    Thanks Beatrix.

    You are right after that i ran 'Sqlservr.exe –T3608'

  • (again)

  • Try Sqlservr.exe -m

    or Sqlservr.exe -m -s INSTANCENAME if it's a named instance

  • Thanks Beatrix,

    I got the below messages.

    C:\Program Files\Microsoft SQL Server\MSSQL10_50.R8\MSSQL\Binn>sqlservr.exe -m -

    sR8

    2014-05-26 16:14:33.41 Server Error: 17058, Severity: 16, State: 1.

    2014-05-26 16:14:33.41 Server initerrlog: Could not open error log file ''.

    Operating system error = 3(The system cannot find the path specified.).

    2014-05-26 16:14:33.71 Server Error: 17058, Severity: 16, State: 1.

    2014-05-26 16:14:33.71 Server initerrlog: Could not open error log file ''.

    Operating system error = 3(The system cannot find the path specified.).

    2014-05-26 16:14:34.01 Server Error: 17058, Severity: 16, State: 1.

    2014-05-26 16:14:34.01 Server initerrlog: Could not open error log file ''.

    Operating system error = 3(The system cannot find the path specified.).

    2014-05-26 16:14:34.31 Server Error: 17058, Severity: 16, State: 1.

    2014-05-26 16:14:34.31 Server initerrlog: Could not open error log file ''.

    Operating system error = 3(The system cannot find the path specified.).

    2014-05-26 16:14:34.62 Server Error: 17058, Severity: 16, State: 1.

    2014-05-26 16:14:34.62 Server initerrlog: Could not open error log file ''.

    Operating system error = 3(The system cannot find the path specified.).

    2014-05-26 16:14:34.92 Server Error: 17058, Severity: 16, State: 1.

    2014-05-26 16:14:34.92 Server initerrlog: Could not open error log file ''.

    Operating system error = 3(The system cannot find the path specified.).

    2014-05-26 16:14:35.22 Server Error: 17058, Severity: 16, State: 1.

    2014-05-26 16:14:35.22 Server initerrlog: Could not open error log file ''.

    Operating system error = 3(The system cannot find the path specified.).

    2014-05-26 16:14:35.52 Server Error: 17058, Severity: 16, State: 1.

    2014-05-26 16:14:35.52 Server initerrlog: Could not open error log file ''.

    Operating system error = 3(The system cannot find the path specified.).

    2014-05-26 16:14:35.82 Server Error: 17058, Severity: 16, State: 1.

    2014-05-26 16:14:35.82 Server initerrlog: Could not open error log file ''.

    Operating system error = 3(The system cannot find the path specified.).

    2014-05-26 16:14:36.12 Server Error: 17058, Severity: 16, State: 1.

    2014-05-26 16:14:36.12 Server initerrlog: Could not open error log file ''.

    Operating system error = 3(The system cannot find the path specified.).

Viewing 15 posts - 1 through 15 (of 25 total)

You must be logged in to reply to this topic. Login to reply