Forum Discussion

mike915's avatar
mike915
Level 4
13 years ago
Solved

Scheduling Erase Job in Backup Exec 2012

Is there a way to schedule an Erase Job to run in BE2012 like you could in BE2010?

  • I don't believe you can, but you can use the Windows Scheduler to schedule a BEMCLI command to do an erase, .e.g

    Get-BETapeDevice "<your tape device>" | Submit-BEEraseMediaJob -confirm:$false

    First read my article on how to prepare your Powershell environment for BEMCLI

    https://www-secure.symantec.com/connect/articles/preparing-your-powershell-environment-run-bemcli-and-scripts

    ====

    BTW, there should be no need to erase your media if you have set up your OPP correctly.  With a correctly set OPP, the media is overwriteable when it is needed.

  • choose "Erase media now".
     

    Not quite the same as scheduling an erase job, as requested by the OP, is it??

  • I don't believe you can, but you can use the Windows Scheduler to schedule a BEMCLI command to do an erase, .e.g

    Get-BETapeDevice "<your tape device>" | Submit-BEEraseMediaJob -confirm:$false

    First read my article on how to prepare your Powershell environment for BEMCLI

    https://www-secure.symantec.com/connect/articles/preparing-your-powershell-environment-run-bemcli-and-scripts

    ====

    BTW, there should be no need to erase your media if you have set up your OPP correctly.  With a correctly set OPP, the media is overwriteable when it is needed.

  • You can indeed schedule an erase job from the console.

    Go to "Storage", double-click "Slots" for your library or tape device. Find the media you would like to erase, right-click it and choose "Erase media now". Then choose either regular erase or long erase.

    While I do agree the a correct OPP setup is key, you may still occasionally get corrupt media requiring an erase.

  • Well, excuse me for trying to help.

    I may have misunderstood the original request, and the OP may have requested what I described. Regardless, lose the attitude and cheer up.