?
Solved

Veritas Backup Exec Pre-Commands

Posted on 2006-11-30
2
Medium Priority
?
1,734 Views
Last Modified: 2013-12-01
I wonder if anyone can tell me if there is a pre command and tell me what it is for scanning the slots on a media libary.

Sometimes when inserting tapes into the robotic libary we forget to scan the tapes and the backup job does not run.
0
Comment
Question by:hmuser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
limeyrat earned 375 total points
ID: 18048949
It looks like there is a command line option -o80 -ai: that will auto inventory all slots. I think the command would be

bemcmd -o80 -ai:

You probably need to specify the server, too. I had to change to the folder first as well, here is my batch file which ran a preset job "full_NSM":

C:
CD \PROGRA~1\VERITAS\BACKUP~1\NT
bemcmd -c\\servername -o1 -j"full_NSM"

You should be able to pull this up in the help file under command line applet. You may need to make a batch file and call that using the pre-command. This is what I do, then check the box to prevent the backup job running if the pre-job command is not successful.

So your command would be
bemcmd -o80 -ai:
if it was running on the local server or
bemcmd -c\\servername -o80 -ai:
if it was running on a remote server 'servername'

Hope this gets you going,
Martin
0
 
LVL 56

Expert Comment

by:andyalder
ID: 18052651
Just to add you cannot use bemcmd as a pre/post job so you have to use the windows scheduler for it instead, see the warning at http://support.veritas.com/docs/259939 
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question