db2user99
2007-09-25 01:45:58 UTC
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.UNIX AIX.
I found a link on the IBM site.I tried just executing the file which would generate the SET TABLESPACE containers as I did not want to make changes to the profile.
http://www.ibm.com/developerworks/db2/library/techarticle/0212mulligan/0212mulligan.html
Please suggest,
Thanks in Advance.
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.UNIX AIX.
I found a link on the IBM site.I tried just executing the file which would generate the SET TABLESPACE containers as I did not want to make changes to the profile.
http://www.ibm.com/developerworks/db2/library/techarticle/0212mulligan/0212mulligan.html
Please suggest,
Thanks in Advance.