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 > Regarding Online Backup

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-18-10, 07:13
ashwinjoshi ashwinjoshi is offline
Registered User
 
Join Date: Oct 2010
Posts: 18
Regarding Online Backup

Hi,

I am trying to online backup for 8 tablespaces

First I have configured LOGARCHMETH1 using

db2 update db cfg for visilog using LOGARCHMETH1 DISK:/data1/db2inst1/visilog

and issuing command

db2 "backup db visilog tablespace (SYSCATSPACE,TEMPSPACE1,USERSPACE1,SYSTOOLSPACE,TS 32,TS8,TSSTMP32,TSSTMP8) online"

still i am getting error like

[db2inst1@brahmagupta ~]$ db2 "backup db test tablespace (SYSCATSPACE,TEMPSPACE1,USERSPACE1,SYSTOOLSPACE,TS 32,TS8,TSSTMP32,TSSTMP8) online"
SQL2421N Table space level backup is not allowed because roll-forward
recovery is not enabled.

Please suggest me...
Reply With Quote
  #2 (permalink)  
Old 11-18-10, 08:09
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
u need to force off all application and take a offline backup then only ur configured parameter gets enabled.. chk db2 get db cfg show detail and chk the LOGARCHMETH1 status...

once offline db backup taken it will allow to take the tablespace level online backup

regds
Paul
Reply With Quote
  #3 (permalink)  
Old 11-18-10, 09:29
ashwinjoshi ashwinjoshi is offline
Registered User
 
Join Date: Oct 2010
Posts: 18
Yeah thnx alot..

It worked...

One more doubt, is restore procedure is same for both online and offline backups??
Reply With Quote
  #4 (permalink)  
Old 11-18-10, 10:36
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Restore is the same; it's rollforward that is different.
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