What command are you running?  Here is an example from the Command Ref:

db2 backup db sample online to backupDir/sample

DB2 Message Ref says:

SQL2413N Online backup is not allowed because either logretain or userexit
for roll-forward is not activated,
or a backup pending condition is in effect for the database.


Explanation: Online backup cannot be performed while the database is not
logging for forward recovery as forward
recovery will be required at restore time. Forward recovery is placed into
effect by setting either the database
configuration logretain parameter or the userexit parameter, and then
performing an offline backup of the database.

User Response: Execute an offline backup or reconfigure the database for
roll-forward recovery and issue an offline
backup so that subsequent online backups will be allowed.

So, I would say either do an offline backup or reconfigure the database.

db2 get database configuration for sample


It might be there, but I'm not certain.





|---------+------------------------------>
|         |           "Noll, Ralph"      |
|         |           <[EMAIL PROTECTED]|
|         |           tate.ar.us>        |
|         |           Sent by: Linux on  |
|         |           390 Port           |
|         |           <[EMAIL PROTECTED]|
|         |           T.EDU>             |
|         |                              |
|         |                              |
|         |           02/19/2003 12:56   |
|         |           Please respond to  |
|         |           Linux on 390 Port  |
|         |                              |
|---------+------------------------------>
  
>----------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                                          |
  |       To:       [EMAIL PROTECTED]                                            
                                                          |
  |       cc:                                                                          
                                                          |
  |       Subject:  db2 v8.1                                                           
                                                          |
  
>----------------------------------------------------------------------------------------------------------------------------------------------|




SQL2413N  Online backup is not allowed because either logretain or userexit
for roll-forward is not activated, or a backup pending condition is in
effect
for the database.

above message from suse 31 bit running db2 v 8.1

how do i fix this

can't find roll forward in pdf doc

thanks

Ralph

Reply via email to