cancel
Showing results for 
Search instead for 
Did you mean: 

BE 2010 command line problem

tfetterer
Level 2

I use the Backup Exec command line utility (bemcmd.exe) to do some automated tasks and I'm having problems with 2010. Scripts that worked with BE11 no longer work. My question is: does anyone see a problem with this script? The restore works from the GUI by selecting the files at those paths.

[General]
JOB_TYPE=Restore
JOB_PRIORITY=HIGHEST
JOB_NAME=Retrieve-8588911820318053659
[Restore_Options]
RESTORE_EXISTING=1
RESTORE_PRESERVE=0
SHARE_REDIRECT_DRIVE=C:
SHARE_REDIRECT_PATH=\temp\test2
[Selections]
SELECTION1=\\CATALOGUE\C:\temp\data\ingestData\terrasar\IMAGE_HH_SRA_scan_008.jpg
SELECTION2=\\CATALOGUE\C:\temp\data\ingestData\terrasar\terrasar_vsif.xml

 

Output of bemcmd:

C:\Program Files\Symantec\Backup Exec>bemcmd.exe  -o90 -v -f"C:\Users\TFETTE~1\AppData\Local\Temp\2\
{ac63159b-54ec-416e-8a57-d0fa1dc1e6be}.txt" -w

Backup Exec Command Line Applet version 13.0.4164.
Copyright (c) 2010 Symantec Corporation.  All rights reserved.

Connecting to local media server...
Connected.
Reading script file...
ERROR: Invalid Selection.
ERROR processing script file: '-1'.
Disconnecting from server...
Disconnected.
RETURN VALUE: -1

Any help is appreciated.

4 REPLIES 4

RahulG
Level 6
Employee

To be able to restore to a resource, that resource must be visible in a newly created backup selections list and a successful backup of that resource must be possible.

pkh
Moderator
Moderator
   VIP    Certified

Colin_Weaver
Moderator
Moderator
Employee Accredited Certified

Might be wothe reading this

http://www.symantec.com/docs/TECH144884

 

and this

http://www.symantec.com/connect/forums/scripted-restore-jo

tfetterer
Level 2

Thanks for your responses. I'll have to work around it.