473,770 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Online backup

Al
We have a production DB that is running DB2 v8 fix pak 8. Some of
configuration parameter on the primary DB config file is:

Logretain = NO
Userexit = NO
Logarchmeth1 = Disk:/aa/bb/ccc/

when I ran: db2 backup DB <DBNAMEonline
the command ran successful, I ran db2ckbkp on the backup, result is
successful.

According to IBM one of "Logretain" or "Userexit" must be turn on
before an online backup can be taken.
Am I missing something here, both Logretain & Userexit are off and I'm
still able to make online backup?

Thanks for your input.

Al

Dec 29 '06 #1
4 5488

Al wrote:
We have a production DB that is running DB2 v8 fix pak 8. Some of
configuration parameter on the primary DB config file is:

Logretain = NO
Userexit = NO
Logarchmeth1 = Disk:/aa/bb/ccc/

when I ran: db2 backup DB <DBNAMEonline
the command ran successful, I ran db2ckbkp on the backup, result is
successful.

According to IBM one of "Logretain" or "Userexit" must be turn on
before an online backup can be taken.
Am I missing something here, both Logretain & Userexit are off and I'm
still able to make online backup?

Thanks for your input.

Al
Hai AI..

There is nothing u missed... When u enable LOGARCHMETH1 ("Logarchmet h1
= Disk:/aa/bb/ccc/") u are archiving the logs to the location u
specified (Disk:/aa/bb/ccc/" in this case) . So archive logging is
enabled and so the online backup happened....

Logretain is also similar to that , when u enable logretain u are
asking the logs to be retained in a default location...... in older
versions there is no LOGARCHMETH1 .. in that case we use LOGRETAIN and
USEREXIT to archive in required location..

Regards
Kamal

Dec 29 '06 #2
Al
Hello Kamal,

IBM doc's doesn't state that Logarchmth1 by itself will allow us to do
Online backup and rollforward the DB to any giving point. My
understanding that Logretain & Logarchmth1 must be turned on before a
successful online backup happen.

Thanks for your input.

Regards,
Al

Dec 29 '06 #3
Ian
lAl wrote:
Hello Kamal,

IBM doc's doesn't state that Logarchmth1 by itself will allow us to do
Online backup and rollforward the DB to any giving point. My
understanding that Logretain & Logarchmth1 must be turned on before a
successful online backup happen.
The doc was updated a long time ago, but is a little confusing. The
key information is provided in the first 2 sentences:

Log retain (logretain)
This configuration parameter has been replaced by logarchmeth1.
It is still supported for back-level compatibility.

If logretain is set to RECOVERY, archived logs are kept in the
database log path directory, and the database is considered to be
recoverable, meaning that rollforward recovery is enabled.

Note:

The default value for the logretain database configuration
parameter does not support rollforward recovery. You must change
the value of this parameter if you are going to use rollforward
recovery.

If you read the description of LOGARCHMETH1 and LOGARCHMETH2, they are
much more clear.
Reference:

http://publib.boulder.ibm.com/infoce...n/r0006082.htm

Dec 29 '06 #4
Al

Thanks alot Ian & Kamal

Dec 30 '06 #5

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

Similar topics

2
5596
by: Arijit Chatterjee | last post by:
Dear Friends, I don't know anybody has asked this question before or not.But I need a support urgently.How to take online backup in MS Sql server 2000. Thanks Arijit Chatterjee
4
9477
by: manwiththeaxe.70 | last post by:
I have recently begun to migrate our DB2 UDB v7.2 enterprise databases up to DB2 UDB v8.2. One question I can't seem to understand is why would I want to run an offline backup for a database now that the online backup includes the necessary log files. Is there a reason why I would need or want to go through the hassle of getting exclusive control of a db for an offline backup?
6
3677
by: Raj | last post by:
How can we do an online restore of a tablespace using the incremental backup's? we are on a partitioned database... Also, how could we use backup copy made by the load (using the copy to option in load) to revover the tablespace? Thanks, Raj
5
1942
by: Gladiator | last post by:
Hai..... I have a database............ i took an online backup for tht..... After tht mistakenly i dropped the database.......... now i dont have the logs also....... now after i restore the database it will be in rollforward pending state........ when i am rollforwarding it is saying cannot rollforward........ can anyone tell me how to bring the database back again........
3
2518
by: Konstantin Andreev | last post by:
Hello, everybody. I've spent a lot of time reading "DB2 Information Center" and Raul Chong's book "Understanding DB2. Learning Visually with Examples", but still unable to answer this simple question. I need to perform the full database backup for at least these two goals: - to restore data onto developers' database system. - to ensure disaster recovery
10
3177
by: Konstantin Andreev | last post by:
Hello. Some time ago I asked in this conference, - How to use an ONLINE BACKUP to restore database onto another system? - but got no answers. Therefore I can conclude it is not possible. But... what can I do with "online backup", really ? What is it needed for ? I do not see any possibility to use this backup. Please, share your knowledge, if you can. Yes, I've read that since version 8.2 there is an option "INCLUDE LOSG" for "online...
4
20499
by: aj | last post by:
DB2 LUW v8.2 FP 14 RHAS 2.1 I have a DB2 online DB backup that was done w/ the INCLUDE LOGS option. I am interested in restoring that backup, and rolling forward ONLY the logs contained in the backup and no more, then bringing the DB online. I do not want to use a userexit to try and retrieve additional logs - I only want to roll forward the logs in the backup. (In case you haven't guessed, I am restoring a test version of my
5
3622
by: Konstantin Andreev | last post by:
Hello, all. I can't figure out <subjectfrom documentation. I had configured LOGARCHMETH1 = DISK:/bak/logs so all full log files are copied *out* of the active log path. Let I issue | # DB2 BACKUP DB MYDB ONLINE TO '/bak/images'
6
7721
by: michael.spoden | last post by:
Hi, how can I fix lock-waits during an online backup? Is an online backup in DB2 V8.2 not realy online? I'm using DB2 V8.2 Fixpak 15 on Linux. The command to perform the backup is: db2 backup db BPEDB online to / var/tmp During the backup the application hangs on just one table
2
11077
by: alex250374 | last post by:
Hi all, db2 9.1 fixpak 0 aix 5.3 I have a big problem every time I start an online backup with include logs via veritas comes out an error!!! The db2diag shows: 2009-10-29-17.57.22.240269+060 E10634592A396 LEVEL: Info PID : 995458 TID : 1 PROC : db2agent (idle) INSTANCE: db2inst1 NODE : 000 DB : ATMDB
0
9617
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10036
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
8929
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
7451
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
6710
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
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...
0
5481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
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
3607
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.