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/02/24 23:43] – Scott Cunliffe | cli:tmss10batchloader [2025/07/04 04:42] (current) – [Example] Scott Cunliffe | ||
|---|---|---|---|
| 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 13: | Line 11: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | |||
| + | |||
| + | {{page> | ||
| + | ===== Editable Fields ===== | ||
| + | |||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * Repository Icon | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * [[options: | ||
| + | * [[master: | ||
| + | |||
| ==== 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 27: | Line 51: | ||
| ==== Files ==== | ==== Files ==== | ||
| + | **stderr:** Diagnostic messages. | ||
| + | |||
| + | ===== Example ===== | ||
| + | |||
| + | === Configuration File === | ||
| + | |||
| + | Configuration file to create two [[object: | ||
| + | |||
| + | Customer 0001 | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | |||
| + | Customer 0002 | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | |||
| + | < | ||
| + | setup= | ||
| + | { | ||
| + | | ||
| + | ( | ||
| + | { | ||
| + | id=" | ||
| + | | ||
| + | media= | ||
| + | ( | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | { id=" | ||
| + | { id=" | ||
| + | ) | ||
| + | }, | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | ) | ||
| + | | ||
| + | ) | ||
| + | }, | ||
| + | { | ||
| + | id=" | ||
| + | | ||
| + | media= | ||
| + | ( | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | ) | ||
| + | }, | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | ) | ||
| + | | ||
| + | ) | ||
| + | } | ||
| + | ); | ||
| + | }; | ||
| + | </ | ||
| + | |||
| + | |||
| + | === Command line syntax === | ||
| + | |||
| + | TMSS10BatchLoader -S user: | ||
| + | |||
| + | === Output Results === | ||
| + | |||
| + | {{tmss10batchloder_output.png}} | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | === Configuration Files - Minimising Duplicate Code === | ||
| + | |||
| + | When creating multiple [[object: | ||
| + | |||
| + | To create two customers, US01 and US02, with: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | |||
| + | <note tip>A configuration file may “include” the contents of another file using an include directive. | ||
| + | |||
| + | This directive has the effect of in-lining the contents of the named file at the point of inclusion. | ||
| + | |||
| + | An include directive must appear on its own line in the input. It has the form: | ||
| + | |||
| + | @include " | ||
| + | |||
| + | Any backslashes or double quotes in the filename must be escaped as ‘\\’ and ‘\" | ||
| + | |||
| + | === Configuration Files === | ||
| + | |||
| + | == master.cfg == | ||
| + | |||
| + | |||
| + | setup= | ||
| + | { | ||
| + | | ||
| + | ( | ||
| + | { | ||
| + | id=" | ||
| + | @include " | ||
| + | }, | ||
| + | { | ||
| + | id=" | ||
| + | @include " | ||
| + | } | ||
| + | ); | ||
| + | }; | ||
| + | |||
| + | |||
| + | == include.cfg == | ||
| + | |||
| + | |||
| + | media= | ||
| + | ( | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | ) | ||
| + | }, | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | ) | ||
| + | | ||
| + | ) | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | === Command line syntax === | ||
| + | |||
| + | TMSS10BatchLoader -S user: | ||
| + | |||
| + | === Output Results === | ||
| + | {{cli: | ||
| + | |||
| + | ===== See Also===== | ||
| + | |||
| + | [[technote/ | ||
| + | --> Changelog | ||
| + | [filterrss http:// | ||
| + | <-- | ||
cli/tmss10batchloader.1551051790.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
