If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > backup pending

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-10-04, 12:41
dingi dingi is offline
Registered User
 
Join Date: Feb 2004
Posts: 34
backup pending

DB2 version 6.1 UDB
OS Win NT

Just yesterday I designed to take online backup and fall into this error.
How to come out from this error ? Any advice please ?


SQL1116N A connection to or activation of database "SIEBELDB" cannot be made because of BACKUP PENDING. SQLSTATE=57019
Reply With Quote
  #2 (permalink)  
Old 06-10-04, 12:51
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Probably it is expecting an offline backup ...

Have you just set the logretain to YES ???

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 06-11-04, 06:26
er_maarif er_maarif is offline
Registered User
 
Join Date: Jun 2004
Posts: 5
Hi ,

You might have set the logretain to yes or userexit to yes. Once you change these parameters you must take the offline backup. After that only you can take the online backups.

Let us know if it works for u.

Thanks.
Reply With Quote
  #4 (permalink)  
Old 06-11-04, 19:00
dingi dingi is offline
Registered User
 
Join Date: Feb 2004
Posts: 34
How to set these parameters ?
Reply With Quote
  #5 (permalink)  
Old 06-14-04, 02:57
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
2 Ways

Hi Dingi,

You can do it from the configure database logging option of the databases menu under the control center.

OR You can customize the sample commands below.

CONNECT TO SAMPLE
QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS;
UNQUIESCE DATABASE;
CONNECT RESET;
UPDATE DB CFG FOR SAMPLE USING logretain ON userexit ON logprimary 3 logsecond 2 logfilsiz 250;
BACKUP DATABASE SAMPLE TO "E:\ARCHLOGS\" WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 WITHOUT PROMPTING;

Please also read on backups to get a better picture.

HTH
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On