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 01:13] – Scott Cunliffe | cookbook:commvault [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Commvault ====== | ====== Commvault ====== | ||
+ | [[https:// | ||
+ | |||
+ | ===== Storage Information Report ===== | ||
+ | |||
+ | The Storage Information Report is created via the Commvault GUI and output to CSV format, accessible from the reports tab. | ||
+ | |||
+ | 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 ==== | ||
+ | |||
+ | < | ||
+ | Storage Information Report | ||
+ | |||
+ | Report generated on 05/06/2014 14: | ||
+ | CommCell ID: F4720 | ||
+ | CommCell: cmback01 | ||
+ | |||
+ | -- Report Criteria -- | ||
+ | #Group By:Bar Code | ||
+ | #Media Status:All | ||
+ | #Media Location: | ||
+ | #Include: None | ||
+ | #Show Media With Error Only: No | ||
+ | #Show Media With Prevent Export Only: No | ||
+ | #Show Media Retained by Extended Retention Only: No | ||
+ | #Show Media Retained by Basic Retention Only: No | ||
+ | #Include De-configured Clients Only: No | ||
+ | # | ||
+ | #Media Repository: | ||
+ | # | ||
+ | #Storage Policy (Copy):All | ||
+ | # | ||
+ | #Use None | ||
+ | |||
+ | Summary | ||
+ | Total, | ||
+ | 3014, | ||
+ | |||
+ | |||
+ | Bar Code,Media Type, | ||
+ | 000001L3(R), | ||
+ | 000001L5, | ||
+ | </ | ||
+ | |||
+ | ===== Synchronization ===== | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | Synchronization with TapeTrack is performed by calling the [[cli: | ||
+ | |||
+ | - The Storage Information CSV report. | ||
+ | - 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: | ||
+ | </ | ||
+ | |||
+ | 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.1555031619.txt.gz · Last modified: 2025/01/21 22:07 (external edit)