Backup exec
![backup exec backup exec](https://faq.mypage.otsuka-shokai.co.jp/euf/assets/answer/image/228554_228554-2.png)
The script for this blog can be seen and downloaded from the Script Repository. It’s something that can be used to manage almost everything in your datacenter from a backup product (as shown in this blog) to a storage area network. Windows PowerShell is quickly becoming an essential skill for IT Pros and a required product feature for IT vendors.
Backup exec download#
Want to learn more about the Symantec Backup Exec BEMCLI PowerShell module? Download the Help file:īackup Exec 2012 Management Command Line Interface (BEMCLI) Documentation Symantec Backup Exec 2012 Adds PowerShell Support! If you experience any issues getting the BEMCLI PowerShell module up and running, see the following blog that I wrote about a month ago it covers a few issues I ran into: If these backup jobs were being backed up to the tapes drives, the storage column would contain the tape drive name.Įject the backup tape from each of the tape drives: I’ve included the jobs that have a status of “Ready”, which are waiting for a storage (backup) device to become available.
![backup exec backup exec](https://www.hitachi.co.jp/Prod/comp/soft1/jp1/product/jp1/list/be/img/be_02.png)
The Get-BEActiveJobDetail cmdlet returns a list of the backup jobs that are currently active (running), but I prefer to use the Get-BEJob cmdlet for this. Get-BEJob -Name (Get-BEJobHistory -JobStatus Error -FromStartTime (Get-Date).AddHours(-12) | Re-run the backup jobs that failed due to a status of error in the past 12 hours: Help Get-BEJobHistory –Parameter JobStatus All of the valid values for parameters such as the JobStatus parameter that I used in the previous command are listed in the Help: The Help that is provided with the cmdlets in this module is very thorough. 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 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.
Backup exec professional#
He has over eighteen years of professional experience providing enterprise computing solutions for educational, financial, healthcare, and manufacturing customers.
Backup exec 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.