TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


sync:execute

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sync:execute [2021/06/07 01:46] – [Dump Mode] Scott Cunliffesync:execute [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Running Sync ====== ====== Running Sync ======
 +
 +TapeTrack Sync can be executed from a command line prompt manually, but as running the Sync is done on a regular schedule, it is best practice to place the commands in a batch file and once correct execution has been verified the batch file can be initiated using Windows Scheduler or similar programs such as Cron.
 +
 +Ensure that the batch file executes from the correct Sync directory by either adding the code in the batch file to change directory or specifying in the schedule call to start in the correct directory.
  
 It is advisable to execute the Sync process first in dump mode, then test mode before running in live mode. It is advisable to execute the Sync process first in dump mode, then test mode before running in live mode.
Line 11: Line 15:
 Live mode will update the database with the data from the input source file.  Live mode will update the database with the data from the input source file. 
  
 +The following examples reference all files, source, definition and output files, as if they are all contained in or written to in the one directory.  This is to demonstrate to format of the executable call in a generic manner.
 +
 +It is recommended to follow the Sync directory structure to place the source, definition and output or report files in the recommended directories to make future maintenance easier.
 +  * [[sync:file_structure|Windows directory structure]]
 +  * [[sync:file_structure_linux|Linux Directory Structure]]
 ===== Dump Mode ===== ===== Dump Mode =====
  
Line 59: Line 68:
   * sync_stdout.txt: Standard output stream.   * sync_stdout.txt: Standard output stream.
   * sync_stderr.txt: Standard error stream.   * sync_stderr.txt: Standard error stream.
 +
 +
 +<- sync:definition|Sync Definition Filesn ^ sync:introduction|introduction ^   sync:output|Sync Output->
  
  
sync/execute.1623030403.txt.gz · Last modified: 2025/01/21 22:07 (external edit)