cli:tmss10batchloader
This is an old revision of the document!
Table of Contents
TMSS10BatchLoader
Synopsis
TMSS10BatchLeader [-c configuration file] [-S logonstring]
Description
Creates Customer, Media and Repositories by loading a configuration file into the TapeTrack Database.
Options
-c
The config file argument specifies the path to the Batch Configuration File.-S
Logon string argument sets the Server logon information.
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 Accessing Technical Support page.
Exit Statuses
- zero Program has ended successfully.
- non-zero Program has not ended successfully.
Environment
Files
Example
Configuration File
Configuration file to load to create two Customers with attributes
Customer 0001
- Customer ID: 0001, Customer Description: ACME Computers
- Media ID: LTO, Media Description: LTO Cartridge
- Repository ID: LIBR, Repository Description: Library, Repository Type: 1, Next Repository: OFFS
- Repository ID: OFFS, Repository Description: Iron Mountain, Repository Type: 2 and Next Repository: LIBR.
Customer 0002
- Customer ID: 0002, Customer Description: Bond Corporation
- Media ID: 3490, Media Description: IBM 3490 Cartridge.
- Repository ID: LIBR, Repository Description: Library, Repository Type: 1, Next Repository: OFFS
- Repository ID: OFFS, Repository Description: Iron Mountain, Repository Type: 2 and Next Repository: LIBR.
setup= { customers= ( { id="0001"; description="ACME Computers"; media= ( { id="LTO"; description="LTO Cartridge"; repositories= ( { id="LIBR"; description="Library"; type=3; }, { id="OFFS"; description="Iron Mountain"; type=2; }, { 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=1; next="OFFS"; }, { id="OFFS"; description="Iron Mountain"; type=2; next="LIBR"; } ) } ) }, { id="0002"; description="Bond Corporation"; media= ( { id="LTO"; description="LTO Cartridge"; repositories= ( { id="LIBR"; description="Library"; type=1; }, { id="OFFS"; description="Iron Mountain"; type=2; } ) }, { id="3490"; description="IBM 3490 Cartridge"; repositories= ( { id="LIBR"; description="Library"; type=1; }, { id="OFFS"; description="Iron Mountain"; type=2; } ) } ) } ); };
Command line syntax
TMSS10BatchLoader -S user:-password@localhost -c master.cfg
cli/tmss10batchloader.1551054640.txt.gz · Last modified: 2025/01/21 22:07 (external edit)