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 [2019/08/23 02:49] – [Example] 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 or 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.
  
-<sxh text;> +<code text;>
-+
-# Skip an update if the proposed change is HOLD, the target Repository is LIBR and the current is any. +
-#+
 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. Skip an update if the proposed change is HOLD, the target Repository is LIBR  and the current Repository is OFFS,  LEGL or DEST.
  
-<sxh text;> +<code text;>
-+
-# Skip an update if the proposed change is HOLD, the target Repository is LIBR and  +
-# the current is OFFS,  LEGL or DEST. +
-#+
 AddSkipOnRepositoryChange("HOLD", "LIBR", "*(OFFS|LEGL|DEST)"); AddSkipOnRepositoryChange("HOLD", "LIBR", "*(OFFS|LEGL|DEST)");
-</sxh>+</code>
  
 Skip any update that attempts to move a Volume out of Current Repository DEST. Skip any update that attempts to move a Volume out of Current Repository DEST.
  
-<sxh text;> +<code text;>
-+
-# Skip an update if the proposed change is any, the target Repository is any and the current is DEST. +
-#+
 AddSkipOnRepositoryChange("*", "*", "DEST"); AddSkipOnRepositoryChange("*", "*", "DEST");
-</sxh>+</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.1566528562.txt.gz · Last modified: 2025/01/21 22:07 (external edit)