Use BEMCLI to duplicate backup sets to new drive
My old disk storage is dying and I acquired a new disk storage and added it to Backup Exec. I am trying to copy the backup sets from the old storage to the new storage, but given the number of files, this is tedious. How do I use BEMCLI to do this?1.3KViews0likes4CommentsExport database encryption key with BEMCLI
Hi there, I am trying to automatically export the database encryption key during a scripted setup of Backup Exec. I was able to install and configure everything else on the server using the BEMCLI Powershell interface. Unfortuantely I couldn't find the right Cmdlet for exporting the database encryption key. Is this supported in BEMCLI? If so - what would be the correct command? Thank you and all the best, Ebi1.1KViews0likes4CommentsTrying to get job history of a job when the verify is running as a separate job via powershell
I am running a powershell script from the post-job command. It calls powershell.exe and then uses -file and -noninteractive to run the script. The script calls get-bejobhistory on the currently running job to get it's completion status. The script runs on the media server, and is supposed to run after the verify, which is a separate job. The purpose is to re-run the job up to three times, then fail out. To get started I am just get the history of the job and saving it to a .CSV file. The problem is after the job runs regardless of status, I have a blank file, 0 bytes. When I run it from powershell it works perfectly. Obviusly when I run the script the job is not running. Is there a way to get this working? Here is the very simple script: $LastRun = Get-BEJobHistory -name "BAUERDB2 VIRTUAL SERVER BACKUP-differential" -FromStartTime $(get-date -uformat "%m/%d/%y") -FromLastJobRun $LastRun | export-csv -path C:\Users\public\Documents\BAUERDB2-Diff.csv -notypeinformation932Views0likes1CommentPowerShell Take Jobs Off Hold
I need to take a group of jobs off hold. I'm looking for a way to do this via PoSH script, but have not yet stumbled across a feature to do this. Do you have any suggestions on how to do this? I'm not sure how the jobs got put on hold. The Job Engine System Service stopped responding, don't know why.I would like to: 1) query which jobs have been suspended / superceded / are awaiting for the next Full Backup to run first. 2) if appropriate, reactivate the job Thanks much - Ray1.3KViews0likes2CommentsGet-BEBackupDefinition Times Out, Aggravating
When I launch Get-BEBackupDefinition19 times out of 20 it fails with a 'time out' error; this makes it difficult to modify Backup Jobs via PoSH. Can you help? To this point, every script I have found via Google on how to modify a backup job first needs output fromGet-BEBackupDefinition. Is there another PoSH method to modify backup jobs? Please, Please? If not, any idea whyGet-BEBackupDefinitiontimes out on me. I have been playing with it for two months and it has returned job definition less than 10 times. Because we have 70 backup definitions, I cannot wait for it to work. I really prefer to script wholesale modifications instead of do them by hand. I have tried to runGet-BEBackupDefinition: via BE Management Command Line Interface on the server (via RD Desktop); in a remote PoSH session in PoSH ISE from my workstation desktop (loading BEMCLI first); run it immediately after restarting the backup host server; made sure not to have the Backup Exec management application open anywhere at all. A 'timeout' error is usually either cannot connect, or the data set is too large to read within a preset period.Is part of the problem that our definition database is too big? I appreciate any help you can give. Thanks much. - Ray481Views0likes0CommentsBEMCLI Backup
All, is there a way of writnng a BEMCLI powershell script that will aloow you to backup multiple folders in different voumes from different servers into one backup job? i.e. server 1 has vol4 folder 5, Vol 8 folder 90, server 2 has vol1 folder 12, server 3 has vol2 folder 1 etc..1.1KViews0likes2CommentsBEMCLI
In the GUI you can backup a DFS file structure by making sure user defined shares is ticked. Is there a way you can get BEMCLI to see the DFS tree to backup or a UNC path, as everytime, i try to run a command with -path \\servername\share\folder\ it thinks the share is a volume when executing and fails. is it even possible via BEMCLI, as there is nothing on the help files or the good old internet.1.1KViews0likes2Comments