07-11-2011 05:54 PM
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.
07-12-2011 12:14 AM
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.
07-12-2011 01:40 AM
This is a known problem. See
http://www.symantec.com/business/support/index?page=content&id=TECH144884
07-12-2011 01:55 AM
Might be wothe reading this
http://www.symantec.com/docs/TECH144884
and this
http://www.symantec.com/connect/forums/scripted-restore-jo
07-12-2011 07:30 AM
Thanks for your responses. I'll have to work around it.