473,756 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3861
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
5454
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 it returns: ERROR 2013 (HY000): Lost connection to MySQL server during query I am able to run additional queries after I get the error, so the connection is not lost. I have tried running the query with the union on MySQL Query Browser and...
3
5118
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 but this doesnt work the catalog command process succesfully but i can't connect since db2 don't know the name of the subdirectory where the database resides.
10
9542
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 PID:1692(db2syscs.exe) TID:2860 Appid:AC10040A.GD5F.00FC56D8BEC5 base sys utilities sqledint Probe:30 Crash Recovery is needed. 2004-05-05-15.28.31.890000 Instance:DB2 Node:000
3
2633
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
1336
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 same name beginning, but ending in ".lnk". This is a relatively small file, about 66k, whereas my mdb is about 20 meg. I have recovered the file but do not know it's significance or where to place it if it is the important file. Comments and...
2
2119
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 about lost left siblings and how to fix the data and not lose the 400 million records we have. Anyone have an idea what's the matter and what the fix is? LOG: database system was interrupted while in recovery at 2004-08-17 08:59:41 PDT HINT: ...
2
3647
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. 2007-01-13-18.55.08.262174 Instance:db2inst1 Node:000 PID:467078(db2agent (mumar) 0) TID:1 Appid:GA010302.O03F.01101B9A3444 base sys utilities sqledint Probe:30
2
1867
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", "RecoveryCD 2", "RecoveryCD 3" and "RecoveryCD 4". Now my laptop got problem and I lost my 4 recovery CDs. All I have now is 4 recovery folders in my USB HDD. I burned another 4 CDs as data discs from my USB HDD, but it didn't work out (it didn't boot...
0
2071
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. Call for a free consultation. http://a.uuload.com/Computer-Data-Recovery.htm LiveVault's Online Recovery Service Protect vital data with LiveVault's offsite backup and data storage. http://a.uuload.com/Computer-Data-Recovery.htm
4
2071
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 managed to recover to partiton containing the DB2 instance I want to resurrect but the root partition is a lost cause so it's rebuild time - as far from Vista as I can get - but I would really like to recovery the databases on that trashed drive if...
0
9255
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9844
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9819
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8688
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7226
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5119
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3780
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 we have to send another system
2
3326
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2647
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.