BackupExec offers a command line executable which is especially useful when we want to manage the BackupExec tasks through applications or scripts.
Start Service
c:\"Program Files\Symantec\Backup Exec"\bemcmd -o502
Stop Service
c:\"Program Files\Symantec\Backup Exec"\bemcmd -o503
Tape Format
c:\"Program Files\Symantec\Backup Exec"\bemcmd -o114 -d"IBMLTO4" -pr:Medium –w
** IBMLTO4 is device name
Tape Erase
c:\"Program Files\Symantec\Backup Exec"\bemcmd -o111 -s -d"IBMLTO4" -e:1 -pr:Medium –w
** IBMLTO4 is device name
Inventory
c:\"Program Files\Symantec\Backup Exec"\bemcmd -o117 -d"IBMLTO4" -pr:Medium –w
** IBMLTO4 is device name
Start Daily backup
c:\"Program Files\Symantec\Backup Exec"\bemcmd -o1 -jDaily_Backup -pr:Medium -w
** Daily_Backup is the backup job name
Filed under:
BackupExec