[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Veritas Backup Exec Pre-Commands

Posted on 2006-11-30
2
Medium Priority
?
1,744 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:Headmasters
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Suggested Courses

834 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