engine:sync:addrepositoryonwritetime
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| engine:sync:addrepositoryonwritetime [2020/02/24 00:48] – [Example] Scott Cunliffe | engine:sync:addrepositoryonwritetime [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== AddRepositoryOnWriteTime ====== | ====== AddRepositoryOnWriteTime ====== | ||
| - | Set a Repository value based upon a range of Write Times. | + | Set a [[object: |
| ===== Phase ===== | ===== Phase ===== | ||
| This instruction is used by the TapeTrack Synchronization Engine. | This instruction is used by the TapeTrack Synchronization Engine. | ||
| - | ===== Special Considerations ===== | + | |
| - | < | + | < |
| - | AddRepositoryOnMoveDate entry has been used to change the Repository</ | + | [[engine: |
| ===== Syntax ===== | ===== Syntax ===== | ||
| - | **AddRepositoryOnWriteTime**(//field, filter, time, target, movedate//); \\ | + | '' |
| - | string // | + | |
| - | string // | + | ^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ |
| - | string // | + | |field| String |
| - | string // | + | |filter| String |
| - | string // | + | |time| String |
| - | |field| A field for comparison.| | + | |target| String |
| - | |filter| A filter to compare against.| | + | |movedate| String |
| - | |time| Number of hours, days, months and years from the Write Date.| | + | |
| - | |target| The Target Repository.| | + | |
| - | |movedate| Number of hours, days, months and years from the Write Date to set the Move Date.| | + | |
| ===== Example ===== | ===== Example ===== | ||
| - | Set the Repository based upon time from Write Date. | + | Set the [[object: |
| - | <sxh> | + | <code> |
| # | # | ||
| # Extract the WRITEDATE from column 10, length 20. | # Extract the WRITEDATE from column 10, length 20. | ||
| Line 44: | Line 41: | ||
| # move the Volume to OFFS and give it a one year MOVEDATE. | # move the Volume to OFFS and give it a one year MOVEDATE. | ||
| AddRepositoryOnWriteTime(DESCRIPTION, | AddRepositoryOnWriteTime(DESCRIPTION, | ||
| - | </sxh> | + | </code> |
| + | |||
| + | Set the Repository to OFFS, based on Volume-ID if last write time is within 7 days ago with no next move date. | ||
| + | |||
| + | < | ||
| + | AddRepositoryOnWriteTime(VOLUME, | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== See Also ===== | ||
| + | [[engine: | ||
| + | [[cli: | ||
| + | [[cli: | ||
| {{tag> import_engine sync_engine}} | {{tag> import_engine sync_engine}} | ||
engine/sync/addrepositoryonwritetime.1582505334.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
