cancel
Showing results for 
Search instead for 
Did you mean: 

BEMCMD:Will support Kindly suggest

Automation2015
Level 4
Partner

I Am using backup exec 2010 R3 sp4 version.And i am planning to automate the task for restarting of failed backups via script.Is it Possible using BEMCMD or with use of  other scripting laungaugae might be pearl or powershell.

Kindly suggest.

Regards

Automation

 

1 ACCEPTED SOLUTION

Accepted Solutions

VJware
Level 6
Employee Accredited Certified

While setting up the error handling rule, you can specify to retry the job and few other options as well. So no need to configure in Task Scheduler.

This is a core feature of BE and no additional licenses are required.

View solution in original post

15 REPLIES 15

VJware
Level 6
Employee Accredited Certified

Using error-handling rules and its switches (specifically -o311 and -mr), you can use BEMCMD to retry failed jobs. Have a look @ the section titled "Operations and switches for error-handling rules" of the BEMCMD guide.

Automation2015
Level 4
Partner

Thanks i will check and update.

pkh
Moderator
Moderator
   VIP    Certified
I would suggest that you do not automate job restarts. Check what causes the error, correct the error and then restart the job. Automating job restarts may result in further failures of the cause is not corrected and this would be a waste of time and resources

Automation2015
Level 4
Partner

I am planning for only 1 time restart as it could help us in network error failure.Due to unavailibilty of resources in night shift.

I saw ur post on spice works.And its really great.Just wanted to know can this be done from BEMCMD or anyother script Ex:Perl or Powershell.

I still need to go through the switches mentioned above.

 

Regards

Automation

pkh
Moderator
Moderator
   VIP    Certified
Note that when you restart a job in BE 2010, the job starts from the beginning

Automation2015
Level 4
Partner

Is It same from GUI Also?Then its ok.Do you have any parameter or a small code which can do this task for restart of failed job which i could schedule through scheduler and test .from where i could build some script?

also wanted to know can this be done through BEMCMD OR anyother scripting launguage ex:perl or powerscript?

Your help or suggestion to achieve this task and how to proceed would be a great help.

Regards

Automation

 

pkh
Moderator
Moderator
   VIP    Certified

Yes. This applies to either the GUI or BEMCMD.

To restart a job, it has to be done using BEMCMD.  You can just use the -o1 switch to start the job or the -o311 switch to retry the job.  If you want to use the -o311 switch then you have to first set up the error handling rule in the console.

BEMCMD is just plain Windows commandline.  There is no Perl or Powershell involved.

Automation2015
Level 4
Partner

Thanks for the update.So i could schedule that switch through windows scheduler.

Can u guide me how to set up the error handling rule in console.Or how to update this setting.Actually i am a new to Backup exec.

Regards

Automation

VJware
Level 6
Employee Accredited Certified

Have a look @ these KBs-

http://www.symantec.com/business/support/index?page=content&id=HOWTO22425#id-SF700173039

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

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

Automation2015
Level 4
Partner

@Vjware:These articles are valid for backup exec 2010 r3 sp4 version?

 

 

 

Automation2015
Level 4
Partner

Hi,

 

@Vjware:I just want to confirm to be specific is this article also valid for backup exec 2010 r3 sp4

 

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

 

Kindly confirm.

Regards

Automation

VJware
Level 6
Employee Accredited Certified

Yes. Only the first step is different since the navigation is different in BE 2010. You can use this KB instead then - http://www.symantec.com/business/support/index?page=content&id=HOWTO22424#v11996662

Automation2015
Level 4
Partner

Hi

@Vjware:We are now following the above process to establish the above mentioned task.Just want to iterate the above mentioned task:

 

1)First i need to setup error handling rule.

2)I need to configure switch in scheduler.(Is this step required or it will automatically attempt the restart after the handling rule is created.

 

And for these there is no extra license required.

 

Regards

Automation

VJware
Level 6
Employee Accredited Certified

While setting up the error handling rule, you can specify to retry the job and few other options as well. So no need to configure in Task Scheduler.

This is a core feature of BE and no additional licenses are required.

Automation2015
Level 4
Partner

Thanks for your valuable guidance