473,480 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to restore a log? Now we get an error

Hi,

While restoring the log we receive a message after about 30 minutes:

Processed 1152109 pages for database 'restest', file 'sales_Log' on
file 1
Server: Msg 9004, Leverl 21, State 20, Line 3
An error occurred while processing the log for database ' '.

It is unclear why the databasename is an empty string, I guess there must be
something corrupt hereo or a bug.

These are the steps we followed:
- restore database with norecovery (to different database)
- restore the log with recovery

The database stays un-accessable after the restore log, so it seems there
was no recovery done.
When I look at the files I see a restest_Log with about the same size
of the log we try to restore. It is unclear if the restore database
put this file here, or it is created during the restore log.

Someone has a clue?

Regards,

Rene
Jul 20 '05 #1
1 5694
Not exactly, first of all we are running SQL2000, secondly the message is:
An error occurred while processing the log for database ' '.

There is *no name* of the database. If is was correct it would say:
An error occurred while processing the log for database 'Sales'.

So or some execption occured which resulted in a bug, or the message with no
databaseanme is a standard message from SQL (I won't believe this).

The database was restored with no recovery (and is not accesible), it seems
the log was restored too.

I tried a in time restore, but it takes 30 minutes too before the message
shows up.

Rene
"Dejan Sarka" <de************************************@avtenta.si > schreef in
bericht news:uN**************@TK2MSFTNGP12.phx.gbl...
Maybe the article at
http://support.microsoft.com/default...b;en-us;277843 can help you?
--
Dejan Sarka, SQL Server MVP
FAQ from Neil & others at: http://www.sqlserverfaq.com
Please reply only to the newsgroups.
PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Rene" <no@spam.nl> wrote in message
news:vi************@corp.supernews.com...
Hi,

While restoring the log we receive a message after about 30 minutes:

Processed 1152109 pages for database 'restest', file 'sales_Log' on
file 1
Server: Msg 9004, Leverl 21, State 20, Line 3
An error occurred while processing the log for database ' '.

It is unclear why the databasename is an empty string, I guess there must
be
something corrupt hereo or a bug.

These are the steps we followed:
- restore database with norecovery (to different database)
- restore the log with recovery

The database stays un-accessable after the restore log, so it seems

there was no recovery done.
When I look at the files I see a restest_Log with about the same size
of the log we try to restore. It is unclear if the restore database
put this file here, or it is created during the restore log.

Someone has a clue?

Regards,

Rene


Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
10772
by: Rich | last post by:
Hi there, I've been sent a backup file from a SQL Server 2000 DB and tried restoring into a blank DB (with the same name) on my SQL Server 2K, only it errors, see below: (I've separated each...
4
6185
by: ScottH | last post by:
I am running 7.2 with fixpack 10a under W2K. I got a backup from someone else in an attempt to debug a data issue. The other person created the database with UTF-8 (codepage 1208), so I created a...
1
3833
by: Hakim | last post by:
Hi there, I am a rookie in DB2. I have tried to do a database restoration on my system. Since it should not go directly to our REAL database, I tried to restore to a dummy database. Below...
9
13943
by: GL | last post by:
I am running DB2 8.1.1 on AIX 5.1 Having a problem with a redirected restore. Once into the restore continue phase, I immediately get the following “SQL2059W A device full warning was...
13
7254
by: Andy K | last post by:
Hi , I'm wondering what's going on with a restore I'm trying to do . My DB2 version is a 7.2 on a Linux RH ES 2.1 . I've copy a recent backup that was on NAS for a test on my machine . I...
11
13469
by: Chris | last post by:
I have searched this group for answers and tried the responses. I am trying to Use an full online backup from our production server and apply it to our test server. The Tablespaces in the...
0
4240
by: prerak_v_shah | last post by:
Hi All, These days I was working on IBM DB2 database for windows with my .Net Application. Now, it was required to backup database created on one machine to the other machine. I was also able...
5
4301
by: chow.justy | last post by:
Dear all, I'm a new beginner of DB2. I face 2 question during restore the data. I have 2 DB2 servers on my company. Server A is running on V7.2 and Server B is running on v8.2 (Enterprise...
0
4409
by: mitrofun63 | last post by:
Hello. On my production site i have DB2 9.1.2 database configured for archiving logs and making backup through TSM Data Protection for DB2 UDB The LOGARCHMETH1 parameter is set to ...
0
7054
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6918
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
5357
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4798
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4495
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3008
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3000
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1310
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
199
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.