I am trying to automate the creation of jobs as we build new servers up. I am using a bemcmd script to create a job template and a job selection and then use these to create a job. The template is created, but it doesn't appear to be processing the whole script file as the eject media and overwrite settings are not being entered. Script is below
BK_METHOD=0//Full Backup
OPEN_FILES_METHOD=2//Backup with a lock
SINGLE_INSTANCE_FOR_NTFS=YES//Enable single instance storage
REMOTE_AGENT_PRIORITY=MEDIUM//Set the remote agent priority
OVERWRITE_JOB=YES//Overwrite the job if it already exists
APPEND=NO//Overwrite the tape
VERIFY=YES//Verify written data
COMPRESSION_TYPE=0//Use Hardware compression if available
EJECT_MEDIA=YES//Eject the tape upon job completion
SCHED_STARTTIME=01:00:00
SCHED_ENDTIME=05:59:00
DAYS=TUES,WED,THU,FRI,SAT//Run the job on Tues - Sat inclusive
Any help will be much appreciated