Forum Discussion

HAM_GG's avatar
HAM_GG
Level 2
10 years ago

Using BEMCLI for delete existing older backup sets

Hello,

i don't find a cmdlet for delete older existing backup sets from an Media Server.

From the UI, Backup and Restore, select a Server and Backup Sets. I select the needed Backup Sets and with right Mouse clic Delete. Easy

This is possible only for one or more Backup Sets but not for any Servers and any many old Month backup Set.

 

From bemcli, i want use :

Get-BEJob "$ServerName $BackupType" | Get-BEJobHistory | Where-Object {($_.StartTime -lt $a)} | ????????

I found : Remove-BEJobHistory but will only delete the history. What happens with the Backup Sets ?

 

Otherwise, is it possible to change, with bemcli, the Expiration Date ? So BackupExec will remove automatically this older BackupSet

 

Thanks for help.

Daniel

  • No. You cannot delete a backup set using BEMCLI
  • Dear Pkh,

    Thank you for your prompt reply

    Have a nice Day

    Tks

    Daniel

     

  • No. You cannot delete a backup set using BEMCLI