TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cookbook:dataprotector

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cookbook:dataprotector [2025/01/21 22:07] – external edit 127.0.0.1cookbook:dataprotector [2025/12/16 00:03] (current) – [The omnirpt command] Scott Cunliffe
Line 4: Line 4:
  
 ===== The omnirpt command ===== ===== The omnirpt command =====
 +
 +The following instructions use onmirpt to extract the media via a tab delimetered CSV file.  Using the powershell code
 +
 +<code>
 +omnireport -report media -detail 1 |
 +Where-Object {
 +    $_ -match "^[A-Z0-9]{6,}" -and
 +    $_ -notmatch "Disk"
 +} |
 +ForEach-Object { $_ -replace "`t", "," } |
 +Out-File "C:\DPReports\tapetrack_media.csv" -Encoding UTF8
 +
 +</code>
 +
 +or linux
 +
 +<code>
 +omnireport -report media -detail 1 \
 +| grep -E '^[A-Z0-9]{6,}' \
 +| grep -v -i 'disk' \
 +| sed 's/\t/,/g' \
 +> tapetrack_media.csv
 +
 +</code>
 +
 +The file can be converted to a comma delimitered file and used directly for input into the Sync process, skipping the need to run TMSS10CSV2Fixed 
  
 The onmirpt command is available on systems with the Data Protector User Interface component The onmirpt command is available on systems with the Data Protector User Interface component
cookbook/dataprotector.1737497272.txt.gz · Last modified: 2025/01/21 22:07 by 127.0.0.1