cookbook:backupexec
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cookbook:backupexec [2018/12/28 03:59] – [Example Synchronization Definition] Scott Cunliffe | cookbook:backupexec [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== BackupExec ====== | ====== BackupExec ====== | ||
- | [[https:// | + | [[https:// |
- | When [[object: | + | - Command line, or |
+ | - Windows Power Shell, or | ||
+ | - ODBC. | ||
- | ===== The bemcmd command ===== | + | When [[object: |
- | <note tip>When BackupExec is installed a number of predefined reports | + | Unlike Veritas' |
- | ==== BackupExec 2010 and below: | ||
- | <sxh> | + | |
+ | ===== The Command Line Interface ===== | ||
+ | |||
+ | The Command Line Interface was used in BackupExec 2010 and below. | ||
+ | <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.</ | ||
+ | |||
+ | ==== Sample Command Line Syntax ==== | ||
+ | |||
+ | <code> | ||
bemcmd -o402 -r25 -ft:4 -f:" | bemcmd -o402 -r25 -ft:4 -f:" | ||
- | </sxh> | + | </code> |
+ | |||
+ | ===== The Windows Powershell interface ===== | ||
+ | |||
+ | The Windows Powershell interface replaced the Command Line Interface in BackupExec 2012. | ||
- | ==== | + | ==== Sample Powershell Script |
- | <sxh> | + | <code> |
cd " | cd " | ||
import-module BEMCLI | import-module BEMCLI | ||
Line 30: | Line 43: | ||
# | # | ||
- | # Initialize the outout | + | # Initialize the output |
# | # | ||
$Records = @() | $Records = @() | ||
Line 44: | Line 57: | ||
- | $Records | Export-CSV -notype BE.cs | + | $Records | Export-CSV -notype BE.csv |
- | </sxh> | + | </code> |
===== Synchronization ===== | ===== Synchronization ===== | ||
Line 54: | Line 67: | ||
- The CSV output file. | - The CSV output file. | ||
- | - Command line arguments that instruct | + | - Command line arguments that instructs |
- A synchronization definition file that instructs the program how to interpret the CSV output. | - A synchronization definition file that instructs the program how to interpret the CSV output. | ||
Line 62: | 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 " | powershell.exe -NoProfile -file " | ||
TMSS10Sync -S user: | TMSS10Sync -S user: | ||
- | </sxh> | + | </code> |
Where: | Where: | ||
Line 78: | 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 108: | Line 121: | ||
RemoveSpaces(DESCRIPTION); | RemoveSpaces(DESCRIPTION); | ||
# | # | ||
- | </sxh> | + | </code> |
- | <- ^ : | + | <- ^ : |
+ | {{tag> cookbook}} | ||
cookbook/backupexec.1545969595.txt.gz · Last modified: 2025/01/21 22:07 (external edit)