TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:sync:addrepositoryonmovedate

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:addrepositoryonmovedate [2018/08/14 17:16] – [Example] dcummingengine:sync:addrepositoryonmovedate [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-addrepositoryonmovedate+====== AddRepositoryOnMoveDate ======
  
-==== AddRepositoryOnMoveDate ==== +Add Target Repository based upon the value of the Next Move Date. 
-Add Repository based upon the value of the Next Move Date.+ 
 +===== Phase =====
  
-==== Phase ==== 
 This instruction is used by the TapeTrack Synchronization Engine. This instruction is used by the TapeTrack Synchronization Engine.
  
-==== Special Considerations ====+<note tip>If a matching entry is found for AddRepositoryOnMoveDate the [[engine:sync:addrepositoryonwritetime|AddRepositoryOnWriteTime]] (if any) will not be checked.</note> 
 + 
 +===== Syntax ===== 
 + 
 +''AddRepositoryOnMoveDate(current_repository, range, target);'' 
 + 
 +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
 +|current_repository| String | Current Repository Filter.|1|256| 
 +|range| String | Range of Move Dates.|1|30| 
 +|target| String | Target Repository value.|1|4| 
 + 
 +===== Example ===== 
 + 
 +Move Volumes to RACK if their Move Date is between today to 10 days from today. 
 +<code> 
 +AddRepositoryOnMoveDate("*", "*:*+10", "RACK"); 
 +</code> 
 + 
 +===== See Also =====
  
-<note tip>If a matching entry is found for AddRepositoryOnMoveDate the AddRepositoryOnWriteTime (if any) will not be checked.</note>+[[engine:import|Import Engine Functions]] \\ 
 +[[cli:sync_fields|Sync Engine Fields]] \\ 
 +[[cli:tmss10sync|TMSS10Sync]]
  
-==== Syntax ==== +{{tag> import_engine sync_engine}}
-AddRepositoryOnMoveDate(currentrepository, range, target); +
-//string currentrepository;//\\ +
-//string range;//\\ +
-//string target;//\\ +
-|currentrepository| Current Repository Filter.| +
-|range| Range of Move Dates.| +
-|range| Target Repository value.| +
-==== Example ==== +
-**AddRepositoryOnMoveDate: Move Volumes to RACK if their Move +
-Date is today to 10 days from today.** +
-|AddRepositoryOnMoveDate("*", "*:*+10", "RACK");| Move Volumes to RACK if their Move Date is today to 10 days from today.|+
engine/sync/addrepositoryonmovedate.1534266983.txt.gz · Last modified: 2025/01/21 22:07 (external edit)