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:58] – 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> |
| + | |||
| + | ===== Synchronization ===== | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | Synchronization with TapeTrack is performed by calling the [[cli: | ||
| + | |||
| + | | ||
| + | - 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. | ||
| + | |||
| + | |||
| + | ==== Example Command Line Arguments ==== | ||
| + | |||
| + | <code plain;> | ||
| + | TMSS10Sync -d default.ttidef -a -S batch:-password@server < commvaultreport.csv | ||
| + | </ | ||
| + | |||
| + | 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, 7, 10, 0); | ||
| + | Extract(WRITETIME, 13, 20, 0); | ||
| + | Extract(MOVEDATE, 7, 10, 0); | ||
| + | |||
| + | # Add L5 suffix to barcode value | ||
| + | AddTranslation(VOLUME, " | ||
| + | |||
| + | # Declare date formats | ||
| + | SetExpiryDateFormat(" | ||
| + | SetMoveDateFormat(" | ||
| + | SetWriteTimeFormat(" | ||
| + | |||
| + | # Set start of data | ||
| + | AddString(START, 0, " | ||
| + | |||
| + | # Exclude any line that starts with a space | ||
| + | AddString(EXCLUSION, 0, " *"); | ||
| + | |||
| + | # Set end of data | ||
| + | AddString(END, 0, " | ||
| + | |||
| + | </ | ||
| - | </ | ||
| <- : | <- : | ||
| + | |||
| + | {{tag> cookbook}} | ||
cookbook/commvault.1555045104.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
