cookbook:backupexec
This is an old revision of the document!
Table of Contents
BackupExec
BackupExec is Symantec's (previously Veritas) small business backup solution and depending on the version, allows Volume information to be extracted via command line, Windows Power Shell and ODBC.
The bemcmd command
When BackupExec is installed a number of predefined reports are created. The ID of each prefedined report varies from one installation to the next.
Extracting Volume information using the command line interface
bemcmd -o402 -r25 -ft:4 -f:"BE.csv" > "BE-CMD.txt" 2>&1
Extracting Volume information using the Windows Power Shell interface
cd "C:\Program Files\Symantec\Backup Exec\Modules\BEMCLI" import-module BEMCLI cd "C:\Program Files\TapeTrack\TapeTrack Sync\var" # # Get Media list from Backup Exec # $MediaList = Get-BEMedia $Today = Get-Date # # Initialize the outout array # $Records = @() ForEach ($Media in $MediaList) { $Record = "" | Select-Object CartridgeLabel, MediaSetName, MediaVault, RetentionHoursRemaining $Record.CartridgeLabel = $Media.Name $Record.MediaSetName = $Media.MediaSet $Record.MediaVault = $Media.MediaVault $Record.RetentionHoursRemaining = [Int]($Media.OverwriteProtectedUntilDate - $Today).TotalHours $Records += $Record } $Records | Export-CSV -notype BE.cs
cookbook/backupexec.1545957318.txt.gz · Last modified: 2025/01/21 22:07 (external edit)