Restore-asr operation
The restore-asr operation restores the Automated System Recovery (ASR) files to a specified location. By default, the Tivoli Storage Manager client restores these files to the adsm.sys\ASR staging directory.
The following table describes the elements for the restore-asr operation:
Adapter request elements for the restore-asr operation
The following figure shows a sample adapter request for the restore-asr operation:
Sample adapter request for the restore-asr operation
<tsm-request>
<operation-name>restore-asr</operation-name>
<command-request>
<timeout-secs>120</timeout-secs>
<command-options>
<pitdate>10/07/2008</pitdate>
<pittime>11:00:00</pittime>
<dateformat>MM/DD/YYYY</dateformat>
<timeformat>HH:MM:SS</timeformat>
<numberformat>d ddd,dd</numberformat>
<inactive />
</command-options>
<command-arguments>
<dest-filespec>C:\asr-backup\</dest-filespec>
</command-arguments>
</command-request>
</tsm-request>
<operation-name>restore-asr</operation-name>
<command-request>
<timeout-secs>120</timeout-secs>
<command-options>
<pitdate>10/07/2008</pitdate>
<pittime>11:00:00</pittime>
<dateformat>MM/DD/YYYY</dateformat>
<timeformat>HH:MM:SS</timeformat>
<numberformat>d ddd,dd</numberformat>
<inactive />
</command-options>
<command-arguments>
<dest-filespec>C:\asr-backup\</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-asr operation
<tsm-response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>dsmc restore asr -pitdate=10/07/2008 -pittime=11:00:00 - dateformat=1 -timeformat=1 -numberformat=3 -inactive C:\asr- backup\</command>
<line-count>23</line-count>
<execution-milliseconds>5093</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: 10/07/2008 11:31:17</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: 10/07/2008 11:29:05 Last access: 10/07/2008 11:28:18</line>
<line index="10">Restore System Object: 'Automated System Recovery'.</line>
<line index="11">Restoring 1 624 ASR\adsm.sys\ASR\asr.sif --> \\d-13096\c$\asr-backup\asr.sif [Done] </line>
<line index="12">Restoring 29 775 ASR\adsm.sys\ASR\asrpnp.sif -- > \\d-13096\c$\asr-backup\asrpnp.sif [Done] </line>
<line index="13">Restoring 2 272 ASR\adsm.sys\ASR\tsmasr.cmd -- > \\d-13096\c$\asr-backup\tsmasr.cmd [Done] </line>
<line index="14">Restoring 1 312 ASR\adsm.sys\ASR\tsmasr.opt -- > \\d-13096\c$\asr-backup\tsmasr.opt [Done] </line>
<line index="15">Restoring 15 384 ASR\adsm.sys\ASR\waitforevent.exe --> \\d-13096\c$\asr- backup\waitforevent.exe [Done] </line>
<line index="16">Restore processing finished.</line>
<line index="17">Total number of objects restored: 5</line>
<line index="18">Total number of objects failed: 0</line>
<line index="19">Total number of bytes transferred: 54,71 KB</line>
<line index="20">Data transfer time: 0,00 sec</line>
<line index="21">Network data transfer rate: 0,00 KB/sec</line>
<line index="22">Aggregate data transfer rate: 17,42 KB/sec</line>
<line index="23">Elapsed processing time: 00:00:03</line>
</output>
</command-output>
</commands-output>
</tsm-response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>dsmc restore asr -pitdate=10/07/2008 -pittime=11:00:00 - dateformat=1 -timeformat=1 -numberformat=3 -inactive C:\asr- backup\</command>
<line-count>23</line-count>
<execution-milliseconds>5093</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: 10/07/2008 11:31:17</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: 10/07/2008 11:29:05 Last access: 10/07/2008 11:28:18</line>
<line index="10">Restore System Object: 'Automated System Recovery'.</line>
<line index="11">Restoring 1 624 ASR\adsm.sys\ASR\asr.sif --> \\d-13096\c$\asr-backup\asr.sif [Done] </line>
<line index="12">Restoring 29 775 ASR\adsm.sys\ASR\asrpnp.sif -- > \\d-13096\c$\asr-backup\asrpnp.sif [Done] </line>
<line index="13">Restoring 2 272 ASR\adsm.sys\ASR\tsmasr.cmd -- > \\d-13096\c$\asr-backup\tsmasr.cmd [Done] </line>
<line index="14">Restoring 1 312 ASR\adsm.sys\ASR\tsmasr.opt -- > \\d-13096\c$\asr-backup\tsmasr.opt [Done] </line>
<line index="15">Restoring 15 384 ASR\adsm.sys\ASR\waitforevent.exe --> \\d-13096\c$\asr- backup\waitforevent.exe [Done] </line>
<line index="16">Restore processing finished.</line>
<line index="17">Total number of objects restored: 5</line>
<line index="18">Total number of objects failed: 0</line>
<line index="19">Total number of bytes transferred: 54,71 KB</line>
<line index="20">Data transfer time: 0,00 sec</line>
<line index="21">Network data transfer rate: 0,00 KB/sec</line>
<line index="22">Aggregate data transfer rate: 17,42 KB/sec</line>
<line index="23">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*