TMSS10Confirm is used to confirm Volumes that are moving from the Current Repository to a Target Repository . A range of filters can be passed to the program to ensure that only the required confirmations are performed.
TMSS10Confirm [-S logon string] [-V volume filter] [-c config file] [-C current] [-T target] [-o confirm on container]
-S
The Logon string argument sets the Server Logon Information.-V
Volume Filter which can be used to filter the traversal of Customer, Media, Volume, Repository and Flag values.-c
The config file argument specifies the path to the Batch Configuration File. The Batch Configuration File allows you to perform advanced traversal of Customer, Media and Volumes, perform advanced Barcode pre and post processing and route program output to syslogd. Configuration File capabilities vary from program to program but the syntax remains the same. In the event that logic is not supported it will simply be ignored. The following example will set the default Customer-ID and Media-ID for all scanned Barcodes:barcodes = { defaults={ customer-id="ACME"; media-id="LTO"; }; };
-o
This argument confirms any Volume if the Volume is in a Container and the Container is confirmed already at the Volume's Target Repository.-T
A filter value for the Volume's Target Repository.-C
A filter value for the Volume's Current Repository.
If an argument value starts with the value FI:
, the value for that attribute will be read from the file name specified immediately after it. For example, if a file named ACME_volumes has the content ACME_*.*
, specifying FI:/etc/ACME_volumes
will have the same effect as -V ACME.*.*
. Using FI:
to refer to a file for an attribute value works for all attributes.
If the pattern being matched starts with *LIST: then rather than matching the literal value, each record in the file specified as *LIST:filename will be tested. If one matches the match will succeed.
To confirm a list of Volumes you can use the scanfile option within a Configuration file passed with the -c
argument.
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.
TMSSSERVERPROXY If defined the program will route all TapeTrack TCP/IP traffic through a HTTPS proxy. The value of the variable should be in the format user:password@host:port. To debug the proxy connection use variable TMSSAPILOGDIR.
TMSSAPILOGDIR If defined the program will write out a trace file to this directory.
TMSSPWPATH When no password value is passed in the logon string the program will look for the password in file C:/tapetrack/pw/batch, where user is the user value passed in the logonstring. If you wish to change this default path, you can set the path in TMSSPWPATH.
TMSSNOMD5 If defined the program will not MD5 hash passwords before sending them to the TapeTrack Server. This is required when relying on Windows Active Directory authentication. It should be noted that although the password is not being hashed, it is still being encrypted during transmission.
stdout: Output Reports.
stderr: Diagnostic messages.
stdin: Program input.
To confirm all volumes for customer US01, media LTO and volume pattern matching 00000?L6 moving from LIBR to OFFS
TMSS10Confirm -S user:-password@server -T "OFFS" -C "LIBR" -V "US01.LTO.00000?L6"
ZBT001N-12:53:25 TMSS10Confirm (c) GazillaByte 1998-2017 ZBT002N-12:53:25 Compiled Feb 24 2017 at 15:54:00 ZBT010I-12:53:25 This program will confirm moving Volumes into their current Target Repository ZBT006N-12:53:25 Running Under Windows 10 (build 14393 10.00) on platform x64 ZBT000N-12:53:25 Host is Little Endian ZBT000N-12:53:25 Host is ASCII ZBT000N-12:53:25 Binary is 64 bit ZBT000N-12:53:25 Current Working Directory is C:\WINDOWS\system32 ZBT004N-12:53:25 Today is Tuesday, March 07, 2017 ZBT005N-12:53:25 Running on local ZBT006N-12:53:25 Process ID 10068 ZBT000N-12:53:25 Parsing and validating command arguments ZBT001N-12:53:25 Server Interpreted as: Server(*********) Port(5000) User(******) Password(******) ZBT002N-12:53:25 Program Options: ZBT002N-12:53:25 (C) Current Repository Filter=LIBR ZBT002N-12:53:25 (S) Server=<VALUE HIDDEN> ZBT002N-12:53:25 (T) Target Repository Filter=OFFS ZBT002N-12:53:25 (V) Volume Filter=US01.LTO.00000?L6 ZBT002N-12:53:25 (c) Configuration File= ZBT002N-12:53:25 (o) Only confirm if assigned container is confirmed into same location=false ZBT000N-12:53:25 Arguments parsed and validated with 0 errors ZBT000N-12:53:25 Checking for environment variable TMSSSERVERPROXY ZBT000N-12:53:27 Connection to server successful ZBT000N-12:53:27 Logging on to TapeTrack Server ZBT000N-12:53:27 Registering Client at MACID Result(Request OK) ZBT000N-12:53:27 Last Logon was at Tuesday, March 07, 2017 - 12:51:33 ZBT000N-12:53:27 Welcome to Server: TapeTrack ZBT001N-12:53:27 Volume filter interpreted as: Customer(US01) Media(LTO) Volume(00000?L6) Repository(*) Flags() ZBT000N-12:53:27 Listing Customers ZBT000N-12:53:27 Customer List successful: Customers(6) Excluded(0) ZBT000N-12:53:27 Processing Customer: US01-New York Data Center (2278/29) ZBT000N-12:53:27 Listing Media ZBT000N-12:53:28 Media List successful: Media(2) Excluded(0) ZBT000N-12:53:28 Processing Media: LTO-LTO Cartridge ZBT000N-12:53:28 Listing Volumes ZBT000N-12:53:28 Volume List successful: Volumes(27) Excluded(182) ZBT000N-12:53:28 Considering candidate volume 000001L6 ZBT000N-12:53:28 Confirming volume: 000001L6 ZBT000N-12:53:28 Volume (US01.LTO.000001L6) updated OK ZBT000N-12:53:28 Considering candidate volume 000002L6 ZBT000N-12:53:28 Confirming volume: 000002L6 ZBT000N-12:53:29 Volume (US01.LTO.000002L6) updated OK ZBT000N-12:53:29 Considering candidate volume 000003L6 ZBT000N-12:53:29 Confirming volume: 000003L6 ZBT000N-12:53:29 Volume (US01.LTO.000003L6) updated OK ZBT000N-12:53:30 Closing connection to TapeTrack Server ZBT000N-12:53:30 Session Statistics: ZBT000N-12:53:30 Seconds Connected: 3 ZBT000N-12:53:30 Queries Completed: 24 ZBT000N-12:53:30 Bytes Sent: 2,272 ZBT000N-12:53:30 Bytes Received: 3,712 ZBT900N-12:53:30 Program Complete ZBT901N-12:53:30 Elapsed time 0 minutes and 5 seconds ZBT991N-12:53:30 CRC values for this session: 0xd547cc35 (0xcddb20be) ZBT992N-12:53:30 Number of records written: 71 ZBT993N-12:53:30 Number of bytes written: 3,887 ZBT999N-12:53:30 Program ended
To confirm all volumes moving from LIBR to OFFS with the exception of Customer-ID US01
TMSS10Confirm -S user:-password@server -T "OFFS" -C "LIBR" -V "!(US01).*.*"