05-31-2012 12:13 AM
Hi there,
We have 15 Backup Exec servers at remote sites. No IT staff on remote sites and we are depended on production staff to swap backup tapes. Sometimes they forget to insert the backup tape. As a solution, we have implemented the inventory job which runs in the middle of the day to check if there is tape in the drive or not and sends us the job log. We check those emails and calls staff if required to inser the backup tape. This way we keep our backups healthy and prevent them to fail.
I have upgraded BE 2012 on one of the server and found there is no option to include job log with inventory. It can only send email to notify that inventory has finished. That means more work for our IT support staff. We need to login to 15 different servers and find out whether backup tape has been inserted or not which is not feasible everyday. I am going to stop upgrades until Symantec fix this issue.
Anyone else having same issue or does anyone know the solution?
Thanks
Solved! Go to Solution.
08-05-2012 06:29 PM
I have already created powershell script which sends an email with the tape label. As I said before I don't see it as solution but it is work around. I don't see why Symantec needs to remove that functionality. Even we can get backups running with scripts so what is the need of Symantec backup exec. The idea is to buy third party software is to make admin's life easy by having extra options, easy to run and understand and stability.
I hope you understand my view.
Thanks
05-31-2012 12:33 AM
...I don't remember seeing that as an option in BE.
However, with 15 servers, the CASO option might be worthwhile investigating. This is going to give you a single-pane from which you can monitor your environment.
No reason to log on to 15 different servers, when you can browse them all from the CASO.
Check the links below for further information:
http://www.symantec.com/business/support/index?page=content&id=HOWTO74432 (Best Practices)
http://www.symantec.com/business/support/index?page=content&id=TECH178278
I've used it for the past 4 years and it works very well.
Thanks!
05-31-2012 12:37 AM
Yes I am looking for CASO this year but unfortunately I cannot find trial option. Without trialling software, I don't want to buy it. I will talk to Symantec if I can get the trial option somehow.
Thanks
05-31-2012 12:44 AM
...if you run through the licensing setup again (where you'd import your *.slf files) you will see the option to install the CASO as a trial.
HOWEVER...you can't invoke the trial after licensing a server. Read the TN below:
http://www.symantec.com/business/support/index?page=content&id=TECH179956
My suggestion would be as follows:
1. Either install a spare server (if you have 1) with Wnidows Server 2008 R2 and BE 2012. Don't license anything so that it runs in a trial.
2. INvoke the trial license of BE 2012's Enterprise Option (which includes CASO).
3. Add your currently upgraded BE 2012 server to this CASO and check it out.
You can read up more about CASO below:
http://www.symantec.com/business/support/index?page=content&id=HOWTO12279
http://www.symantec.com/business/support/index?page=content&id=HOWTO12297
http://www.symantec.com/business/support/index?page=content&id=HOWTO11929
http://www.symantec.com/business/support/index?page=content&id=TECH43297
http://www.symantec.com/business/support/index?page=content&id=HOWTO11931
http://www.symantec.com/business/support/index?page=content&id=TECH60559
The third TN is critical...where you store your data/catalogs has a big impact on things.
06-06-2012 05:38 PM
Thanks for your reply Craig. I would say this is workaround and not solution. We would like the functionlity of attaching job log back in inventory.I can attach job log in backup job so why not in inventory?
With emails it gives flexibility like checking emails on the fly on mobile and find out if the tape has been inserted or not without being in office but with your work around, I need to login to server all the time which will add work for support staff. Also with the time zone difference in my states and also country (we are spread across few countries) meaning we need to login few times to server.
06-08-2012 12:29 AM
I don't investigate this so much but wonder either or not, it wouldn't be possible to do something by script using "Submit-BEInventoryJob" powershell command.
May be it should be possible to grab results then send them by mail?
Regards
06-08-2012 01:46 AM
You can with some Powershell scripting.
07-17-2012 06:53 AM
I too had noticed this omission of feathure. Yes, very annoying that you now have to look at the log on the server. I used to use it as a reminder to staff to chage tapes and also for me to see if the correct days tape had been changed.
Surely it cant be too much to get this amend back into the core program. I have no wish to start having to use powershell to get back something like this.
Regards
Clifford
08-05-2012 06:29 PM
I have already created powershell script which sends an email with the tape label. As I said before I don't see it as solution but it is work around. I don't see why Symantec needs to remove that functionality. Even we can get backups running with scripts so what is the need of Symantec backup exec. The idea is to buy third party software is to make admin's life easy by having extra options, easy to run and understand and stability.
I hope you understand my view.
Thanks
08-06-2012 02:31 AM
Hi Bsingh2001
Glad to hear you gotten a solution. I agree with your comments, I might even register a call to ask the possibility to replace the feature.
Would you be willing to share your powershell script code? Save having to reinvent the wheel from scratch.
Thanks
Clifford
08-06-2012 06:25 PM
Hi Clifford,
Here is the script. You need to create batch file which will be scheduled to run on your preferred time.
BackupInventory.Bat
cd/
cd windows\system32\WindowsPowerShell\v1.0
powershell.exe -command "& 'C:\PATHOFTHEFOLDER\Backup_Inventory.ps1' "
exit
--------------------------
Here is the Backup_Inventory.ps1 (powershell script). You can change the color in background etc and can do bit more formatting if you want to make it more fancy.
# Import the Backup Exec 2012 PowerShell Module
Import-Module BEMCLI
# Inventory the backup tapes in the tape drives:
Get-BETapeDriveDevice |
Submit-BEInventoryJob |
select Name, JobType, Schedule, Storage |
ft –auto
Start-Sleep -s 60
$a = "<style>"
$a = $a + "BODY{background-color:peachpuff;}"
$a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
$a = $a + "TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:thistle}"
$a = $a + "TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:PaleGoldenrod}"
$a = $a + "</style>"
# Once the inventory completes, retrieve the name of the backup tape in each tape drive:
Get-BETapeDriveDevice | ConvertTo-HTML -head $a -body "<H2> Symantec Backup Exec Inventory Report</H2>" -Name, Media, Status, Device > "C:\PATHToCreateReport\BackupInventory\report.html"
Send-MailMessage -To "Your Email Address" -From "From Email Address" -Subject "Backup Inventory Report" -SmtpServer "smtp server name or IPaddress" -Body "Please find the attached Inventory Report" -Attachments "C:\PathToCreateReport\BackupInventory\report.html"
Hope this helps. I will be still interested if Symantec puts this job log back in Inventory.
08-06-2012 06:58 PM
Just a couple of comments.
1) you don't have to use sleep in your script. You can use Wait-BEJob to wait for your job to complete, so your script can do this.
Get-BETapeDriveDevice | Submit-BEInventoryJob | Wait-BEJob.
2) After you get your report by doing this
Get-BETapeDriveDevice | ConvertTo-HTML -head $a -body "<H2> Symantec Backup Exec Inventory Report</H2>" -Name, Media, Status, Device
you can either put this report straight into the body of the e-mail or convert it straight-away into an attachment without saving it to a file.
See my article below to see how to do both method.
https://www-secure.symantec.com/connect/articles/how-send-bemcli-results-e-mails
If you want to attach the joblogs, do the following
$jobhistory = Get-BETapeDriveDevice | Submit-BEInventoryJob | Wait-BEJob.
then follow the script in my article to get the joblogs and attach them to your mail.
08-06-2012 11:11 PM
...and you might also want to add this to the Blogs section...
Thanks!
08-23-2012 08:51 AM
Is the feature to have the Job log attached to the Inventory emails going to be re-added to 2012?