Backup Exec 2014 BEMCLI - Exception returning data
Hi guys, I am developing some scripts in Powershell and I found a problem using BEMCLI. I have installed a new Backup Exec 2014 from scratch (first was an upgrade from 2012 to 2014). I execute the following code in Powershell Import-Module BEMCLI $jobs = Get-BEJob | Where-Object {$_.JobType -eq "Backup"} Then when I check the information, the atribute "Taskname" returns this Exception getting "TaskName": "The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter BackupExec.Management.Services:GetSolutionResult. The InnerException message was 'Element 'http://schemas.datacontract.org/2004/07/BackupExec.Management.Objects:TaskDefinition' contains data from a type that maps to the name 'http://schemas.datacontract.org/2004/07/BackupExec.Management.Objects:BackupCustomTaskDefinition'. The deserializer has no knowledge of any type that maps to this name. Consider using a DataContractResolver or add the type corresponding to 'BackupCustomTaskDefinition' to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer.'. Please see InnerException for more details." I a second server following steps I received the correct data insise D for daily jobs W for week jobs I dont understand really the problem. Where the code works I am running W.S 2012 R2 and where it fails is W.S 2008 R2Solved645Views1like1CommentBEMCLI / Powershell /Backup Exec 2014 / Submit-BEFileSystemRestoreJob
My fileserve backup selectionsare done using \\SERVER\ShareName Is there a way restore using BEMCPLILI with Pointing to the share as a Path? As of Now, only wat i found to do a restore is this way (But it means I must change all my jobs) $File=(Get-Childitem -path "\\Server\D$\Folder\Folder" ` | Get-Random -Count 1).FullName.ToUpper().Replace("\\SERVER\D$","D:") Get-BEJob -Name *00058* ` | Get-BEJobHistory -FromLastJobRun ` | Submit-BEFileSystemRestoreJob $file ` -RedirectToPath D:\RestoreTestJobsFolder Looking for a way to restore using a "share path instead" if possible (This does not work) $File=(Get-Childitem -path "\\Server\Share\Folder\Folder" ` | Get-Random -Count 1).FullName Get-BEJob -Name *00058* ` | Get-BEJobHistory -FromLastJobRun ` | Submit-BEFileSystemRestoreJob $file ` -RedirectToPath D:\RestoreTestJobsFolder Thank you for your help!513Views1like0CommentsBackupExec 2012 BemCLI - Get "Job Cancellation option" status
Hello everybody, I'm actually writing a monitoring script for Backup Exec 2012 and I stuck with the problem that I can't find an option in BEMCLI to get the setting value of the job option "Cancel the job if it is still running * hour after its scheduled start time". This setting can be found in the GUI under Backup and Restore -> right click on the Server -> Edit Backups -> at the right-hand side "Backup" select Edit -> Schedule -> option Recurrence -> toggle the plan options -> in the fieldset "Options" there can be found the checkbox for the option mentioned above. I also attached to this post a screenshot for better explaination. I already tried to get the setting value with the following commands but couldn't find them: Get-BEJob-Name "%BACKUPNAME%" | select * Get-BEBackupDefinition -Name "%BACKUPNAME%" | select * Thanks in advance. Kind regards.1.6KViews1like8CommentsNet to set symantec backexec 2012 for sap/oracle online backups and archives
Hi I have just installed sap crm on windows 2008 with oracle 11. We use to do normal br backups with windows 2003 with the windows NT backup. Windows 2008 dont have this anymore so we have bought a symantec 2012 with backup exec. I need to set it up. Its a trial version and once we get in workign will buy the agents fro oracle /sap and windows. I know thatit has to install backint into the exe directory and also the biparam file .. but cant find this anywhere.. The Onsite operator installed it andI am not sure if it is is installed correctly.. I am the Sap basis consultant tasked with gettign the backps working.. Can you help Thanks Morga Moodaley1.3KViews1like11CommentsBackup "Backup Exec" database manually or using beutiluty
I'm running BE 12.0 and was able to manually backup the BEDB_DAT.MDF via the following two methods: METHOD 1: 1) Open CMD prompt 2) Type: OSQL -L (enter) This will provide a list of SQL instances 3) Type: OSQL -S [instancename] -E -n -Q "BACKUP DATABASE bedb TO DISK = 'c:\symantec\bedb_backup.dat' WITH INIT, SKIP" METHOD 2: 1. Launch BEUtility at C:\program files\symantec\backup exec\beutility.exe 2. Click "All Media Servers" and locatethe media server in question 3. Single-click the media server, in the right pane 4. In the left pane, scroll down to "Database Tasks" 5. Click "Check Database Consistency", then "Compact Database", then "Dump Database" 6. In the same folder as BackupExec's bedb.mdf, you should find the BEDB.BAK730Views1like2Comments