09-23-2009 03:00 AM
bemcmd -cTapeServer.local -o2 -jBATCH89897 -dTapeServer.local -prHigh -sfc:\BackupDrop\Batch_001\ -mp0 -r -w
Could not connect to the specified server. RETURN VALUE: -1
Is there any way to get a more clearer error, e.g. user not allowed etc.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Then when i try it on the actual box itself (with the -c removed)
bemcmd -o2 -jBATCH89897 -dTapeServer.local -prHigh -sfc:\BackupDrop\Batch_001\ -mp0 -r -w ORbemcmd -o2 -j BATCH89897 -d TapeServer.local -prHigh -sf c:\BackupDrop\Batch_001\ -mp0 -r -wi get:
ERROR: Missing or invalid command line switch '-j'. RETURN VALUE: -1
is there something wrong with the formatting of the jobname here?? i.e. -j BATCH00988
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I've also tried using a script file.
bemcmd.exe -o90 -fBatchJob.txt
BatchJob.txt
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[General]
JOB_TYPE=Backup
JOB_PRIORITY=HIGHEST
JOB_NAME=batch098979
SERVER=TapeServer
[Backup_Options]
BK_SET_NAME=batch098979
BK_METHOD=9
DEVICE_NAME=QuantumTape
PRESERVE_TREE_ON_ARCHIVE=1
[Miscellaneous]
PRINT_LOG_FILE=1
RUN_IMMEDIATE=1
[Selections]
PATH1=C:\BackupDrop\Batch_001\*.*
INCLUDE1=1
SUBDIRS1=1
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
but this returns
Any help would be really appreciated!!! :(