Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Preview-backup operation


The preview-backup operation simulates a backup command without sending data to the server.

The following table describes the elements for the preview-backup operation:

 Adapter request elements for the preview-backup command

The following figure shows a sample adapter request for the preview-backup operation.

Sample adapter request for the preview-backup command

<tsm-request>
 <operation-name>preview-backup</operation-name>
 <command-request>
   <timeout-secs>120</timeout-secs>
   <command-options>
     <filter>all</filter>
     <filename>C:\output.txt</filename>
     <traverse>Yes</traverse>
     <console></console>
   </command-options>
   <command-arguments>
     <filespec>C:\sampl.txt</filespec>
   </command-arguments>
 </command-request>
</tsm-request>


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

Sample adapter response for the preview-backup operation

<tsm-response>
 <metadata>
   <status>success</status>
   <count>1</count>
 </metadata>
 <commands-output>
   <command-output>
     <metadata>
       <command>dsmc preview backup -filter=all -filename=C:\output.txt -        traverse=Yes -console C:\test\*</command>
       <line-count>10</line-count>
       <execution-milliseconds>1281</execution-milliseconds>>
       <exit-code>0</exit-code>
       <status>success</status>
     </metadata>
     <output>
       <line index="1"> Name:                                 Size:        Type:         Status:    Pattern:               Source:          Mgmt Class:</line>
       <line index="2">-----                                 -----        -----         -------    --------               -------          -----------</line>
       <line index="3">C:\test\Softwares                     0  B         Directory    Included   -                      -         STANDARD</line>
       <line index="4">C:\test\test1                         0  B         Directory         Included   -                      -                STANDARD</line>
       <line index="5">C:\test\test.txt                      19  B        .txt         Included   -                      -                DEFAULT</line>
       <line index="6">C:\test\test1.txt                     7  B         .txt         Included   -                      -                DEFAULT</line>
       <line index="7">C:\test\Softwares\test1               0  B         Directory    Included   -                      -         STANDARD</line>
       <line index="8">Preview output has been successfully written to file         'C:\output.txt'.</line>
       <line index="9"></line>
       <line index="10">C:\BMC\BMC-BMC\eclipse-SDK-3.4-win32\bmccat-        ws\svn-del1-adapter-ibm-tsm&gt;</line>
     </output>
   </command-output>
 </commands-output>
</tsm-response>

 

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

(archive) BMC Atrium Orchestrator Content 20.13.02