Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running Erase Job from command line

Status
Not open for further replies.

frdba

Technical User
Mar 31, 2003
102
US
I am trying to automate erasing the tape before each backup. Ideally I want to kick off a bat file from a pre job within the backup to do this. My bat file contains the following:

"c:\Program Files\CA\BrightStor ARCserve Backup\ca_devmgr.exe" -erase 3 11 qz

If I run the bat file outside the job I receive the following error:

Command failed. User 'administrator@frpeda01' not validated in authentification server on host: frpeda01.

I don't see any parameters where I can pass the credentials so I thought I could specify them in the pre/post part of the backup job.

However, If I try to run the bat file from a pre job within the backup it writes to the log that it executes it, no errors, but when you check the tape it has not been erased.

Any ideas on how I can get this to work?

Thanks
 
Also, what I have noticed is that the bat file will run successfully as a post job. Obviously I don't want the tape erased right after the backup, but I find it curious that it runs fine as a post job but not a pre job.

??
 
Hi,
Under the Wizards menu you have something called Job Scheduler Wizard. Run that and select the ca_devmgr -erase from the drop down list. Submit your parameters and it should work just fine. You can set a weekly schedule to erase your tapes 30 minuter before the backup starts i.e.



I hope you find this post helpful.

Regards,
GSC
 
Thanks GSC for your response!

Yes, that is what I ended up doing and so far so good!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top