TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:sync:addskiponrepositorychange

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
engine:sync:addskiponrepositorychange [2018/10/19 00:27] – [Syntax] Scott Cunliffeengine:sync:addskiponrepositorychange [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-===== AddSkipOnRepositoryChange =====+====== AddSkipOnRepositoryChange =====
  
-Skip the update of a Volume if the Current of Target Repository is equal to a filter value.+Skip the update of a [[object:volume|Volume]] if the Current or Target [[object:repository|Repository]] is equal to a filter value.
  
-==== Phase ====+===== Phase =====
  
 This instruction is used by the TapeTrack Synchronization Engine. This instruction is used by the TapeTrack Synchronization Engine.
  
-==== Syntax ====+===== Syntax =====
  
-**AddSkipOnRepositoryChange**(//proposed, target, current//); \\+''AddSkipOnRepositoryChange(proposed, target, current);''
  
-string //proposed;//\\ +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
-string //target;//\\ +|proposed| String | Filter value representing the proposed change to the Target Repository.|1|128| 
-string //current;//\\+|target| String | Filter value representing the current Target Repository value.|1|128| 
 +|current| String | Filter value representing the current Current Repository value|1|128|
  
-|proposed| Filter value representing the proposed change to the Target Repository.| +===== Example =====
-|target| Filter value representing the current Target Repository value.| +
-|current| Filter value representing the current Current Repository Value|+
  
-==== Example ====+Skip an update if the proposed change is HOLD and the current target repository is LIBR.
  
-Skip an update if the proposed change is HOLD and the current Target Repository is LIBR. +<code text;>
- +
-<sxh> +
-+
-# Skip an update if the proposed change is HOLD and the current Target Repository is LIBR.+
 AddSkipOnRepositoryChange("HOLD", "LIBR", "*"); AddSkipOnRepositoryChange("HOLD", "LIBR", "*");
-</sxh>+</code> 
 + 
 +Skip an update if the proposed change is HOLD, the target Repository is LIBR  and the current Repository is OFFS,  LEGL or DEST. 
 + 
 +<code text;> 
 +AddSkipOnRepositoryChange("HOLD", "LIBR", "*(OFFS|LEGL|DEST)"); 
 +</code> 
 + 
 +Skip any update that attempts to move a Volume out of Current Repository DEST. 
 + 
 +<code text;> 
 +AddSkipOnRepositoryChange("*", "*", "DEST"); 
 +</code> 
 + 
 +===== See Also ===== 
 + 
 +[[engine:import|Import Engine Functions]] \\ 
 +[[cli:sync_fields|Sync Engine Fields]] \\ 
 +[[cli:tmss10sync|TMSS10Sync]] 
 + 
 +{{tag> import_engine sync_engine}} 
engine/sync/addskiponrepositorychange.1539908847.txt.gz · Last modified: 2025/01/21 22:07 (external edit)