Solved

Veritas Backup Exec Pre-Commands

Posted on 2006-11-30
2
1,727 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 125 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 55

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
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…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

734 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