TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10batchloader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cli:tmss10batchloader [2020/01/07 03:13] Scott Cunliffecli:tmss10batchloader [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== TMSS10BatchLoader ====== ====== TMSS10BatchLoader ======
  
-''TMSS10BatchLoader'' creates [[object:customer|Customer]], [[object:media|Media]] and [[object:repository|Repositories]] by loading a configuration file into the TapeTrack Database.+TMSS10BatchLoader creates [[object:customer|Customer]], [[object:media|Media]] and [[object:repository|Repositories]] by loading a Configuration file into the TapeTrack Database.
  
 ===== Synopsis ===== ===== Synopsis =====
Line 12: Line 12:
   * ''-S'' Logon string argument sets the [[cli:server_argument|Server logon information]].   * ''-S'' Logon string argument sets the [[cli:server_argument|Server logon information]].
  
 +
 +{{page>cli:fi}}
 ===== Editable Fields ===== ===== Editable Fields =====
  
Line 75: Line 77:
  
  
-<sxh+<code
-setup= +  setup= 
-+  
-   customers= +     customers= 
-   +     
-      {  +        {  
-          id="US01"; description="New York Data Center"; +            id="US01"; description="New York Data Center"; 
- +   
-          media= +            media= 
-          +            
-             {  +               {  
-                 id="LTO"; description="LTO Cartridge"; +                   id="LTO"; description="LTO Cartridge"; 
- +   
-                 repositories= +                   repositories=
-                 ( +
-                     { id="LIBR"; description="Library"; type=3; next="OFFS"; }, +
-                     { id="OFFS"; description="Iron Mountain"; type=2; next="LIBR"; }, +
-                     { id="DEST"; description="Destroyed"; type=6; }, +
-                     { id="HOLD"; description="Legal hold"; type=4; } +
-                 ) +
-             }, +
-             {  +
-                 id="3490"; description="IBM 3490 Cartridge"; +
- +
-                 repositories= +
-                 ( +
-                     { id="LIBR"; description="Library"; type=3; next="OFFS"; }, +
-                     { id="OFFS"; description="Iron Mountain"; type=2; next="LIBR";+
-                 ) +
-                 +
-          ) +
-      }, +
-      {  +
-          id="US02"; description="Los Angeles Data Center"; +
- +
-          media= +
-          ( +
-             {  +
-                 id="LTO"; description="LTO Cartridge"; +
- +
-                 repositories= +
-                 ( +
-                     { id="LIBR"; description="Library"; type=3; }, +
-                     { id="OFFS"; description="Iron Mountain"; type=2; } +
-                 ) +
-             }, +
-             {  +
-                 id="3490"; description="IBM 3490 Cartridge"; +
- +
-                 repositories=+
                  (                  (
-                     { id="LIBR"; description="Library"; type=3; }, +                       { id="LIBR"; description="Library"; type=3; next="OFFS"; }, 
-                     { id="OFFS"; description="Iron Mountain"; type=2; } +                       { id="OFFS"; description="Iron Mountain"; type=2; next="LIBR"; }, 
-                 +                       { id="DEST"; description="Destroyed"; type=6; }, 
-             }     +                       { id="HOLD"; description="Legal hold"; type=4; } 
-          +                   ) 
-      +               }, 
-   ); +               {  
-}; +                   id="3490"; description="IBM 3490 Cartridge"; 
-</sxh>+   
 +                   repositories= 
 +                   ( 
 +                       { id="LIBR"; description="Library"; type=3; next="OFFS"; }, 
 +                       { id="OFFS"; description="Iron Mountain"; type=2; next="LIBR";
 +                   ) 
 +                   
 +            ) 
 +        }, 
 +        {  
 +            id="US02"; description="Los Angeles Data Center"; 
 +   
 +            media= 
 +            ( 
 +               {  
 +                   id="LTO"; description="LTO Cartridge"; 
 +   
 +                   repositories= 
 +                   ( 
 +                       { id="LIBR"; description="Library"; type=3; }, 
 +                       { id="OFFS"; description="Iron Mountain"; type=2; } 
 +                   ) 
 +               }, 
 +               {  
 +                   id="3490"; description="IBM 3490 Cartridge"; 
 +   
 +                   repositories= 
 +                   ( 
 +                       { id="LIBR"; description="Library"; type=3; }, 
 +                       { id="OFFS"; description="Iron Mountain"; type=2; } 
 +                   
 +               }     
 +            
 +        
 +     ); 
 +  }; 
 +</code>
  
  
 === Command line syntax === === Command line syntax ===
  
-<sxh>TMSS10BatchLoader -S user:-password@localhost -c master.cfg</sxh>+  TMSS10BatchLoader -S user:-password@localhost -c master.cfg 
  
 === Output Results === === Output Results ===
  
-{{cli:tmss10batchloder.output.png}}+{{tmss10batchloder_output.png}}
  
  
Line 172: Line 174:
 == master.cfg == == master.cfg ==
  
-<sxh> +  
-setup= +  setup= 
-+  
-   customers= +     customers= 
-   +     
-      {  +        {  
-          id="US01"; description="New York Data Center"; +            id="US01"; description="New York Data Center"; 
-          @include "include.cfg"     +            @include "include.cfg"     
-      }, +        }, 
-      {  +        {  
-          id="US02"; description="Los Angeles Data Center"; +            id="US02"; description="Los Angeles Data Center"; 
-          @include "include.cfg"   +            @include "include.cfg"   
-      +        
-   ); +     ); 
-}; +  }; 
-</sxh>+
  
 == include.cfg == == include.cfg ==
  
-<sxh> 
-          media= 
-          ( 
-              
-                 id="LTO"; description="LTO Cartridge"; 
  
-                 repositories= +            media= 
-                 +            ( 
-                     { id="LIBR"; description="Library"; type=3; next="OFFS"; }, +               {  
-                     { id="OFFS"; description="Iron Mountain"; type=2; next="LIBR";+                   id="LTO"; description="LTO Cartridge"; 
-                 +   
-             }, +                   repositories= 
-             {  +                   
-                 id="3490"; description="IBM 3490 Cartridge";+                       { id="LIBR"; description="Library"; type=3; next="OFFS"; }, 
 +                       { id="OFFS"; description="Iron Mountain"; type=2; next="LIBR";
 +                   
 +               }, 
 +               {  
 +                   id="3490"; description="IBM 3490 Cartridge"; 
 +   
 +                   repositories= 
 +                   ( 
 +                       { id="LIBR"; description="Library"; type=3; next="OFFS"; }, 
 +                       { id="OFFS"; description="Iron Mountain"; type=2; next="LIBR";
 +                   ) 
 +                   
 +            )
  
-                 repositories= 
-                 ( 
-                     { id="LIBR"; description="Library"; type=3; next="OFFS"; }, 
-                     { id="OFFS"; description="Iron Mountain"; type=2; next="LIBR"; } 
-                 ) 
-                 
-          ) 
-</sxh> 
  
  
Line 219: Line 221:
 === Command line syntax === === Command line syntax ===
  
-<sxh>TMSS10BatchLoader -S user:-password@localhost -c master.cfg</sxh>+  TMSS10BatchLoader -S user:-password@localhost -c master.cfg 
  
 === Output Results === === Output Results ===
 {{cli:tmss10batchloder.output_include.png}} {{cli:tmss10batchloder.output_include.png}}
 +
 +
 +--> Changelog
 +[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10BatchLoader]
 +<--
  
cli/tmss10batchloader.1578366835.txt.gz · Last modified: 2025/01/21 22:07 (external edit)