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 > Creating Restore Redirect Script

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-24-07, 20:56
DB2USER99 DB2USER99 is offline
Registered User
 
Join Date: Sep 2007
Posts: 10
Creating Restore Redirect Script

Hi ,

Can you please help in generating a Restore redirect Script as I have 100's of tablespaces. I browsed through some forums and I found replies where people have used db2ckbkp with -T option and get snapshot for tablespaces with awk.
1) How do you get the db2ckbkp -T to work with backups on TSM.How do I specify the path or location and which is the command used to find the information.
2)How can I determine the Size of the Backup Image on a TSM.
3)How do I generate the Restor Redirect Script with all the paths specified for the 100's of tablespaces.
I know in Version 9 they have come up with the option GENERATE SCRIPT .What is the method to generate Scripts for DB2 V8.

Please suggest,

Thanks in Advance.
Reply With Quote
  #2 (permalink)  
Old 09-25-07, 09:25
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
I have a script for generating redirect and attached it as a file
Attached Files
File Type: zip redirect_restore.zip (1.4 KB, 68 views)
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #3 (permalink)  
Old 09-25-07, 10:41
DB2USER99 DB2USER99 is offline
Registered User
 
Join Date: Sep 2007
Posts: 10
Thanks for your reply,

I am unable to open the zip file as it gives and error " is invalid or corrupt ".
Do you have any solutuions to my other questions.

Thanks
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