engine:sync:setinitialrepository
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| engine:sync:setinitialrepository [2018/10/19 00:29] – Scott Cunliffe | engine:sync:setinitialrepository [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== SetInitialRepository ===== | + | ====== SetInitialRepository |
| Set the Current, Target and Scanned Repository value for newly added Volumes. | Set the Current, Target and Scanned Repository value for newly added Volumes. | ||
| - | ==== Phase ==== | + | ===== Phase ==== |
| This instruction is used by the TapeTrack Synchronization Engine. | This instruction is used by the TapeTrack Synchronization Engine. | ||
| - | ==== Syntax ==== | + | ===== Syntax |
| - | **SetInitialRepository**(//repository//); | + | '' |
| - | string // | ||
| - | |repository| The initial Repository values for a new Volume.| | + | ^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ |
| + | |repository|String| The initial Repository values for a new Volume.|1|4| | ||
| <note tip> | <note tip> | ||
| If the Media Type for the added Volume has an Initial Repository value set in its options, this value will override any value set by SetInitialRepository.</ | If the Media Type for the added Volume has an Initial Repository value set in its options, this value will override any value set by SetInitialRepository.</ | ||
| - | ==== Example ==== | + | ===== Example |
| - | Set the initial Repository | + | Set the initial Repository |
| - | <sxh> | + | <code> |
| - | # | + | |
| - | # Set the initial Repository values to LIBR. | + | |
| SetInitialRepository(" | SetInitialRepository(" | ||
| - | </sxh> | + | </code> |
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | [[engine: | ||
| + | [[cli: | ||
| + | [[cli: | ||
| + | |||
| + | {{tag> import_engine sync_engine}} | ||
engine/sync/setinitialrepository.1539908980.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
