TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cookbook:backupexec

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:backupexec [2018/12/28 17:13] – [The command line interface] Gerard Nicolcookbook:backupexec [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 7: Line 7:
   - ODBC.   - ODBC.
  
-When [[object:volume|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 Veritas's [[cookbook:netbackup|NetBackup]] product, when [[object:volume|Volumes]] expire, by default, they are not moved back into the Scratch Media Set.+When [[object:volume|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 Veritas's [[cookbook:netbackup|NetBackup]] product, when [[object:volume|Volumes]] expire, by default, they are not moved back into the Scratch Media Set.
  
  
Line 14: Line 16:
  
 The Command Line Interface was used in BackupExec 2010 and below. The Command Line Interface was used in BackupExec 2010 and below.
-==== Using the bemcmd command ==== 
- 
 <note tip>When BackupExec is installed a number of predefined reports are created. The ID of each predefined report varies from one installation to the next.</note> <note tip>When BackupExec is installed a number of predefined reports are created. The ID of each predefined report varies from one installation to the next.</note>
  
-<sxh>+==== Sample Command Line Syntax ==== 
 + 
 +<code>
 bemcmd -o402 -r25 -ft:4 -f:"BE.csv" > "BE-CMD.txt" 2>&1 bemcmd -o402 -r25 -ft:4 -f:"BE.csv" > "BE-CMD.txt" 2>&1
-</sxh>+</code>
  
 =====   The Windows Powershell interface ===== =====   The Windows Powershell interface =====
Line 26: Line 28:
 The Windows Powershell interface replaced the Command Line Interface in BackupExec 2012. The Windows Powershell interface replaced the Command Line Interface in BackupExec 2012.
  
-<sxh>+==== Sample Powershell Script ==== 
 + 
 +<code>
 cd "C:\Program Files\Symantec\Backup Exec\Modules\BEMCLI"  cd "C:\Program Files\Symantec\Backup Exec\Modules\BEMCLI" 
 import-module BEMCLI import-module BEMCLI
Line 54: Line 58:
  
 $Records | Export-CSV -notype BE.csv $Records | Export-CSV -notype BE.csv
-</sxh>+</code>
  
 ===== Synchronization ===== ===== Synchronization =====
Line 71: Line 75:
 Call the TapeTrack Sync module and process the output created by the Powershell script. Call the TapeTrack Sync module and process the output created by the Powershell script.
  
-<sxh>+<code>
 powershell.exe -NoProfile -file "BE-List.ps1" -executionpolicy RemoteSigned  powershell.exe -NoProfile -file "BE-List.ps1" -executionpolicy RemoteSigned 
 TMSS10Sync -S user:-password@server -a -d BE.ttidef < BE.csv TMSS10Sync -S user:-password@server -a -d BE.ttidef < BE.csv
-</sxh>+</code>
  
 Where: Where:
Line 87: Line 91:
 **BE.ttidef** **BE.ttidef**
  
-<sxh>+<code>
 # #
 # Set the Customer and Media as literal values as they never change # Set the Customer and Media as literal values as they never change
Line 117: Line 121:
 RemoveSpaces(DESCRIPTION); RemoveSpaces(DESCRIPTION);
 # #
-</sxh>+</code>
  
-<-  ^ :cookbook:introduction|Cookbook ^ :cookbook:dataprotector|Data Protector Sync Cookbook->+<-  ^ :cookbook:introduction|Cookbook ^ :cookbook:commvault|Commvault Sync Cookbook->
  
 +{{tag> cookbook}}
  
cookbook/backupexec.1546017209.txt.gz · Last modified: 2025/01/21 22:07 (external edit)