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/08/14 17:25] – [Example] dcummingengine: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 Repositry 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);'' 
 + 
 +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
 +|proposed| String | Filter value representing the proposed change to the Target Repository.|1|128| 
 +|target| String | Filter value representing the current Target Repository value.|1|128| 
 +|current| String | Filter value representing the current Current Repository value|1|128| 
 + 
 +===== Example ===== 
 + 
 +Skip an update if the proposed change is HOLD and the current target repository is LIBR. 
 + 
 +<code text;> 
 +AddSkipOnRepositoryChange("HOLD", "LIBR", "*"); 
 +</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]]
  
-//string proposed;//\\ +{{tag> import_engine sync_engine}}
-//string target;//\\ +
-//string current;//\\+
  
-|proposed| Filter value representing the proposed change to the Target Repository.| 
-|target| Filter value representing the current Target Repository value.| 
-|current| Filter value representing the current Current Repository Value| 
-==== Example ==== 
-**AddSkipOnRepositoryChange: Skip an update if the proposed change 
-is HOLD and the current Target Repository is LIBR.** 
-|AddSkipOnRepositoryChange("HOLD", "LIBR", "*");| Skip an update if the proposed change is HOLD and the current Target Repository is LIBR.| 
engine/sync/addskiponrepositorychange.1534267550.txt.gz · Last modified: 2025/01/21 22:07 (external edit)