Re: Can't restore master db!!

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Hari Prasad (hari_prasad_k_at_hotmail.com)
Date: 08/02/04


Date: Mon, 2 Aug 2004 20:51:32 +0530

Hi,

To restore the master database you have start the SQL server itself in
Single user mode.

1. Stop the MSSQL server and sql agent service

2. Go to command prompt and execute below command,.

sqlservr.exe -c -m

3. Login to sql server using query analyzer and retore the master database.

4. After the restore .. go to old comamnd prompt and press CONTRL and C to
close the old session

5. Go to control panel and start the MSSQL server and Sql agent service.

Note:

I recommend you to restore the master database first followed with other
databases.

Thanks
Hari
MCDBA

"Cathy Finnegan" <eliminates_spam_caeriel1@cablespeed.com> wrote in message
news:jamsg0tqoig5fqs15kdonltvlitoiktf3u@4ax.com...
> Hi:
>
> I've got a problem that's causing me headaches! I'm using Veritas Backup
Exec to perform my db backups. I've just
> recently taken over the DBA responsibilities and one of the first things
I've wanted to do is test those backups since
> we've never had occassion to use the backups. I have a test system that
I'm using and have it configured exactly as the
> production system.
>
> After installing MS SQL Server 7 putting on SP4 and all the security
patches I try to restore all the databases. I can
> get all my databases restored except the master db that contains all my
security info. I keep getting the message
> "must be in single user mode". I've tried to set the master db into
single user mode and there's just no way to do it!!
> I've tried using the EM and the sp_dboption. Without that master db
restored I'm in deep doo-doo!
>
> Any ideas how I can handle this?? Any help/suggestions is greatly
appreciated.
>
> TIA
>
> Cathy
>
> SQL Server 7( SP4), NT4.0



Relevant Pages

  • Re: Single user mode
    ... You can restore the Master database backup to another SQL Server. ... restore Master database you have to start the sql server in single user. ...
    (microsoft.public.sqlserver.server)
  • Re: Master DB restore on another SQL server
    ... You can restore the Master database backup to another SQL Server. ... restore Master database you have to start the sql server in single user. ...
    (microsoft.public.sqlserver.clients)
  • Re: Restore master database to another server another instance?
    ... You can restore the Master database backup to another SQL Server. ... This will start the SQL server in single user mode... ...
    (microsoft.public.sqlserver.setup)
  • Re: Restoring the Master Database
    ... You need to start SQL Server in single-user mode in order to restore master. ... > I am trying to restore the master database and am getting the following ...
    (microsoft.public.sqlserver.server)
  • Re: Backing Up WSS
    ... Backup and Restore Options for Windows SharePoint Services ... ·Use the Microsoft SQL Server 2000 tools to back up the databases. ...
    (microsoft.public.sharepoint.portalserver)