Get-BEJobHistory -JobStatus Error -FromStartTime (Get-Date).AddHours(-12) | Get a list of the backup jobs that failed with a status of error in the past 12 hours: The Start-BEJob cmdlet doesn’t support wildcard characters, but you can use them with the Get-BEJob cmdlet and then pipe that cmdlet to Start-BEJob. The following command starts both of the overwrite jobs that I’ve defined, which overwrites the backup tape in each tape drive. Perform a quick erase on the backup tape in each of the tape drives:
This cmdlet doesn’t return the media (tape) name by default. When the inventory completes, use the Get-BETapeDriveDevice cmdlet to retrieve the name of the backup tape in each tape drive.
Select Name, JobType, Schedule, Storage | Run an inventory to discover what backup tapes are in the tape drives: By default, many of these cmdlets return a lot of items, which makes them output a list instead of a table. You will see me pipe the output of several commands to the Select-Object cmdlet and others to the Out-Null cmdlet to reduce the number of items that are returned or to eliminate the output all together.
BACKUP EXEC TAPE DRIVERS HOW TO
I am going to walk you through how to perform some basic Backup Exec tasks with Windows PowerShell to give you an idea about how easy it is to manage without a GUI. This blog is not meant to be a deep dive into Windows PowerShell or Backup Exec. Twitter: those of us who use Symantec Backup Exec in our datacenters, there has recently been a revolutionary breakthrough: the 2012 version adds Windows PowerShell support via a BEMCLI PowerShell module. He has over eighteen years of professional experience providing enterprise computing solutions for educational, financial, healthcare, and manufacturing customers.
BACKUP EXEC TAPE DRIVERS PRO
Robbins is an MCITP | Windows PowerShell enthusiast | IT Pro | senior systems engineer who has worked on Windows Server, Hyper-V, SQL Server, Exchange Server, SharePoint, Active Directory, and EqualLogic storage area networks. In this blog, Mike illustrates Windows PowerShell techniques for working with Symantec’s Backup Exec product. Today we have a new guest blogger, Mike F. Microsoft Scripting Guy, Ed Wilson, is here. Robbins, shows how to use Windows PowerShell to work with Backup Exec.