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:38] – Scott Cunliffe | 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 15: | Line 13: | ||
+ | {{page> | ||
+ | ===== Editable Fields ===== | ||
+ | |||
+ | * [[object: | ||
+ | * [[object: | ||
+ | * [[object: | ||
+ | * [[object: | ||
+ | * [[object: | ||
+ | * [[object: | ||
+ | * Repository Icon | ||
+ | * {{: | ||
+ | * {{: | ||
+ | * {{: | ||
+ | * {{: | ||
+ | * {{: | ||
+ | * {{: | ||
+ | * {{: | ||
+ | * {{: | ||
+ | * {{: | ||
+ | * [[options: | ||
+ | * [[master: | ||
+ | |||
+ | |||
+ | ==== 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: | ||
+ | |||
+ | ==== Exit Statuses ==== | ||
+ | |||
+ | - **zero** Program has ended successfully. | ||
+ | - **non-zero** Program has not ended successfully. | ||
+ | |||
+ | ==== Environment ==== | ||
+ | |||
+ | ==== 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: | ||
+ | --> Changelog | ||
+ | [filterrss http:// | ||
+ | <-- | ||
cli/tmss10batchloader.1551051505.txt.gz · Last modified: 2025/01/21 22:07 (external edit)