lite:volumeauto
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lite:volumeauto [2019/01/01 00:42] – [Function] Scott Cunliffe | lite:volumeauto [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | **VolumeAuto** uses Volume filters and date values from '' | + | **VolumeAuto** uses Volume filters and date values from '' |
+ | The VolumeAuto process can be useful for setting next move dates of selected [[object: | ||
+ | |||
+ | The VolumeAuto process also has the advantage of being able to automatically set next move dates using Lite as opposed to having Simple Management rules that require access to TapeMaster. | ||
+ | |||
+ | '' | ||
+ | |||
+ | {{lite: | ||
===== File Format ===== | ===== File Format ===== | ||
- | The file is in CSV Format, | + | The file VolumeAuto.txt |
+ | |||
+ | The file contains the following fields: | ||
* Volume Filter in Customer.Media.Volume Format | * Volume Filter in Customer.Media.Volume Format | ||
* Move Date in the following formats: | * Move Date in the following formats: | ||
* YYYY-MM-DD | * YYYY-MM-DD | ||
- | * *+n (where * is today, and n is an integer | + | * *+n (where * is today, and n is an Integer |
- | * Y+n (where Y is the first day of the next year, and n is an integer | + | * Y+n (where Y is the first day of the next year, and n is an Integer |
- | * y+n (where y is the last day of the next year, and n is an integer | + | * y+n (where y is the last day of the next year, and n is an Integer |
- | * M+n (where M is the first day of the next month, and n is an integer | + | * M+n (where M is the first day of the next month, and n is an Integer |
- | * m+n (where m is the last day of the next month, and n is an integer | + | * m+n (where m is the last day of the next month, and n is an Integer |
* Description | * Description | ||
+ | ===== Setting Move Dates ===== | ||
+ | |||
+ | Open VolumeAuto.txt in a text editor such as Notepad. | ||
+ | |||
+ | At the bottom of the file, under the comment lines (#) and insert the required filters and move dates in the format | ||
+ | volume_filter, | ||
+ | |||
+ | Set the [[general: | ||
+ | |||
+ | Set the next move date using the relevant [[general: | ||
+ | |||
+ | Add new description. | ||
===== Function ===== | ===== Function ===== | ||
Line 22: | Line 43: | ||
* If a matching filter is found the date will be evaluated. | * If a matching filter is found the date will be evaluated. | ||
* if the date value is in the past the search will continue. | * if the date value is in the past the search will continue. | ||
- | * If the date value is in the future | + | * If the date value is in the future, the move date will be overridden with the date value. |
* If no matching filter is found the default move date will be applied to the Volume. | * If no matching filter is found the default move date will be applied to the Volume. | ||
Line 29: | Line 50: | ||
All Volumes from: | All Volumes from: | ||
* Customer: ACME | * Customer: ACME | ||
- | * Media type: DL | + | * Media type: LTO |
* Move date: Today + 10 days | * Move date: Today + 10 days | ||
* New Description: | * New Description: | ||
- | <sxh>ACME.DL.*, | + | <code>ACME.LTO.*, |
All Volumes from: | All Volumes from: | ||
* Customer: all | * Customer: all | ||
- | * Media type: DL | + | * Media type: LTO |
* Move date: First of next year, + 7 years | * Move date: First of next year, + 7 years | ||
* New Description: | * New Description: | ||
- | <sxh>*.DL.*,Y+7,Test Description </sxh> | + | <code>*.LTO.*,Y+7,Test Description </code> |
All Volumes from: | All Volumes from: | ||
* Customer: ACME | * Customer: ACME | ||
- | * Media type: DL | + | * Media type: LTO |
* Move date: First of December 2010 | * Move date: First of December 2010 | ||
* New Description: | * New Description: | ||
- | <sxh>ACME.DL.*, | + | <code>ACME.LTO.*, |
+ | Volume 100122L6: | ||
+ | * Customer: ACME | ||
+ | * Media type: LTO | ||
+ | * Move date: Listed set of dates | ||
+ | * New Description: | ||
+ | < | ||
+ | ACME.LTO.100122L6, | ||
+ | ACME.LTO.100122L6, | ||
+ | ACME.LTO.100122L6, | ||
+ | ACME.LTO.100122L6, | ||
+ | ACME.LTO.100122L6, | ||
+ | ACME.LTO.100122L6, | ||
+ | ACME.LTO.100122L6, | ||
+ | </ | ||
lite/volumeauto.1546303346.txt.gz · Last modified: 2025/01/21 22:07 (external edit)