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 > Restore progress

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-15-03, 14:00
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Lightbulb Restore progress

RDBMS : DB2 UDB V7 FP9
O/S : Windows 2000

Hi guys:

Is there a way to check the progress of restore database command and subsequent roll-forward operation?

dollar
Reply With Quote
  #2 (permalink)  
Old 12-15-03, 14:31
mixxalot mixxalot is offline
Registered User
 
Join Date: May 2003
Posts: 369
rollforward query

Hi,

db2 rollforward db query status
I believe is how you would check the status for your db2 rollforward
processing

Regards,
Scott
Reply With Quote
  #3 (permalink)  
Old 12-15-03, 14:42
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Re: rollforward query

Hi Scott:

I've tried this command, but this is what I get:

SQL1035N The database is currently in use. SQLSTATE=57019

dollar


Quote:
Originally posted by mixxalot
Hi,

db2 rollforward db query status
I believe is how you would check the status for your db2 rollforward
processing

Regards,
Scott
Reply With Quote
  #4 (permalink)  
Old 12-15-03, 19:23
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: rollforward query

Scott's suggestion is for ROLLFORWARD Status and NOT for RESTORE ...

I don't seem to know any command for restore status ... I normally 'ls -lrt' or iostat for the container path to check restore is working

Cheers
Sathyaram


Quote:
Originally posted by dollar489
Hi Scott:

I've tried this command, but this is what I get:

SQL1035N The database is currently in use. SQLSTATE=57019

dollar
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 12-15-03, 20:52
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Re: rollforward query

well, I am interested in the progress of both restore and roll forward. It would be nice if IBM can provide a command which tells you which log file is currenlty being applied.

dollar


Quote:
Originally posted by sathyaram_s
Scott's suggestion is for ROLLFORWARD Status and NOT for RESTORE ...

I don't seem to know any command for restore status ... I normally 'ls -lrt' or iostat for the container path to check restore is working

Cheers
Sathyaram
Reply With Quote
  #6 (permalink)  
Old 12-16-03, 03:13
VolkerK VolkerK is offline
Registered User
 
Join Date: Dec 2003
Location: Duesseldorf - Germany - Europe - Earth - Galaxy
Posts: 18
Hi,

Quote:
well, I am interested in the progress of both restore and roll forward. It would be nice if IBM can provide a command which tells you which log file is currenlty being applied.
We're archiving our logs with TSM and when I'm restoring a Database with rollforward I can watch the success with the dsmadmc-commandline and the "query sessions" command.

While restoring you can see the amount of data transferred, and while rolling forward you can at least see that a logfile is accessed on TSM. Then you can have a look in your audit-path to see it's name - in case you use the userexit deleivered with db2 the log is restored to ....audit/tmp and then moved to the logdirectory.

Regards,
Volker.
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