engine:sync:addskiponrepositorychange
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
engine:sync:addskiponrepositorychange [2019/08/23 02:49] – [Example] Scott Cunliffe | engine: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: |
- | ==== 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//); \\ | + | '' |
- | 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 | ||
- | |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(" | AddSkipOnRepositoryChange(" | ||
- | </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(" | AddSkipOnRepositoryChange(" | ||
- | </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(" | AddSkipOnRepositoryChange(" | ||
- | </sxh> | + | </code> |
+ | |||
+ | ===== See Also ===== | ||
+ | [[engine: | ||
+ | [[cli: | ||
+ | [[cli: | ||
+ | {{tag> import_engine sync_engine}} | ||
engine/sync/addskiponrepositorychange.1566528562.txt.gz · Last modified: 2025/01/21 22:07 (external edit)