30-11-2012, 04:52 PM
SymantecTM Backup Exec for Windows Servers
SymantecTM Backup Exec.pdf (Size: 1.63 MB / Downloads: 86)
Updating scripts for use with this release
This release of the Backup Exec Command Line Applet provides improved output from
command switches and includes support for new features and capabilities in Backup
Exec.
Symantec strongly recommends that you use the latest release of the Command Line
Applet. You may need to update existing job scripts to take advantage of the improved
command switch output. While you update and test your job scripts with this release of
Backup Exec Command Line Applet, you can continue to use the previous version of the
Command Line Applet.
Using the Command Line Applet
The Backup Exec Command Line Applet is installed with Backup Exec for Windows
Servers. After installation, to run the applet on another computer, copy bemcmd.exe to a
computer that meets the minimum requirements and is running Windows RPC services.
If you copy bemcmd.exe to another computer, the files beclass.dll, libvxsigcomp2.dll,
vxcrypto.dll, besocket.dll, bestdutl.dll, msvcr71.dll, and msvcp71.dll must exist on
that computer. If they do not already exist, copy them along with bemcmd.exe.
To use the Command Line Applet, type bemcmd followed by a series of command
switches in a command prompt window. The Command Line Applet will attempt to
complete the requested task, and then return a value to the command prompt indicating
success or failure.
Backup Exec functions and utilities that you can run using the Command Line Applet
include:
■ Run or cancel a previously created jobs.
■ Create and run jobs for local or remote file selections, including databases on
Microsoft Exchange, SQL, Lotus Domino, Oracle, UNIX, and SharePoint installations.
■ Create selection lists.
■ Create protection policies that include job templates and rules.
■ Create, run, and monitor utility jobs.
Using command line switches
To use the Command Line Applet on your computer, type the appropriate command line
switch and any additional information required. For example, to run a previously created
backup job named Operations Weekly, type the following at the command prompt:
bemcmd -o1 -j"Operations Weekly"
In this example, -o1 is the operation to submit the backup job. The command line switch
-j specifies the name of the backup job. Because the job name contains spaces, quotation
marks are required around the job name.
The job “Operations Weekly” was previously created through the Backup Exec
administration console. By default, the backup will be done on the computer where the
Command Line applet is executed.
To run this same job on a remote computer named Genesis, type the following at the
command prompt: