BEMCMD Hangs
I am trying to submit a restore job using BEMCMD so I can test the latest backup job for compliance purposes.
I have stripped almost everything out of my script, but it still won't submit. I figured I'd put the harder bits back in after I got a simple one working.
My script looks like this:
=========================================
[General]
JOB_TYPE=Restore
JOB_PRIORITY=Medium
[Restore_Options]
RESTORE_EXISTING=1
[Selections]
SELECTION1=\\SRVR01\E:\REPORTS\SALES\WklyQuotes.pdf
[Schedule]
RUN_IMMEDIATE=YES
=========================================
The results are:
=========================================
C:\Program Files\Symantec\Backup Exec>bemcmd -o90 -v -f:c:\scripts\restorefile\template.txt
Backup Exec Command Line Applet version 13.0.2896.
Copyright (c) 2009 Symantec Corporation. All rights reserved.
Connecting to local media server...
Connected.
Reading script file...
Getting new job name...
Success.
Inserting schedule...
Inserting job...
=========================================
It just hangs there at the Inserting job.... step. It never finishes.
What am I doing wrong?
Mark
Ok finally got it to submit. It was an omission on my part.
In case anyone else has this problem, I had to fully qualify my server using the following
\\server.domain.com\Drive:\path\file
Once I did that, everything worked.
Thanks.
Mark