02-24-2015 10:37 PM
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
Solved! Go to Solution.
03-10-2015 01:55 AM
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.
02-24-2015 10:52 PM
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.
02-24-2015 11:10 PM
Thanks i will check and update.
02-24-2015 11:46 PM
02-25-2015 12:08 AM
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
02-25-2015 12:18 AM
02-25-2015 01:14 AM
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
02-25-2015 06:47 PM
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.
02-26-2015 01:48 AM
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
02-26-2015 03:54 AM
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
02-26-2015 06:34 AM
@Vjware:These articles are valid for backup exec 2010 r3 sp4 version?
02-26-2015 06:42 AM
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
02-26-2015 07:43 AM
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
03-10-2015 01:48 AM
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
03-10-2015 01:55 AM
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.
03-10-2015 02:27 AM
Thanks for your valuable guidance