cookbook:commvault
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cookbook:commvault [2019/04/12 05:11] – [Example Storage Information Report] Scott Cunliffe | cookbook:commvault [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Storage Information Report ===== | ===== Storage Information Report ===== | ||
- | The Storage Information Report is created via the Commvault GUI and output to CSV format, | + | The Storage Information Report is created via the Commvault GUI and output to CSV format, |
+ | |||
+ | Report Details - General tab. | ||
+ | |||
+ | Group Volumes by barcode, include all media statuses. | ||
+ | |||
+ | {{commvault_gui_1.png}} | ||
+ | |||
+ | Report Details - Libraries tab. | ||
+ | |||
+ | Include orphaned media, both in and out of all libraries. | ||
+ | |||
+ | {{commvault_gui_2.png}} | ||
+ | |||
+ | Report Details - Time Range tab. | ||
+ | |||
+ | {{commvault_gui_3.png}} | ||
+ | |||
+ | Report Details - Output tab. | ||
+ | |||
+ | FTP address is only an example, you will need to add your correct FTP address. | ||
+ | |||
+ | {{commvault_gui_4.png}} | ||
==== Example Storage Information Report ==== | ==== Example Storage Information Report ==== | ||
- | <sxh> | + | <code> |
Storage Information Report | Storage Information Report | ||
Line 41: | Line 63: | ||
000001L3(R), | 000001L3(R), | ||
000001L5, | 000001L5, | ||
- | </sxh> | + | </code> |
===== Synchronization ===== | ===== Synchronization ===== | ||
Line 56: | Line 78: | ||
==== Example Command Line Arguments ==== | ==== Example Command Line Arguments ==== | ||
- | <sxh plain;> | + | <code plain;> |
TMSS10Sync -d default.ttidef -a -S batch: | TMSS10Sync -d default.ttidef -a -S batch: | ||
- | </sxh> | + | </code> |
Where: | Where: | ||
Line 69: | Line 91: | ||
- | <sxh> | + | <code> |
+ | # | ||
+ | # Set delimiter | ||
SetCSVDelimiter("," | SetCSVDelimiter("," | ||
+ | |||
+ | # Set Customer-ID | ||
+ | SetLiteral(CUSTOMER, | ||
+ | |||
+ | # Set Media-ID | ||
+ | SetLiteral(MEDIA, | ||
+ | |||
+ | # Extract values | ||
Extract(VOLUME, | Extract(VOLUME, | ||
Extract(DESCRIPTION, | Extract(DESCRIPTION, | ||
Line 76: | Line 108: | ||
Extract(WRITETIME, | Extract(WRITETIME, | ||
Extract(MOVEDATE, | Extract(MOVEDATE, | ||
+ | |||
+ | # Add L5 suffix to barcode value | ||
AddTranslation(VOLUME, | AddTranslation(VOLUME, | ||
+ | |||
+ | # Declare date formats | ||
SetExpiryDateFormat(" | SetExpiryDateFormat(" | ||
SetMoveDateFormat(" | SetMoveDateFormat(" | ||
- | SetWriteTimeFormat(" | + | SetWriteTimeFormat(" |
+ | |||
+ | # Set start of data | ||
AddString(START, | AddString(START, | ||
+ | |||
+ | # Exclude any line that starts with a space | ||
AddString(EXCLUSION, | AddString(EXCLUSION, | ||
+ | |||
+ | # Set end of data | ||
AddString(END, | AddString(END, | ||
- | SetLiteral(CUSTOMER, | + | |
- | SetLiteral(MEDIA, | + | </code> |
- | </sxh> | + | |
<- : | <- : | ||
+ | |||
+ | {{tag> cookbook}} |
cookbook/commvault.1555045871.txt.gz · Last modified: 2025/01/21 22:07 (external edit)