Showing posts with label recovery. Show all posts
Showing posts with label recovery. Show all posts

Wednesday, March 28, 2012

model4IDR

Hi all,
In my database log, I found some messages related to model4IDR all the time:
Recovery is checkpointing database 'model4IDR' (10)
Starting up database 'model4IDR'.
Database restored: Database: model4IDR, creation date(time):
2000/08/06(01:40:52), first LSN: 4:493:1, last LSN: 4:495:1, number of dump
devices: 1, device information: (FILE=1, TYPE=VIRTUAL_DEVICE:
{'RESTORE{5a9ced55-98fe-44a4-9287-e37f3ccb76e8}'}).
Bypassing recovery for database 'model4IDR' because it is marked IN LOAD.
What is happening? how can I get rid of them?
Thanks a lot.Hi
http://groups.google.com.au/group/microsoft.public.sqlserver.server/browse_thread/thread/cc817ce7eb893674/0449d6c6a3518895?q=model4IDR&rnum=2&hl=en#0449d6c6a3518895
You asked the question on 5 July and it was answered.
--
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Catelin Wang" <CatelinWang@.discussions.microsoft.com> wrote in message
news:D00D2C17-B580-4F9F-B642-E1AD97B79094@.microsoft.com...
> Hi all,
> In my database log, I found some messages related to model4IDR all the
> time:
> Recovery is checkpointing database 'model4IDR' (10)
> Starting up database 'model4IDR'.
> Database restored: Database: model4IDR, creation date(time):
> 2000/08/06(01:40:52), first LSN: 4:493:1, last LSN: 4:495:1, number of
> dump
> devices: 1, device information: (FILE=1, TYPE=VIRTUAL_DEVICE:
> {'RESTORE{5a9ced55-98fe-44a4-9287-e37f3ccb76e8}'}).
> Bypassing recovery for database 'model4IDR' because it is marked IN LOAD.
> What is happening? how can I get rid of them?
> Thanks a lot.|||Thanks for the reply.
I did ask NT admin & they had a sencond instance for Back Exec installed on
the same computer, but thye did not know how the model4IDR databse stays
there. Is there a way I can get rid of the database, it may uses the server
resources.
Thanks a lot.
"Mike Epprecht (SQL MVP)" wrote:
> Hi
> http://groups.google.com.au/group/microsoft.public.sqlserver.server/browse_thread/thread/cc817ce7eb893674/0449d6c6a3518895?q=model4IDR&rnum=2&hl=en#0449d6c6a3518895
> You asked the question on 5 July and it was answered.
> --
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "Catelin Wang" <CatelinWang@.discussions.microsoft.com> wrote in message
> news:D00D2C17-B580-4F9F-B642-E1AD97B79094@.microsoft.com...
> > Hi all,
> >
> > In my database log, I found some messages related to model4IDR all the
> > time:
> > Recovery is checkpointing database 'model4IDR' (10)
> > Starting up database 'model4IDR'.
> > Database restored: Database: model4IDR, creation date(time):
> > 2000/08/06(01:40:52), first LSN: 4:493:1, last LSN: 4:495:1, number of
> > dump
> > devices: 1, device information: (FILE=1, TYPE=VIRTUAL_DEVICE:
> > {'RESTORE{5a9ced55-98fe-44a4-9287-e37f3ccb76e8}'}).
> > Bypassing recovery for database 'model4IDR' because it is marked IN LOAD.
> >
> > What is happening? how can I get rid of them?
> >
> > Thanks a lot.
>
>|||Hi All,
i am having a similar issues when trying to RESTORE a database backup on
NAMED instance of CLustered Server.
Here is the situation:
we have three-node cluser (Windows 2003/Sql2000) when I try to resore a
database backup on 2nd instance (virtual server/named instance) I get the
database in (LOADING). I can successfully restore same database backup on
first instance (virtual server/default instance).
Any help would be greatly appreciated.
kamal.
"Catelin Wang" wrote:
> Hi all,
> In my database log, I found some messages related to model4IDR all the time:
> Recovery is checkpointing database 'model4IDR' (10)
> Starting up database 'model4IDR'.
> Database restored: Database: model4IDR, creation date(time):
> 2000/08/06(01:40:52), first LSN: 4:493:1, last LSN: 4:495:1, number of dump
> devices: 1, device information: (FILE=1, TYPE=VIRTUAL_DEVICE:
> {'RESTORE{5a9ced55-98fe-44a4-9287-e37f3ccb76e8}'}).
> Bypassing recovery for database 'model4IDR' because it is marked IN LOAD.
> What is happening? how can I get rid of them?
> Thanks a lot.

Model DB in Warm-Standby

Can anyone help me with this? I tried to use the query
analyzer to bring the Model DB back on-line:
restore database model
with recovery
But this is what I get:
Server: Msg 3101, Level 16, State 1, Line 1
Exclusive access could not be obtained because the
database is in use.
Server: Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.I am assuming that no one else has an open connection to
the model database. You will get this error if you have
the model database "open" in Enterprise Manager and
simultaneously try to execute the RESTORE command from
query analyzer. Hope this helps.
Tim
>--Original Message--
>Can anyone help me with this? I tried to use the query
>analyzer to bring the Model DB back on-line:
>restore database model
>with recovery
>But this is what I get:
>Server: Msg 3101, Level 16, State 1, Line 1
>Exclusive access could not be obtained because the
>database is in use.
>Server: Msg 3013, Level 16, State 1, Line 1
>RESTORE DATABASE is terminating abnormally.
>.
>sql

model db during restore

Hello, i have no specific problem but i just want to know your opinion on the issue. Last week I tested my recovery scenario and after installing new server i successfully restored master db. Then I tried to start server, but it wouldn't come up because physical path of model db in master..sysdatabases table didn't correspond to the actual location of db on new server, so that tempdb couldn't be created from model db on server startup. I started server without recovering dbs with exception of master using trace -T3608. Now I hoped that I could restore model using MOVE clause but it gave me error saying that restore operation needs to use temporary table in tempdb. To break this vicious circle I used model db files from installation CD and put them to the expected location. After two restarts server accepted the files and I went on restoring msdb and user databases. But I'm sure I must be missing something and there must be better way to do this but i haven't been able to find anything relating to this problem. Thank you for your input. mojzaGo to Microsoft site and download the best practices anylyzer. Its very good for variables read on the database and could help in some other ways.

Monday, March 26, 2012

Model database recovery planning

I cannot think of any reason, in our environment, why I would recover the model database. Change framework has all databases coming from DEV & QA before landing on PROD. We have never used the model database as framework of new databases either.

So, if I discontinued backup of the database, what is my recovery method if it become corrupt? Since mine is not used, can I simply copy it from another server?

Just keep either a BACKUP or a copy of the mdf/ldf files in safe storage.|||Just use the create script in your \install folder to recreate your model db.|||

Just be aware that it is an ESSENTIAL database in your system. There is one circumstance under which you do use it automatically for creating a database, and that is the initialisation of your tempdb every time you start the SQL Server service.

My understanding is that if model is not available then tempdb cannot be initialised and SQL Server will not start.

Friday, March 23, 2012

MMC recovery

We recently lost our hard disk on disk c: It contained
Windows 2000 system files, but no SQL Server 7.0 files.
Our program files, data, and backups were on drive d:.
After rebuilding the W2K server, we ran regrebld.exe to
reestabish the W2K registry entries. We were able to
restart SQL Server and the Agent, but MMC (Microsoft
Management Console) will not start due to problems with
missing CLSIDs. We are able to access the database and
Agent info from remote MMCs, but not on the local server.
I don't see any option to reinstall/register MMC. Any
ideas of what to do?I found instmmc.exe on the installation disk. I'll try it
in the morning.
>--Original Message--
>We recently lost our hard disk on disk c: It contained
>Windows 2000 system files, but no SQL Server 7.0 files.
>Our program files, data, and backups were on drive d:.
>After rebuilding the W2K server, we ran regrebld.exe to
>reestabish the W2K registry entries. We were able to
>restart SQL Server and the Agent, but MMC (Microsoft
>Management Console) will not start due to problems with
>missing CLSIDs. We are able to access the database and
>Agent info from remote MMCs, but not on the local
server.
>I don't see any option to reinstall/register MMC. Any
>ideas of what to do?
>.
>

Wednesday, March 21, 2012

mixed recovery modes

Are there any limitations in SQL Server 2000, or 2005 in working with one
database in full recovery mode and another in simple recovery mode?
Under other platforms, you can't join between a logged and non-logged
database.
I think the answer is "no problem", but I would like to be sure.
In particular, I'm thinking about changing the recovery model of the
database drop off point to the search engine to simple, as its just a copy
and is reset daily from production.No problem. :-)
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Jay" <nospam@.nospam.org> wrote in message news:ec6fVRL8HHA.2004@.TK2MSFTNGP06.phx.gbl...
> Are there any limitations in SQL Server 2000, or 2005 in working with one database in full
> recovery mode and another in simple recovery mode?
> Under other platforms, you can't join between a logged and non-logged database.
> I think the answer is "no problem", but I would like to be sure.
> In particular, I'm thinking about changing the recovery model of the database drop off point to
> the search engine to simple, as its just a copy and is reset daily from production.
>|||ty sir.
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:eAGqgSL8HHA.1204@.TK2MSFTNGP03.phx.gbl...
> No problem. :-)
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
> "Jay" <nospam@.nospam.org> wrote in message
> news:ec6fVRL8HHA.2004@.TK2MSFTNGP06.phx.gbl...
>> Are there any limitations in SQL Server 2000, or 2005 in working with one
>> database in full recovery mode and another in simple recovery mode?
>> Under other platforms, you can't join between a logged and non-logged
>> database.
>> I think the answer is "no problem", but I would like to be sure.
>> In particular, I'm thinking about changing the recovery model of the
>> database drop off point to the search engine to simple, as its just a
>> copy and is reset daily from production.
>

Monday, March 19, 2012

Mistakenly dropped database in SQL Server! Data recovery?

Could anyone please help with any ideas?
A database was mistakenly dropped in SQL Server. There were no backup files
. Nothing else has been written to the hard drive so the data should still
be on the hard drive (not overwritten). Can anyone help or offer any ideas
as to how I might be able t
o recover this? Is there data recovery software that will look at the hardd
rive to find and restore this data (similar to a recycle bin restore?) Any
assistance would be greatly appreciated as soon as possible. I would be ve
ry grateful for any ideas/s
uggestions.search on google for undelete or unerase softwares, there are plenty of them
available.
but they will work only till nothing else overrites on the disk.
And its always good to have backups of important databases.
regards,
harshal.
"Steve" <anonymous@.discussions.microsoft.com> wrote in message
news:404D6405-6AD1-48CB-BC01-5CEC9A87DD1A@.microsoft.com...
> Could anyone please help with any ideas?
> A database was mistakenly dropped in SQL Server. There were no backup
files. Nothing else has been written to the hard drive so the data should
still be on the hard drive (not overwritten). Can anyone help or offer any
ideas as to how I might be able to recover this? Is there data recovery
software that will look at the harddrive to find and restore this data
(similar to a recycle bin restore?) Any assistance would be greatly
appreciated as soon as possible. I would be very grateful for any
ideas/suggestions.

Mistakenly dropped database in SQL Server! Data recovery?

Could anyone please help with any ideas?
A database was mistakenly dropped in SQL Server. There were no backup files. Nothing else has been written to the hard drive so the data should still be on the hard drive (not overwritten). Can anyone help or offer any ideas as to how I might be able to recover this? Is there data recovery software that will look at the harddrive to find and restore this data (similar to a recycle bin restore?) Any assistance would be greatly appreciated as soon as possible. I would be very grateful for any ideas/suggestions.search on google for undelete or unerase softwares, there are plenty of them
available.
but they will work only till nothing else overrites on the disk.
And its always good to have backups of important databases.
regards,
harshal.
"Steve" <anonymous@.discussions.microsoft.com> wrote in message
news:404D6405-6AD1-48CB-BC01-5CEC9A87DD1A@.microsoft.com...
> Could anyone please help with any ideas?
> A database was mistakenly dropped in SQL Server. There were no backup
files. Nothing else has been written to the hard drive so the data should
still be on the hard drive (not overwritten). Can anyone help or offer any
ideas as to how I might be able to recover this? Is there data recovery
software that will look at the harddrive to find and restore this data
(similar to a recycle bin restore?) Any assistance would be greatly
appreciated as soon as possible. I would be very grateful for any
ideas/suggestions.