TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cookbook:backupexec

This is an old revision of the document!


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.

When Volumes are new, they will appear in the Scratch Media Set, but as they are used they are assigned to a specific Media Set. Unlike Symantec's NetBackup product, when Volumes expire, by default, they are not moved back into the Scratch Media Set.

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.

BackupExec 2010 and below: Extracting Volume information using the command line interface

1
bemcmd -o402 -r25 -ft:4 -f:"BE.csv" > "BE-CMD.txt" 2>&1

BackupExec 2012 and above: Extracting Volume information using the Windows Power Shell interface

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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

Synchronization

Synchronization with TapeTrack is performed by calling the TMSS10Sync command line program, along with:

  1. The CSV output file.
  2. Command line arguments that instruct the program how to process volumes.
  3. A synchronization definition file that instructs the program how to interpret the CSV output.
cookbook/backupexec.1545959178.txt.gz · Last modified: 2025/01/21 22:07 (external edit)