cli:tmss10batchloader
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cli:tmss10batchloader [2019/04/12 16:28] – dcumming | cli:tmss10batchloader [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== TMSS10BatchLoader ====== | ====== TMSS10BatchLoader ====== | ||
+ | |||
+ | TMSS10BatchLoader creates [[object: | ||
===== Synopsis ===== | ===== Synopsis ===== | ||
'' | '' | ||
- | |||
- | ===== Description ===== | ||
- | |||
- | Creates Customer, Media and Repositories by loading a configuration file into the TapeTrack Database. | ||
===== Options ===== | ===== Options ===== | ||
Line 14: | Line 12: | ||
* '' | * '' | ||
+ | |||
+ | {{page> | ||
===== Editable Fields ===== | ===== Editable Fields ===== | ||
Line 32: | Line 32: | ||
* {{: | * {{: | ||
* {{: | * {{: | ||
- | * [[master:repository_options# | + | * [[options:repository: |
* [[master: | * [[master: | ||
Line 38: | Line 38: | ||
==== Technical Support ==== | ==== Technical Support ==== | ||
- | The TapeTrack Software is commercially supported by a full time help desk staff. If you are experiencing problems or want some advice on how to configure or use the product please see the [[common: | + | The TapeTrack Software is commercially supported by a full time help desk staff. |
+ | |||
+ | If you are experiencing problems or want some advice on how to configure or use the product please see the [[common: | ||
==== Exit Statuses ==== | ==== Exit Statuses ==== | ||
Line 55: | Line 57: | ||
=== Configuration File === | === Configuration File === | ||
- | Configuration file to create two Customers with attributes: | + | Configuration file to create two [[object: |
Customer 0001 | Customer 0001 | ||
- | * Customer-ID: | + | * [[object: |
- | * Media-ID: LTO, Media Description: | + | * [[object: |
- | * Repository ID: LIBR, Repository Description: | + | * [[object: |
- | * Repository ID: OFFS, Repository Description: | + | * [[object: |
- | * Repository ID: DEST, Repository Description: | + | * [[object: |
- | * Repository ID: HOLD, Repository Description: | + | * [[object: |
Customer 0002 | Customer 0002 | ||
- | * Customer-ID: | + | * [[object: |
- | * Media-ID: 3490, Media Description: | + | * [[object: |
- | * Repository ID: LIBR, Repository Description: | + | * [[object: |
- | * Repository ID: OFFS, Repository Description: | + | * [[object: |
- | {{: | + | {{: |
- | <sxh> | ||
- | setup= | ||
- | { | ||
- | | ||
- | ( | ||
- | { | ||
- | id=" | ||
- | media= | + | < |
- | ( | + | setup= |
- | { | + | { |
- | id=" | + | customers= |
- | + | | |
- | | + | { |
- | ( | + | id="US01"; description=" |
- | { id=" | + | |
- | { id=" | + | media= |
- | { id=" | + | ( |
- | { id=" | + | |
- | ) | + | |
- | }, | + | |
- | { | + | |
- | | + | |
- | + | ||
- | | + | |
- | ( | + | |
- | | + | |
- | { id="OFFS"; description=" | + | |
- | ) | + | |
- | | + | |
- | ) | + | |
- | }, | + | |
- | { | + | |
- | id=" | + | |
- | + | ||
- | media= | + | |
- | ( | + | |
- | | + | |
- | | + | |
- | + | ||
- | repositories= | + | |
- | ( | + | |
- | { id=" | + | |
- | { id=" | + | |
- | ) | + | |
- | }, | + | |
- | { | + | |
- | | + | |
- | + | ||
- | repositories= | + | |
( | ( | ||
- | { id=" | + | { id=" |
- | | + | { id=" |
- | | + | { id=" |
- | | + | { id=" |
- | ) | + | ) |
- | } | + | }, |
- | | + | { |
- | }; | + | |
- | </sxh> | + | |
+ | | ||
+ | ( | ||
+ | { id=" | ||
+ | { id=" | ||
+ | ) | ||
+ | | ||
+ | ) | ||
+ | }, | ||
+ | { | ||
+ | id=" | ||
+ | |||
+ | media= | ||
+ | ( | ||
+ | { | ||
+ | | ||
+ | |||
+ | | ||
+ | ( | ||
+ | { id=" | ||
+ | { id=" | ||
+ | ) | ||
+ | }, | ||
+ | { | ||
+ | | ||
+ | |||
+ | | ||
+ | ( | ||
+ | { id=" | ||
+ | | ||
+ | | ||
+ | | ||
+ | ) | ||
+ | } | ||
+ | | ||
+ | }; | ||
+ | </code> | ||
=== Command line syntax === | === Command line syntax === | ||
- | <sxh>TMSS10BatchLoader -S user: | + | |
=== Output Results === | === Output Results === | ||
- | {{cli: | + | {{tmss10batchloder_output.png}} |
---- | ---- | ||
- | When creating multiple Customers with identical Media Types and/or Repositories it is possible to create a configuration file with these attributes | + | === Configuration Files - Minimising Duplicate Code === |
+ | |||
+ | When creating multiple | ||
To create two customers, US01 and US02, with: | To create two customers, US01 and US02, with: | ||
- | * Media-ID: LTO, Media Description: | + | * [[object: |
- | * Media-ID: 3490, Media Description: | + | * [[object: |
- | * Repository ID: LIBR, Repository Description: | + | * [[object: |
- | * Repository ID: OFFS, Repository Description: | + | * [[object: |
<note tip>A configuration file may “include” the contents of another file using an include directive. | <note tip>A configuration file may “include” the contents of another file using an include directive. | ||
- | This directive has the effect of inlining | + | This directive has the effect of in-lining |
An include directive must appear on its own line in the input. It has the form: | An include directive must appear on its own line in the input. It has the form: | ||
Line 166: | Line 171: | ||
=== Configuration Files === | === Configuration Files === | ||
+ | |||
+ | == master.cfg == | ||
+ | |||
+ | |||
+ | setup= | ||
+ | { | ||
+ | | ||
+ | ( | ||
+ | { | ||
+ | id=" | ||
+ | @include " | ||
+ | }, | ||
+ | { | ||
+ | id=" | ||
+ | @include " | ||
+ | } | ||
+ | ); | ||
+ | }; | ||
+ | |||
== include.cfg == | == include.cfg == | ||
- | <sxh> | ||
- | media= | ||
- | ( | ||
- | | ||
- | | ||
- | repositories= | + | media= |
- | | + | ( |
- | | + | { |
- | | + | |
- | | + | |
- | | + | repositories= |
- | | + | |
- | | + | |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | ( | ||
+ | { id=" | ||
+ | { id=" | ||
+ | ) | ||
+ | | ||
+ | ) | ||
- | | ||
- | ( | ||
- | { id=" | ||
- | { id=" | ||
- | ) | ||
- | | ||
- | ) | ||
- | </ | ||
- | == master.cfg == | ||
- | <sxh> | ||
- | setup= | ||
- | { | ||
- | | ||
- | ( | ||
- | { | ||
- | id=" | ||
- | @include " | ||
- | }, | ||
- | { | ||
- | id=" | ||
- | | ||
- | } | ||
- | ); | ||
- | }; | ||
- | </ | ||
=== Command line syntax === | === Command line syntax === | ||
- | <sxh>TMSS10BatchLoader -S user: | + | |
=== Output Results === | === Output Results === | ||
{{cli: | {{cli: | ||
+ | |||
+ | |||
+ | --> Changelog | ||
+ | [filterrss http:// | ||
+ | <-- | ||
cli/tmss10batchloader.1555086518.txt.gz · Last modified: 2025/01/21 22:07 (external edit)