Restore-group operation


The restore-group operation restores specific members or all members of a group backup.

The following table describes the elements for the adapter request:

 Adapter request elements for the restore-group operation

The following figure shows a sample adapter request for the restore-group operation:

Sample adapter request for the restore-group operation

<tsm-request>
 <operation-name>restore-group</operation-name>
 <command-request>
   <timeout-secs>120</timeout-secs>
   <command-options>
     <pitdate>10/01/2008</pitdate>
     <pittime>15:02:04</pittime>
     <replace>yes</replace>
     <skipntpermissions>yes</skipntpermissions>
     <inactive />
     <ifnewer />
   </command-options>
   <command-arguments>
     <source-filespec>\virtfs\group2</source-filespec>
     <dest-filespec>C:\temp\</dest-filespec>
   </command-arguments>
 </command-request>
</tsm-request>


The following figure shows the adapter response for the sample request:

Sample adapter response for the restore-group operation

<tsm-response>
 <metadata>
   <status>success</status>
   <count>1</count>
 </metadata>
 <commands-output>
   <command-output>
     <metadata>
       <command>dsmc restore group -pitdate=10/01/2008 -pittime=15:02:04 -        replace=yes -skipntpermissions=yes -inactive
       -ifnewer \virtfs\group2 C:\temp\</command>
       <line-count>20</line-count>
       <execution-milliseconds>5031</execution-milliseconds>
       <exit-code>0</exit-code>
       <status>success</status>
     </metadata>
     <output>
       <line index="1">IBM Tivoli Storage Manager</line>
       <line index="2">Command Line Backup/Archive Client Interface</line>
       <line index="3">  Client Version 5, Release 5, Level 0.0  </line>
       <line index="4">  Client date/time: 07-10-2008 10,38,53</line>
       <line index="5">(c) Copyright by IBM Corporation and other(s) 1990, 2007.         All Rights Reserved.</line>
       <line index="6">Node Name: D-13096</line>
       <line index="7">Session established with server SERVER1:         Linux/i386</line>
       <line index="8">  Server Version 5, Release 5, Level 0.0</line>
       <line index="9">  Server date/time: 07-10-2008 10,36,42  Last access: 07-        10-2008 10,36,17</line>
       <line index="10">Restore function invoked.</line>
       <line index="11">Restoring              18 \\D-13096\C$\temp\test\abc1.txt         --&gt; \\d-13096\c$\temp\\D-13096\C$\abc1.txt [Done]      </line>
       <line index="12">Restoring              81 \\D-        13096\C$\temp\test\abc123.txt --&gt; \\d-13096\c$\temp\\D-        13096\C$\abc123.txt [Done]      </line>
       <line index="13">Restore processing finished.</line>
       <line index="14">Total number of objects restored:         2</line>
       <line index="15">Total number of objects failed:           0</line>
       <line index="16">Total number of bytes transferred:     541  B</line>
       <line index="17">Data transfer time:                    0.00 sec</line>
       <line index="18">Network data transfer rate:            0.00 KB/sec</line>
       <line index="19">Aggregate data transfer rate:          0.16 KB/sec</line>
       <line index="20">Elapsed processing time:           00,00,03</line>
     </output>
   </command-output>
 </commands-output>
</tsm-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Orchestration Content 21.3