TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


sync:fields

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
sync:fields [2021/06/02 03:00] – Scott Cunliffesync:fields [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 3: Line 3:
 The following Volume fields can be set by the synchronization process with the values extracted from the input source: The following Volume fields can be set by the synchronization process with the values extracted from the input source:
  
-^ Field           ^ Maximum Length  ^ TapeTrack Field ^ +^ Field               ^ Maximum Length  ^ TapeTrack Field                                                                       ^ 
-| CUSTOMER        | 4               | [[object:customer|Customer-ID]] | +| CONTAINER           | 20              | [[concepts:qualified_barcode|Fully qualified]] Container barcode                | 
-| MEDIA           | 4             | [[object:media#media-id|Media-ID]] | +| CUSTOMER            | 4               | [[object:customer|Customer-ID]]                                                       | 
-| VOLUME   | 10             | [[object:volume#volume-id|Volume-ID]] | +| DATACLUSTER         | 256             | [[object:data_cluster|Data Cluster]] Value (Data Cluster must already exist)          | 
-| REPOSITORY   | 4             | [[object:repository| Repository-ID]] | +| DESCRIPTION         | 256             | Volume Description (use program flag to set Extended Attributes)                      | 
-| REPOSITORY_DESC | 20             | Description of Repository (used to set the Repository-ID) | +| ENCRYPTED           | 10              | Is [[object:volume|Volume]] encrypted (YES, NO, TRUE, FALSE)                          | 
-| SLOT           | 10             | Slot for Repository. | +| EXPIRYDATE          |                 |                                                                                       | 
-| DATACLUSTER   | 256             | [[object:data_cluster|Data Cluster]] Value (Data Cluster must already exist) | +| GENERATION          |                 |                                                                                       | 
-| DESCRIPTION   | 256             | Volume Description (use program flag to set Extended Attributes) | +| HIDDEN              |                 |                                                                                       | 
-| MOVEDATE   | 64             | Move Date (must have [[engine:sync:setmovedateformat|SetMoveDateFormat]] defined) | +| HOMEREPOSITORY      |                 |                                                                                       | 
-| WRITETIME   | 64             | Write Time (must have [[engine:sync:setwritetimeformat|SetWriteTimeFormat]] defined) | +| HOMESLOT            |                 |                                                                                       | 
-| CONTAINER   | 20             | [[concepts:fully_qualified_barcode|Fully qualified]] Container barcode | +| INITIAL REPOSITORY  |                 |                                                                                       | 
-| SYSTEM   | 10             | System this Volume belongs to | +| MEDIA               | 4               | [[object:media#media-id|Media-ID]]                                                    | 
-| ENCRYPTED   |10             | Is [[object:volume|Volume]] encrypted (YES, NO, TRUE, FALSE) | +| MOUNTIME            |                 |                                                                                       | 
-| SCRATCH   |10             | Is [[object:volume|Volume]] scratch (YES, NO, TRUE, FALSE) |+| MOVEDATE            | 64              | Move Date (must have [[engine:sync:setmovedateformat|SetMoveDateFormat]] defined)     | 
 +| MOVELOCK            |                 |                                                                                       | 
 +| QUALITYCHECK        |                 |                                                                                       | 
 +| READTIME            |                 |                                                                                       | 
 +| REPOSITORY          | 4               | [[object:repository| Repository-ID]]                                                  | 
 +| REPOSITORY_DESC     | 20              | Description of Repository (used to set the Repository-ID)                             | 
 +| SCRATCH             | 10              | Is [[object:volume|Volume]] scratch (YES, NO, TRUE, FALSE)                            | 
 +| SLOT                | 10              | Slot for Repository.                                                                  | 
 +| STAGE               |                 |                                                                                       | 
 +| STOCKID             |                 |                                                                                       | 
 +| SYSTEM              | 10              | System this Volume belongs to                                                         | 
 +| USAGE               |                 |                                                                                       | 
 +| USAGECOUNT          |                 |                                                                                       | 
 +| VOLUME              | 10              | [[object:volume#volume-id|Volume-ID]]                                                 | 
 +| WRITETIME           | 64              | Write Time (must have [[engine:sync:setwritetimeformat|SetWriteTimeFormat]] defined)  |
  
  
-<- sync:sources|Sync Sources ^ sync:introduction|introduction ^  sync:data_extraction ->+These fields can be set via: 
 +  * SetLiteral: Sets a literal value, used when the field value remains constant throughout the Sync process. 
 +  * Extract: Used to extract the data for the field from the input source. 
 +  * Translate: Used to set the field to another value based on the extracted value. 
 +  * Translate2: Used to set the field to another value based of comparing a second extracted field to a set value. 
 + 
 + 
 +===== Addition Sync Fields ===== 
 + 
 +Addition Sync fields that can be used to extract data into for comparison when using Translation statements.  These are not fields that can be set directly in TapeTrack. 
 + 
 +An example of this would be if User1 = legal_hold then set Repository to HOLD. 
 + 
 +^ Field ^  
 +|User1 | 
 +|User2 | 
 +|User3 | 
 +|User4 | 
 +|User5 | 
 +|User6 | 
 +|User7 | 
 +|User8 | 
 +|User9 | 
 + 
 +<- sync:data_extraction|Data Extraction ^ sync:introduction|introduction ^  sync:definition|Sync Definition Files ->
sync/fields.1622602829.txt.gz · Last modified: 2025/01/21 22:07 (external edit)