PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > Restoreing MASTER DB
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Restoreing MASTER DB

Réponse
 
LinkBack Outils de la discussion
Vieux 27/03/2008, 21h26   #1
Pat.Rick
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Restoreing MASTER DB

Hi Freinds,
SQL2005

I rebuild my server and trying to restore master DB, I start server in
single mode, but I'm getting this error:
SP2 and all patches are the same.

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\>sqlcmd
1> restore database master from disk = 'D:\SQL_BACKUPS\master.bak';
2> go
Msg 3154, Level 16, State 4, Server LADBREPORT, Line 1
The backup set holds a backup of a database other than the existing
'master' dat
abase.
Msg 3013, Level 16, State 1, Server LADBREPORT, Line 1
RESTORE DATABASE is terminating abnormally.
1>

what could be the reason ?

Thanks in advance,
Pat
  Réponse avec citation
Vieux 27/03/2008, 21h45   #2
Tibor Karaszi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Restoreing MASTER DB

Start by investigating what is on that backup file using RESTORE HEADERONLY.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"Pat.Rick" <PatrickAlexander.email@gmail.com> wrote in message
news:2b5d318f-03a4-4fb0-b300-18a1cf177c0c@d4g2000prg.googlegroups.com...
> Hi Freinds,
> SQL2005
>
> I rebuild my server and trying to restore master DB, I start server in
> single mode, but I'm getting this error:
> SP2 and all patches are the same.
>
> Microsoft Windows [Version 5.2.3790]
> (C) Copyright 1985-2003 Microsoft Corp.
>
> C:\>sqlcmd
> 1> restore database master from disk = 'D:\SQL_BACKUPS\master.bak';
> 2> go
> Msg 3154, Level 16, State 4, Server LADBREPORT, Line 1
> The backup set holds a backup of a database other than the existing
> 'master' dat
> abase.
> Msg 3013, Level 16, State 1, Server LADBREPORT, Line 1
> RESTORE DATABASE is terminating abnormally.
> 1>
>
> what could be the reason ?
>
> Thanks in advance,
> Pat


  Réponse avec citation
Vieux 27/03/2008, 21h48   #3
TheSQLGuru
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Restoreing MASTER DB

Are you following the very detailed instructions in BOL for how to restore a
master database?


--
Kevin G. Boles
Indicium Resources, Inc.
SQL Server MVP
kgboles a earthlink dt net


"Pat.Rick" <PatrickAlexander.email@gmail.com> wrote in message
news:2b5d318f-03a4-4fb0-b300-18a1cf177c0c@d4g2000prg.googlegroups.com...
> Hi Freinds,
> SQL2005
>
> I rebuild my server and trying to restore master DB, I start server in
> single mode, but I'm getting this error:
> SP2 and all patches are the same.
>
> Microsoft Windows [Version 5.2.3790]
> (C) Copyright 1985-2003 Microsoft Corp.
>
> C:\>sqlcmd
> 1> restore database master from disk = 'D:\SQL_BACKUPS\master.bak';
> 2> go
> Msg 3154, Level 16, State 4, Server LADBREPORT, Line 1
> The backup set holds a backup of a database other than the existing
> 'master' dat
> abase.
> Msg 3013, Level 16, State 1, Server LADBREPORT, Line 1
> RESTORE DATABASE is terminating abnormally.
> 1>
>
> what could be the reason ?
>
> Thanks in advance,
> Pat



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 21h49.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09161 seconds with 11 queries