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 04:59] – [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 | ||
- | Report generated on 05/06/2014 14:08:02 | + | Report generated on 05/06/2014 14: |
CommCell ID: F4720 | CommCell ID: F4720 | ||
CommCell: cmback01 | CommCell: cmback01 | ||
Line 39: | Line 61: | ||
Bar Code,Media Type, | Bar Code,Media Type, | ||
- | 000001L5(R),ULTRIUM V3,N/A,DELL TL-2000 : Swords (LTO-5),SP : Archived : Swords CSO-DB1_Full - 2006 [Weekly Aux Copy (CSO-DB1)], | + | 000001L3(R),ULTRIUM V3,N/A,DELL TL-2000 : Swords (LTO-5),SP : Archived : Swords CSO-DB1_Full - 2006 [Weekly Aux Copy (CSO-DB2)], |
- | 000001L5, | + | 000001L5, |
- | 000002L3(e1), | + | </code> |
- | + | ||
- | </sxh> | + | |
===== Synchronization ===== | ===== Synchronization ===== | ||
Line 54: | Line 74: | ||
- Command line arguments that instruct the program how to process volumes. | - Command line arguments that instruct the program how to process volumes. | ||
- A synchronization definition file that instructs the program how to interpret the Storage Information CSV output. | - A synchronization definition file that instructs the program how to interpret the Storage Information CSV output. | ||
+ | |||
+ | |||
+ | ==== Example Command Line Arguments ==== | ||
+ | |||
+ | <code plain;> | ||
+ | TMSS10Sync -d default.ttidef -a -S batch: | ||
+ | </ | ||
+ | |||
+ | Where: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ==== Example Synchronization Definition ==== | ||
+ | |||
+ | |||
+ | < | ||
+ | # | ||
+ | # Set delimiter | ||
+ | SetCSVDelimiter("," | ||
+ | |||
+ | # Set Customer-ID | ||
+ | SetLiteral(CUSTOMER, | ||
+ | |||
+ | # Set Media-ID | ||
+ | SetLiteral(MEDIA, | ||
+ | |||
+ | # Extract values | ||
+ | Extract(VOLUME, | ||
+ | Extract(DESCRIPTION, | ||
+ | Extract(EXPIRYDATE, | ||
+ | Extract(WRITETIME, | ||
+ | Extract(MOVEDATE, | ||
+ | |||
+ | # Add L5 suffix to barcode value | ||
+ | AddTranslation(VOLUME, | ||
+ | |||
+ | # Declare date formats | ||
+ | SetExpiryDateFormat(" | ||
+ | SetMoveDateFormat(" | ||
+ | SetWriteTimeFormat(" | ||
+ | |||
+ | # Set start of data | ||
+ | AddString(START, | ||
+ | |||
+ | # Exclude any line that starts with a space | ||
+ | AddString(EXCLUSION, | ||
+ | |||
+ | # Set end of data | ||
+ | AddString(END, | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
<- : | <- : | ||
+ | |||
+ | {{tag> cookbook}} |
cookbook/commvault.1555045199.txt.gz · Last modified: 2025/01/21 22:07 (external edit)