Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.
Backup and Recovery Community Blog

Use BEMCMD to start jobs

Created: 30 Nov 2010 • 2 comments
pkh's picture
+4 6 Votes
Login to vote

BE comes with a commandline line applet called BEMCMD.  This program is located in the BE installation directory, along with it manual.  One of the BEMCMD can be used to start jobs which were already created.  For example,

"C:\Program Files\Symantec\Backup Exec\bemcmd.exe" -o1 -j"Backup SQL Logs"

Backup SQL Logs is a job that has been submitted as Run Now and On Hold.  The full path is used above because the BE installation directory is not in the default path in Windows.

You can schedule BEMCMD to run at a particular time using the Windows scheduler or as a pre- or post- command in a BE job.

In the example above, when the backup job ends, Backup SQL Logs will be started.  In this way, you can chain jobs together.

You can also run BEMCMD from any Windows machine which may or may not have BE installed on it.


Comments 2 CommentsJump to latest comment

pkh's picture

If you are using BE 2012, then see my article

Login to vote
LunAds's picture

wow, that's way more easy and a lot less config work.
I've just tested this and it works great!

Thanks for your answer!

Login to vote