vojto
ADSM.ORG Member
Hello all.
We run TSM 5.2 (client/server) on AIX 5.2 and have this problem.
We repeatedly need to retrieve a few 1000 files to destination folders different to source ones. Archive backup is made onto tapes.
For example part of source listing is
<UL>
<LI>/aaa/bbb/file1
<LI>/aaa/bbb/file2
<LI>/aaa/ccc/file3
<LI>/aaa/ccc/file4
[/list]
And those listed files should be restored as
<UL>
<LI>/ddd/bbb/file1
<LI>/aaa/bbb/file2
<LI>/aaa/ccc/file3
<LI>/ddd/ccc/file4
[/list]
If I do it like opening separate dsmc session for every single file, it would take a few hours only for managing this dsmc sessions. Suppouse opening 1 dsmc session takes 5 seconds. Only management part of retrieve of 5000 files this way would take 5x5000/3600=7 hours
And commands would look like this:
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE><UL>
<LI>dsmc retrieve -des"blabla" /aaa/bbb/file1 /ddd/bbb/
<LI>dsmc retrieve -des"blabla" /aaa/bbb/file2 [/aaa/bbb/]
<LI>dsmc retrieve -des"blabla" /aaa/ccc/file3 [/aaa/ccc/]
<LI>dsmc retrieve -des"blabla" /aaa/ccc/file4 /ddd/ccc/
<LI>...
[/list]</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE>
Is there a way to do the retrieve job without opening seperate session for every file?
I know of a nice way defining ORIGINAL and NEWDESTination directory for one dsmc session, but it is possible to use it only in case I want all of the files from ORIGINAL directory to be restored to NEWDESTINATION. example:
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>dsmc retrieve -des"blabla" /original/directory/ /newdest/directory/</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE>
Olso wildcards would be very helpfull to me if it would reduce number of dsmc sessions. I am aware of the fact that restoring files in order different to the order they are layed on tape takes time for searching.
We run TSM 5.2 (client/server) on AIX 5.2 and have this problem.
We repeatedly need to retrieve a few 1000 files to destination folders different to source ones. Archive backup is made onto tapes.
For example part of source listing is
<UL>
<LI>/aaa/bbb/file1
<LI>/aaa/bbb/file2
<LI>/aaa/ccc/file3
<LI>/aaa/ccc/file4
[/list]
And those listed files should be restored as
<UL>
<LI>/ddd/bbb/file1
<LI>/aaa/bbb/file2
<LI>/aaa/ccc/file3
<LI>/ddd/ccc/file4
[/list]
If I do it like opening separate dsmc session for every single file, it would take a few hours only for managing this dsmc sessions. Suppouse opening 1 dsmc session takes 5 seconds. Only management part of retrieve of 5000 files this way would take 5x5000/3600=7 hours
And commands would look like this:
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE><UL>
<LI>dsmc retrieve -des"blabla" /aaa/bbb/file1 /ddd/bbb/
<LI>dsmc retrieve -des"blabla" /aaa/bbb/file2 [/aaa/bbb/]
<LI>dsmc retrieve -des"blabla" /aaa/ccc/file3 [/aaa/ccc/]
<LI>dsmc retrieve -des"blabla" /aaa/ccc/file4 /ddd/ccc/
<LI>...
[/list]</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE>
Is there a way to do the retrieve job without opening seperate session for every file?
I know of a nice way defining ORIGINAL and NEWDESTination directory for one dsmc session, but it is possible to use it only in case I want all of the files from ORIGINAL directory to be restored to NEWDESTINATION. example:
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>dsmc retrieve -des"blabla" /original/directory/ /newdest/directory/</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE>
Olso wildcards would be very helpfull to me if it would reduce number of dsmc sessions. I am aware of the fact that restoring files in order different to the order they are layed on tape takes time for searching.