I have a backup file: tom.bak that is backed up from another Sql Server.
I want to add it to my other Sql Server.
Do I need to do a restore?
Do I need to Create the database first?
What about Master - is there something I have to do with that?
I am in the process of converting my Evaluation version to the Retail
version we just bought. According to MS, I only need to do an "Upgrade,
remove or add components to an existing instance of SQL Server", Select the
instance (which there should be only one), select "Upgrade your existing
installation" option and then select "Yes, upgrade my programs" box.
I want to make sure my backups are OK before I do this, so I want to check
it on my other machine.
I assume this will not effect my databases, but I want to make sure.
Thanks,
Tom> Do I need to do a restore?
Yes.
> Do I need to Create the database first?
No. Restore will (re)create the target database.
> What about Master - is there something I have to do with that?
No, unless you want to practice your master database restore procedure.
Hope this helps.
Dan Guzman
SQL Server MVP
"tshad" <tscheiderich@.ftsolutions.com> wrote in message
news:eQj4URUFFHA.560@.TK2MSFTNGP15.phx.gbl...
>I have a backup file: tom.bak that is backed up from another Sql Server.
> I want to add it to my other Sql Server.
> Do I need to do a restore?
> Do I need to Create the database first?
> What about Master - is there something I have to do with that?
> I am in the process of converting my Evaluation version to the Retail
> version we just bought. According to MS, I only need to do an "Upgrade,
> remove or add components to an existing instance of SQL Server", Select
> the instance (which there should be only one), select "Upgrade your
> existing installation" option and then select "Yes, upgrade my programs"
> box.
> I want to make sure my backups are OK before I do this, so I want to check
> it on my other machine.
> I assume this will not effect my databases, but I want to make sure.
> Thanks,
> Tom
>
Showing posts with label backed. Show all posts
Showing posts with label backed. Show all posts
Monday, February 13, 2012
Attaching a DB gives this error
My database was showing as suspect so I stopped the server, backed up these 2 files & dropped the database.
I recreated a database, stopped the server & copied these 2 files back, it wont attach.
I tried using
sp_attach_db & sp_attach_single_file_db it gives me these errors, any idea?
Server: Msg 9001, Level 21, State 1, Line 1
The log for database 'isgvertusp' is not available.
45 transactions rolled forward in database 'isgvertusp' (6).
Connection Broken
FYI - MDF file size = 57 MB, LOG File size = 6.2 GBFYI- I have checked the existence of Physical files & everything is in place.|||In such case you really should go for a plain simple restore of the database. The actions you took
is not, AFAIK, the documented way to deal with a suspect database. I suggest you indeed restore the
database from a clean backup. You might want to open a case with MS support, but I'm not sure they
can do much for you in this situation.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as ugroup=microsoft.public.sqlserver
"Prasanna" <sqlemail@.yahoo.com> wrote in message
news:715C565B-D78C-4A59-A995-EDEDEBC1F91F@.microsoft.com...
> My database was showing as suspect so I stopped the server, backed up these 2 files & dropped the
database.
> I recreated a database, stopped the server & copied these 2 files back, it wont attach.
> I tried using
> sp_attach_db & sp_attach_single_file_db it gives me these errors, any idea?
>
> Server: Msg 9001, Level 21, State 1, Line 1
> The log for database 'isgvertusp' is not available.
> 45 transactions rolled forward in database 'isgvertusp' (6).
> Connection Broken
>
> FYI - MDF file size = 57 MB, LOG File size = 6.2 GB
>|||PSS recommends a restore in this case, usually some form of corruption is
involved and the best and supported method of recovery is a restore.
Dylan kruger
"Tibor Karaszi" <tibor.please_reply_to_public_forum.karaszi@.cornerstone.se>
wrote in message news:eriu$UukDHA.2964@.tk2msftngp13.phx.gbl...
> In such case you really should go for a plain simple restore of the
database. The actions you took
> is not, AFAIK, the documented way to deal with a suspect database. I
suggest you indeed restore the
> database from a clean backup. You might want to open a case with MS
support, but I'm not sure they
> can do much for you in this situation.
> --
> Tibor Karaszi, SQL Server MVP
> Archive at: http://groups.google.com/groups?oi=djq&as
ugroup=microsoft.public.sqlserver
>
> "Prasanna" <sqlemail@.yahoo.com> wrote in message
> news:715C565B-D78C-4A59-A995-EDEDEBC1F91F@.microsoft.com...
> > My database was showing as suspect so I stopped the server, backed up
these 2 files & dropped the
> database.
> > I recreated a database, stopped the server & copied these 2 files back,
it wont attach.
> > I tried using
> >
> > sp_attach_db & sp_attach_single_file_db it gives me these errors, any
idea?
> >
> >
> > Server: Msg 9001, Level 21, State 1, Line 1
> > The log for database 'isgvertusp' is not available.
> > 45 transactions rolled forward in database 'isgvertusp' (6).
> >
> > Connection Broken
> >
> >
> > FYI - MDF file size = 57 MB, LOG File size = 6.2 GB
> >
>
I recreated a database, stopped the server & copied these 2 files back, it wont attach.
I tried using
sp_attach_db & sp_attach_single_file_db it gives me these errors, any idea?
Server: Msg 9001, Level 21, State 1, Line 1
The log for database 'isgvertusp' is not available.
45 transactions rolled forward in database 'isgvertusp' (6).
Connection Broken
FYI - MDF file size = 57 MB, LOG File size = 6.2 GBFYI- I have checked the existence of Physical files & everything is in place.|||In such case you really should go for a plain simple restore of the database. The actions you took
is not, AFAIK, the documented way to deal with a suspect database. I suggest you indeed restore the
database from a clean backup. You might want to open a case with MS support, but I'm not sure they
can do much for you in this situation.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as ugroup=microsoft.public.sqlserver
"Prasanna" <sqlemail@.yahoo.com> wrote in message
news:715C565B-D78C-4A59-A995-EDEDEBC1F91F@.microsoft.com...
> My database was showing as suspect so I stopped the server, backed up these 2 files & dropped the
database.
> I recreated a database, stopped the server & copied these 2 files back, it wont attach.
> I tried using
> sp_attach_db & sp_attach_single_file_db it gives me these errors, any idea?
>
> Server: Msg 9001, Level 21, State 1, Line 1
> The log for database 'isgvertusp' is not available.
> 45 transactions rolled forward in database 'isgvertusp' (6).
> Connection Broken
>
> FYI - MDF file size = 57 MB, LOG File size = 6.2 GB
>|||PSS recommends a restore in this case, usually some form of corruption is
involved and the best and supported method of recovery is a restore.
Dylan kruger
"Tibor Karaszi" <tibor.please_reply_to_public_forum.karaszi@.cornerstone.se>
wrote in message news:eriu$UukDHA.2964@.tk2msftngp13.phx.gbl...
> In such case you really should go for a plain simple restore of the
database. The actions you took
> is not, AFAIK, the documented way to deal with a suspect database. I
suggest you indeed restore the
> database from a clean backup. You might want to open a case with MS
support, but I'm not sure they
> can do much for you in this situation.
> --
> Tibor Karaszi, SQL Server MVP
> Archive at: http://groups.google.com/groups?oi=djq&as
ugroup=microsoft.public.sqlserver
>
> "Prasanna" <sqlemail@.yahoo.com> wrote in message
> news:715C565B-D78C-4A59-A995-EDEDEBC1F91F@.microsoft.com...
> > My database was showing as suspect so I stopped the server, backed up
these 2 files & dropped the
> database.
> > I recreated a database, stopped the server & copied these 2 files back,
it wont attach.
> > I tried using
> >
> > sp_attach_db & sp_attach_single_file_db it gives me these errors, any
idea?
> >
> >
> > Server: Msg 9001, Level 21, State 1, Line 1
> > The log for database 'isgvertusp' is not available.
> > 45 transactions rolled forward in database 'isgvertusp' (6).
> >
> > Connection Broken
> >
> >
> > FYI - MDF file size = 57 MB, LOG File size = 6.2 GB
> >
>
Subscribe to:
Posts (Atom)