Solved

Veritas Backup Exec Pre-Commands

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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

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

Suggested Solutions

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

895 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

18 Experts available now in Live!

Get 1:1 Help Now