473,388 Members | 1,256 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

SQLDBDIR lost, recovery-scenarios

Hi everybody,

we're using DB2 7.2 FP 11 on WinNT machines, today one server was down,
because the complete directory E:\DB2\NODE0000\SQLDBDIR was gone.

Question: I restored this directory from a TSM-backup, but could I
have done something else?

After the restore most databases worked again, with the exception of
one: "SQL5005C" (System error). I had to restore the database from a
2 day old backup. Although I previously saved the logfiles, I was not
able to rollforward this database (SQL1206N).

I was under the impression, that I would be able to restore a database
to a specific point in time, if I had the correct logfiles.

Question: if I have all logfiles since the last "backup database", how
do I roll it forward?

TIA Frederick
Nov 12 '05 #1
1 3833
Frederick, I'm puzzled by that SQL1206 - "PRUNE LOGFILE is not supported
in this configuration". What command did you issue after the RESTORE
completed?

Also, I assume that this is an offline backup image of a recoverable
(LOGRETAIN or USEREXIT = ON) database, true?

The easy answer to your question is that you simply issue the
ROLLFORWARD command after the RESTORE completes, but we probably need to
understand more about your scenario first. Do you recall the exact
RESTORE command that you issued?

Thanks.
kdr
Frederick Page wrote:
After the restore most databases worked again, with the exception of
one: "SQL5005C" (System error). I had to restore the database from a
2 day old backup. Although I previously saved the logfiles, I was not
able to rollforward this database (SQL1206N).

I was under the impression, that I would be able to restore a database
to a specific point in time, if I had the correct logfiles.

Question: if I have all logfiles since the last "backup database", how
do I roll it forward?

--
================================================== ===================
Kelly D. Rodger IBM Canada
DB2 UDB Development Backup & Restore
================================================== ===================

Nov 12 '05 #2

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

Similar topics

3
by: Matias Silva | last post by:
Hi Everyone, I wrote a for loop to build several select statements that are combined with a UNION. When I execute one of the queries separately, it works, but when I execute the query with a UNION...
3
by: Paul | last post by:
Hi, is there any way to recreate manually or by an Exe the file sqldbdir in the system and local database directory. My problem is : i have lost both sqldbdir and want to recatalog the database...
10
by: xixi | last post by:
i have db2 udb v8.1 on windows 64 bit 2003 server, after db2 server start , i found this in the db2diag.log, is this error? 2004-05-05-15.28.30.780000 Instance:DB2 Node:000...
3
by: jignesh shah | last post by:
Hi all, Is there a way to recover a single container if its been corrupted or mark bad without restoring whole tablespace? environment: db28.1/aix5.1/tsm/rs-6000. Regards Jignesh
2
by: Stan | last post by:
An mdb file (front end) seems to have disappeared - a couple of days ago. I used a file recovery utility to hunt for it. The only thing that turned up that looked interesting was a file with the...
2
by: Andrew Sukow | last post by:
Greetings, Our postgres system crashed and upon restarting it our database had the following errors. The error log was 4.5 gigs which is much larger than usual. We looked online for information...
2
by: Racerx | last post by:
Hi All : I use db2 8.1 fixpack 3 on AIX. I recieved the following message in the diaglog ====================================================== ADM7513W Database manager has started. ...
2
by: Tin | last post by:
I bought a laptop and burned 4 recovery CDs for recovery purpose. Instead of burning as disc images, I just copied and pasted these 4 CDs to my USB HDD as 4 folders called "RecoveryCD 1",...
0
by: Winder | last post by:
Computer Data Recovery Help 24/7 Data recovering tools and services is our focus. We will recover your data in a cost effective and efficient manner. We recover all operating systems and media....
4
by: Will Honea | last post by:
Running Express-C 9.5 on Suse and I made the gross error of deciding to look at Vista. Making a long story short, Vista managed to trash the partitions on the drive containing Linux. I have...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.