TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


sync:execute

This is an old revision of the document!


Running Sync

It is advisable to execute the Sync process first in dump mode, then test mode before running in live mode.

The process of running in all three modes only differs by adding or removing an attribute in the executable call.

Dump mode will run the Sync and output the raw data without parsing or translating any fields. This allows you check that the importation of data is correct before making any alterations to your database.

Test mode will load the data from the source file and output the data after parsing and running the translations. This allows you to check the data is imported and translated correctly before making any alterations to your database.

Live mode will update the database with the data from the input source file.

It is also recommended to follow the Sync directory structure to place the source, definition and output or report files to make future maintenance easier.

Dump Mode

TMSS10Sync -S user:-password@server_address -M -a -d default.ttidef < source_input.csv > sync_stdout.txt  2> sync_stderr.txt

Attributes:

  • -S user:-password@server_address: logon string
  • -M: Dump mode
  • -a: Add any new Volumes
  • -d default.ttidef: Definition file

Input Files

  • source_input.csv: Source file.

Output Files:

  • sync_stdout.txt: Standard output stream.
  • sync_stderr.txt: Standard error stream.

Test Mode

TMSS10Sync -S user:-password@server_address -t -a -d default.ttidef < source_input.csv > sync_stdout 2> sync_stderr.txt

Attributes:

  • -S user:-password@server_address: logon string
  • -t: Test mode
  • -a: Add any new Volumes
  • -d default.ttidef: Definition file

Input Files

  • source_input.csv: Source file.

Output Files:

  • sync_stdout.txt: Standard output stream.
  • sync_stderr.txt: Standard error stream.

Live Mode

TMSS10Sync -S user:-password@server_address -a -d default.ttidef < source_input.csv > sync_stdout 2> sync_stderr.txt

Attributes:

  • -S user:-password@server_address: logon string
  • -a: Add any new Volumes
  • -d default.ttidef: Definition file

Input Files

  • source_input.csv: Source file.

Output Files:

  • sync_stdout.txt: Standard output stream.
  • sync_stderr.txt: Standard error stream.
sync/execute.1623038051.txt.gz · Last modified: 2025/01/21 22:07 (external edit)