====== TMSS10Mirror ======
TMSS10Mirror will replicate location information from one TapeTrack Server to another.
===== Synopsis =====
''TMSS10Mirror [-P phases] [-S logon string] [-c configuration file]''
===== Options =====
* ''-P'' Phases to execute.
* ''-S'' The Logon string argument sets the [[cli:server_argument|Server Logon Information]].
* ''-c'' The config file argument specifies the path to the Batch Configuration File. The Batch Configuration File allows you to perform advanced traversal of [[object:customer|Customer]], [[object:media|Media]] and [[object:volume|Volumes]], perform advanced Barcode pre and post processing and route program output to syslogd.
{{page>cli:fi}}
==== 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:support_details|Accessing Technical Support]] page.
==== Exit Statuses ====
- **zero** Program has ended successfully.
- **non-zero** Program has not ended successfully.
==== Environment ====
==== Files ====
**stdout:** Output Reports. \\
**stderr:** Diagnostic messages. \\
**stdin:** Program input.
===== Example =====
==== Config File ====
mirror.cfg contains the IP address of the mirror server as well as the user/password to login in.
traversal =
{
customer =
(
{
id = "*";
media =
(
{
id = "*";
remote =
{
address="mirror_server.tapetrack.com";
userid="mirror_user";
password="mirror_password";
};
}
);
}
);
};
=== Command line syntax ===
TMSS10Mirror -S user:-password@server -c "C:\Program Files\TapeTrack\TapeTrack Framework Server\etc\mirror.cfg"
=== Output ===
== Mirror Report (Detail) ==
System: TapeTrack
Report Description: Mirror Report (Detail)
Report Notes: Local Customer(Nashville Data Center) Media(LTO Cartridge)
Production Time: Thursday, April 19, 2018 - 11:26:51 (AUS Eastern Standard Time)
Report Width: 163 bytes
Seq. Step Volume-ID Remote-ID Notes Source User-ID Source Date/Time
------ ---- ---------- -------------------- -------------------------------------------------------------------------------- ---------------- -------------------
Local server set to 127.0.0.1
Remote server set to 192.168.0.177
1 1 000017L5 US04.LTO.000017L5 New Volume added to Remote Server doco 2018-04-19 11:30:50
2 1 000018L5 US04.LTO.000018L5 New Volume added to Remote Server doco 2018-04-19 11:30:50
3 3 000001L5 US04.LTO.000001L5 Target Repository updated from LIBR to OFFS doco 2018-04-19 11:25:50
4 3 000002L5 US04.LTO.000002L5 Target Repository updated from LIBR to OFFS doco 2018-04-19 11:25:50
5 3 000003L5 US04.LTO.000003L5 Target Repository updated from LIBR to OFFS doco 2018-04-19 11:25:50
6 3 000007L6 US04.LTO.000007L6 Target Repository updated from OFFS to LIBR doco 2018-04-19 11:26:19
7 3 000008L5 US04.LTO.000008L5 Target Repository updated from OFFS to LIBR doco 2018-04-19 11:26:19
8 3 000008L6 US04.LTO.000008L6 Target Repository updated from OFFS to LIBR doco 2018-04-19 11:26:19
9 4 000004L5 US04.LTO.000004L5 Remote Scanned Repository updated to LIBR doco 2018-04-19 11:29:02
10 4 000004L6 US04.LTO.000004L6 Remote Scanned Repository updated to LIBR doco 2018-04-19 11:29:02
11 4 000005L5 US04.LTO.000005L5 Remote Scanned Repository updated to LIBR doco 2018-04-19 11:29:02
12 4 000009L5 US04.LTO.000009L5 Remote Scanned Repository updated to OFFS doco 2018-04-19 11:28:21
13 4 000009L6 US04.LTO.000009L6 Remote Scanned Repository updated to OFFS doco 2018-04-19 11:28:21
14 5 000008L6 US04.LTO.000008L6 Local Scanned Repoisitory updated to LIBR doco 2018-04-19 11:28:21
------ ---- ---------- -------------------- -------------------------------------------------------------------------------- ---------------- -------------------
== Mirror Report (Extract) ==
System: TapeTrack
Report Description: Mirror Report (Extract)
Production Time: Thursday, April 19, 2018 - 11:26:51 (AUS Eastern Standard Time)
Report Width: 122 bytes
Phase Executed Elapsed Updates Errors
-------------------------------------------------------------------------------- ---------- ---------- -------- --------
Phase 1: Adding missing Volumes to remote server (Local to Remote) Run S0 2 0
Phase 2: Adding missing Volumes to local server (Remote to Local) Run S0 0 0
Phase 3: Synchronizing Target Repositories (Local to Remote) Run S0 6 0
Phase 4: Synchronizing Scanned Repositories (Local to Remote) Run S0 5 0
Phase 5: Synchronizing Scanned Repositories (Remote to Local) Run S0 1 0
-------------------------------------------------------------------------------- ---------- ---------- -------- --------
--> Changelog
[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10Mirror]
<--
<- ^ cli:introduction|Command Line Utilities^ ->