cancel
Showing results for 
Search instead for 
Did you mean: 

Wildcards for Backup Exec Command Line Applet

Xiazer
Level 3

Hello!

I am trying to write a script to take all jobs that are on hold, off of hold. I got it working for an individual job, but can't find any information on a wildcard for usage.

I am using this

bemcmd -o201 -v -c"BEServer" -j"JOBName"

That works,  (the names are obviously fillers) but I want to do something like

bemcmd -o201 -v -c"BEServer" -j*

But I get an error each time I use it.

Are there any workarounds, or a wildcard I don't know about? Thanks in advance.

 

-Josh.

4 REPLIES 4

CraigV
Moderator
Moderator
Partner    VIP    Accredited

Hi Josh,

 

Have you taken a look at the bemcmd.exe command line interface guide?

http://www.symantec.com/business/support/index?page=content&id=TECH126925

Thanks!

Xiazer
Level 3

Yes, I did read that, I couldn't find anything pertaining to a wild card. Especially with wildcards.

Ken_Putnam
Level 6

it's been a few releases since I played much with BEMCMD, but don't remember wildcards being supported

 

I think you will have to query for all jobs on hold, parse out the job names and submit one cmd line per job to do what you want

pkh
Moderator
Moderator
   VIP    Certified

1) Use the -o22 switch to generate the list of names on hold to a file

2) Use the -o201 -f<filename> to release the jobs.