====== Restricting Which Volume-ID's Can Be Moved To A Repository. ====== TapeTrack allows the restriction of what [[object:volume|Volumes]] can be moved to a Repository based on a pattern specified in the Repository properties. ===== Setting Volume-ID Restrictions ===== Open the required [[object:repository|Repository's]] properties and navigate to the ''Options'' tab. Click in the field to the right of ''Allowable Volume-ID's'' and enter allowable [[object:volume|Volumes]] string pattern. {{technote:tapemaster_repository_allowable_volume_id.png}} Restricting [[object:volume|Volume-ID]] patterns can be enforced using [[general:pattern_matching|TapeTrack string filters]]. [[general:pattern_matching|Character filters]] may be used alone or in combination to achieve the restricted [[object:volume|Volume-ID]] [[general:pattern_matching|pattern]] required. ==== Example Patterns ==== ^ Volume-ID required ^ Filter Pattern ^ Example Volume-ID ^ | Only [[object:volume|Volumes]] ending in L5 | *L5 | 100001L5 | | Any [[object:volume|Volumes]] except those ending in L5 | !*L5 | 100002L6 | | [[object:volume|Volumes]] ending in L5 or starting with X- | *(*L5%%|%%X-*) | X-2E8CA12F | Any attempt to move a [[object:volume|Volume]] with a non compliant [[object:volume|Volume-ID]] will cause an error and the move will be aborted. {{technote:tapemaster_repository_non_allowable_volume_id.png}} {{tag> technote tapemaster }}