Solved

Veritas Backup Exec Pre-Commands

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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Join & Write a Comment

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now